Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrivateKey ¶
type PrivateKey struct {
// contains filtered or unexported fields
}
PrivateKey is a private key based on age library.
func (PrivateKey) AgeIdentity ¶
func (p PrivateKey) AgeIdentity() age.Identity
AgeIdentity returns age Identity.
func (PrivateKey) IsPrivate ¶
func (PrivateKey) IsPrivate()
IsPrivate satisifies PrivateKey interface.
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
PublicKey is a public key based on age library.
func (PublicKey) AgeRecipient ¶
AgeRecipient returns age Recipient.
Click to show internal directories.
Click to hide internal directories.