Secp256k1Signature
type Secp256k1Signature
A secp256k1 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 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 a 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) ToBcs
func (_self *Secp256k1Signature) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*Secp256k1Signature) ToBytes
func (_self *Secp256k1Signature) ToBytes() []byte
func (*Secp256k1Signature) ToDisplayString
func (_self *Secp256k1Signature) 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 (*Secp256k1Signature) ToJson
func (_self *Secp256k1Signature) ToJson() (string, error)
Convert this type to a JSON encoded string.