signing

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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) SignTx

func (op *CreateSignOperations) SignTx(ibmAccount, sendingAccount, receivingAccount, settlementAccountName string, seqNum uint64, dbData *sendmodel.SignData, memoHash xdr.Memo) (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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL