Ed25519Signature
type Ed25519Signature
An ed25519 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 Ed25519Signature struct {
// contains filtered or unexported fields
}
func Ed25519SignatureFromBcs
func Ed25519SignatureFromBcs(bcs []byte) (*Ed25519Signature, error)
Create this type from BCS encoded bytes.
func Ed25519SignatureFromBytes
func Ed25519SignatureFromBytes(bytes []byte) (*Ed25519Signature, error)
func Ed25519SignatureFromJson
func Ed25519SignatureFromJson(json string) (*Ed25519Signature, error)
Create this type from a JSON encoded string.
func Ed25519SignatureFromStr
func Ed25519SignatureFromStr(s string) (*Ed25519Signature, error)
func Ed25519SignatureRandom
func Ed25519SignatureRandom() *Ed25519Signature
func LiftFromExternalEd25519Signature
func LiftFromExternalEd25519Signature(handle uint64) *Ed25519Signature
func (*Ed25519Signature) Destroy
func (object *Ed25519Signature) Destroy()
func (*Ed25519Signature) Eq
func (_self *Ed25519Signature) Eq(other *Ed25519Signature) bool
func (*Ed25519Signature) Hash
func (_self *Ed25519Signature) Hash() uint64
func (*Ed25519Signature) Ne
func (_self *Ed25519Signature) Ne(other *Ed25519Signature) bool
func (*Ed25519Signature) ToBcs
func (_self *Ed25519Signature) ToBcs() ([]byte, error)
Convert this type to BCS encoded bytes.
func (*Ed25519Signature) ToBytes
func (_self *Ed25519Signature) ToBytes() []byte
func (*Ed25519Signature) ToDisplayString
func (_self *Ed25519Signature) 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 (*Ed25519Signature) ToJson
func (_self *Ed25519Signature) ToJson() (string, error)
Convert this type to a JSON encoded string.