Secp256r1Signature
type Secp256r1Signature
A secp256r1 signature.
BCS
The BCS serialized form of this type is specified in [`bcs-schema.abnf`](https://github.com/iotaledger/iota-rust-sdk/blob/develop/crates/iota-sdk-types/bcs-schema.abnf\).
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 a 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) ToBcs
func (_self *Secp256r1Signature) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*Secp256r1Signature) ToBytes
func (_self *Secp256r1Signature) ToBytes() []byte
func (*Secp256r1Signature) ToDisplayString
func (_self *Secp256r1Signature) ToDisplayString() string
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
func (*Secp256r1Signature) ToJson
func (_self *Secp256r1Signature) ToJson() (string, error)
Convert this type to a JSON encoded string.