Bls12381Signature
type Bls12381Signature
A bls12381 min-sig 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 Bls12381Signature struct {
// contains filtered or unexported fields
}
func Bls12381SignatureFromBcs
func Bls12381SignatureFromBcs(bcs []byte) (*Bls12381Signature, error)
Create this type from BCS encoded bytes.
func Bls12381SignatureFromBytes
func Bls12381SignatureFromBytes(bytes []byte) (*Bls12381Signature, error)
func Bls12381SignatureFromJson
func Bls12381SignatureFromJson(json string) (*Bls12381Signature, error)
Create this type from a JSON encoded string.
func Bls12381SignatureFromStr
func Bls12381SignatureFromStr(s string) (*Bls12381Signature, error)
func Bls12381SignatureRandom
func Bls12381SignatureRandom() *Bls12381Signature
func LiftFromExternalBls12381Signature
func LiftFromExternalBls12381Signature(handle uint64) *Bls12381Signature
func (*Bls12381Signature) Destroy
func (object *Bls12381Signature) Destroy()
func (*Bls12381Signature) Eq
func (_self *Bls12381Signature) Eq(other *Bls12381Signature) bool
func (*Bls12381Signature) Hash
func (_self *Bls12381Signature) Hash() uint64
func (*Bls12381Signature) Ne
func (_self *Bls12381Signature) Ne(other *Bls12381Signature) bool
func (*Bls12381Signature) ToBcs
func (_self *Bls12381Signature) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*Bls12381Signature) ToBytes
func (_self *Bls12381Signature) ToBytes() []byte
func (*Bls12381Signature) ToDisplayString
func (_self *Bls12381Signature) 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 (*Bls12381Signature) ToJson
func (_self *Bls12381Signature) ToJson() (string, error)
Convert this type to a JSON encoded string.