Skip to main content

Secp256k1Signature

type Secp256k1Signature​

A secp256k1 signature.

BCS​

The BCS serialized form for this type is defined by the following ABNF:

```text secp256k1-signature = 64OCTET ```

type Secp256k1Signature struct {
// contains filtered or unexported fields
}

func LiftFromExternalSecp256k1Signature​

func LiftFromExternalSecp256k1Signature(handle uint64) *Secp256k1Signature

func Secp256k1SignatureFromBcs​

func Secp256k1SignatureFromBcs(bcs []byte) (*Secp256k1Signature, error)

Create this type from BCS encoded bytes.

func Secp256k1SignatureFromBytes​

func Secp256k1SignatureFromBytes(bytes []byte) (*Secp256k1Signature, error)

func Secp256k1SignatureFromJson​

func Secp256k1SignatureFromJson(json string) (*Secp256k1Signature, error)

Create this type from JSON encoded string.

func Secp256k1SignatureFromStr​

func Secp256k1SignatureFromStr(s string) (*Secp256k1Signature, error)

func Secp256k1SignatureRandom​

func Secp256k1SignatureRandom() *Secp256k1Signature

func (*Secp256k1Signature) Destroy​

func (object *Secp256k1Signature) Destroy()

func (*Secp256k1Signature) Eq​

func (_self *Secp256k1Signature) Eq(other *Secp256k1Signature) bool

func (*Secp256k1Signature) Hash​

func (_self *Secp256k1Signature) Hash() uint64

func (*Secp256k1Signature) Ne​

func (_self *Secp256k1Signature) Ne(other *Secp256k1Signature) bool

func (*Secp256k1Signature) ToBytes​

func (_self *Secp256k1Signature) ToBytes() []byte