Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PaymentKeyPair ¶
type PaymentKeyPair struct { VerificationKey VerificationKey SigningKey SigningKey }
func PaymentKeyPairGenerate ¶
func PaymentKeyPairGenerate() PaymentKeyPair
type PaymentSigningKey ¶
type PaymentSigningKey SigningKey
type PaymentVerificationKey ¶
type PaymentVerificationKey VerificationKey
type SigningKey ¶
type SigningKey struct {
Payload []byte
}
func (SigningKey) Sign ¶
func (sk SigningKey) Sign(data []byte) []byte
type StakeSigningKey ¶
type StakeSigningKey SigningKey
type StakeVerificationKey ¶
type StakeVerificationKey VerificationKey
type VerificationKey ¶
type VerificationKey struct {
Payload []byte
}
func VerificationKeyFromCbor ¶
func VerificationKeyFromCbor(cbor_string string) (*VerificationKey, error)
func (VerificationKey) Hash ¶
func (vk VerificationKey) Hash() (serialization.PubKeyHash, error)
func (*VerificationKey) MarshalCBOR ¶
func (vk *VerificationKey) MarshalCBOR() ([]byte, error)
func (*VerificationKey) UnmarshalCBOR ¶
func (vk *VerificationKey) UnmarshalCBOR(data []byte) error
Click to show internal directories.
Click to hide internal directories.