Skip to main content

Secp256r1Signature

type Secp256r1Signature​

A secp256r1 signature.

BCS​

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

```text secp256r1-signature = 64OCTET ```

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

func LiftFromExternalSecp256r1Signature​

func LiftFromExternalSecp256r1Signature(handle uint64) *Secp256r1Signature

func Secp256r1SignatureFromBcs​

func Secp256r1SignatureFromBcs(bcs []byte) (*Secp256r1Signature, error)

Create this type from BCS encoded bytes.

func Secp256r1SignatureFromBytes​

func Secp256r1SignatureFromBytes(bytes []byte) (*Secp256r1Signature, error)

func Secp256r1SignatureFromJson​

func Secp256r1SignatureFromJson(json string) (*Secp256r1Signature, error)

Create this type from JSON encoded string.

func Secp256r1SignatureFromStr​

func Secp256r1SignatureFromStr(s string) (*Secp256r1Signature, error)

func Secp256r1SignatureRandom​

func Secp256r1SignatureRandom() *Secp256r1Signature

func (*Secp256r1Signature) Destroy​

func (object *Secp256r1Signature) Destroy()

func (*Secp256r1Signature) Eq​

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

func (*Secp256r1Signature) Hash​

func (_self *Secp256r1Signature) Hash() uint64

func (*Secp256r1Signature) Ne​

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

func (*Secp256r1Signature) ToBytes​

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