Documentation ¶
Index ¶
- Variables
- type CreateSignOperations
- func (op *CreateSignOperations) SignPayload(data []byte, accountName string) ([]byte, error)
- func (op *CreateSignOperations) SignPayloadByMasterAccount(data []byte) ([]byte, error)
- func (op *CreateSignOperations) SignPayloadByMasterAccountLocally(xml string) (string, error)
- func (op *CreateSignOperations) SignTx(ibmAccount, sendingAccount, receivingAccount, settlementAccountName string, ...) (string, error)
- func (op *CreateSignOperations) Signing(tx *build.TransactionBuilder, settlementAccountName string) (string, error)
- func (op *CreateSignOperations) VerifyPayload(data, signature []byte, publicKey string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("sign-handler")
Functions ¶
This section is empty.
Types ¶
type CreateSignOperations ¶
type CreateSignOperations struct { CryptoServiceClient crypto_client.RestCryptoServiceClient // contains filtered or unexported fields }
func InitiateSignOperations ¶
func InitiateSignOperations(pr string) (op CreateSignOperations)
func (*CreateSignOperations) SignPayload ¶
func (op *CreateSignOperations) SignPayload(data []byte, accountName string) ([]byte, error)
func (*CreateSignOperations) SignPayloadByMasterAccount ¶
func (op *CreateSignOperations) SignPayloadByMasterAccount(data []byte) ([]byte, error)
func (*CreateSignOperations) SignPayloadByMasterAccountLocally ¶
func (op *CreateSignOperations) SignPayloadByMasterAccountLocally(xml string) (string, error)
func (*CreateSignOperations) Signing ¶
func (op *CreateSignOperations) Signing(tx *build.TransactionBuilder, settlementAccountName string) (string, error)
func (*CreateSignOperations) VerifyPayload ¶
func (op *CreateSignOperations) VerifyPayload(data, signature []byte, publicKey string) bool
Click to show internal directories.
Click to hide internal directories.