Package | Description |
---|---|
org.bitcoin.protocols.payments | |
org.bitcoinj.protocols.payments |
The BIP70 payment protocol wraps Bitcoin transactions and adds various useful features like memos, refund addresses
and authentication.
|
Modifier and Type | Field and Description |
---|---|
static com.google.protobuf.Parser<Protos.PaymentRequest> |
Protos.PaymentRequest.PARSER |
Modifier and Type | Method and Description |
---|---|
Protos.PaymentRequest |
Protos.PaymentRequest.Builder.build() |
Protos.PaymentRequest |
Protos.PaymentRequest.Builder.buildPartial() |
static Protos.PaymentRequest |
Protos.PaymentRequest.getDefaultInstance() |
Protos.PaymentRequest |
Protos.PaymentRequest.getDefaultInstanceForType() |
Protos.PaymentRequest |
Protos.PaymentRequest.Builder.getDefaultInstanceForType() |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseDelimitedFrom(InputStream input) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(byte[] data) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(com.google.protobuf.ByteString data) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(InputStream input) |
static Protos.PaymentRequest |
Protos.PaymentRequest.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Parser<Protos.PaymentRequest> |
Protos.PaymentRequest.getParserForType() |
Modifier and Type | Method and Description |
---|---|
Protos.PaymentRequest.Builder |
Protos.PaymentRequest.Builder.mergeFrom(Protos.PaymentRequest other) |
static Protos.PaymentRequest.Builder |
Protos.PaymentRequest.newBuilder(Protos.PaymentRequest prototype) |
Modifier and Type | Method and Description |
---|---|
Protos.PaymentRequest |
PaymentSession.getPaymentRequest()
Returns the protobuf that this object was instantiated with.
|
Modifier and Type | Method and Description |
---|---|
static PaymentSession |
PaymentProtocol.parsePaymentRequest(Protos.PaymentRequest paymentRequest)
Parse a payment request.
|
static PaymentProtocol.PkiVerificationData |
PaymentProtocol.verifyPaymentRequestPki(Protos.PaymentRequest paymentRequest,
KeyStore trustStore)
Uses the provided PKI method to find the corresponding public key and verify the provided signature.
|
Constructor and Description |
---|
PaymentSession(Protos.PaymentRequest request)
Creates a PaymentSession from the provided
Protos.PaymentRequest . |
PaymentSession(Protos.PaymentRequest request,
boolean verifyPki)
Creates a PaymentSession from the provided
Protos.PaymentRequest . |
PaymentSession(Protos.PaymentRequest request,
boolean verifyPki,
TrustStoreLoader trustStoreLoader)
Creates a PaymentSession from the provided
Protos.PaymentRequest . |
Copyright © 2016. All rights reserved.