Documentation ¶
Index ¶
- type Identity
- func (i *Identity) GetAddress() string
- func (i *Identity) GetIdentifier() uuid.UUID
- func (i *Identity) GetKeypair() keypair.KeyPair
- func (i *Identity) GetPrivateKey() []byte
- func (i *Identity) GetPublicKey() []byte
- func (i *Identity) Sign(data []byte) []byte
- func (i *Identity) ToBytes() ([]byte, error)
- func (i *Identity) Verify(data []byte, signature []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
func (*Identity) GetAddress ¶
func (*Identity) GetIdentifier ¶
func (*Identity) GetKeypair ¶
func (*Identity) GetPrivateKey ¶
func (*Identity) GetPublicKey ¶
Click to show internal directories.
Click to hide internal directories.