Documentation
¶
Index ¶
- type KeyV2
- func (k KeyV2) ID() string
- func (k KeyV2) Public() crypto.PublicKey
- func (k KeyV2) PublicKeyString() string
- func (k KeyV2) Raw() internal.Raw
- func (k KeyV2) Sign(rand io.Reader, message []byte, opts crypto.SignerOpts) (signature []byte, err error)
- func (k KeyV2) StaticSizedPublicKey() (sspk credentials.StaticSizedPublicKey)
- func (k KeyV2) ToEncryptedJSON(password string, scryptParams commonkeystore.ScryptParams) (export []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyV2 ¶
type KeyV2 struct {
PublicKey ed25519.PublicKey
Version int
// contains filtered or unexported fields
}
func MustNewV2XXXTestingOnly ¶
func (KeyV2) PublicKeyString ¶
func (KeyV2) StaticSizedPublicKey ¶
func (k KeyV2) StaticSizedPublicKey() (sspk credentials.StaticSizedPublicKey)
func (KeyV2) ToEncryptedJSON ¶
func (k KeyV2) ToEncryptedJSON(password string, scryptParams commonkeystore.ScryptParams) (export []byte, err error)
Click to show internal directories.
Click to hide internal directories.