Documentation ¶
Index ¶
Constants ¶
View Source
const ( V1IdentityPublicKeyPrefix = "v1.ipk." V2IdentityPublicKeyPrefix = "v2.ipk." )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONWebKey ¶
type JSONWebKey struct { Kty string `json:"kty"` Crv string `json:"crv"` X string `json:"x,omitempty"` Y string `json:"y,omitempty"` D string `json:"d,omitempty"` }
JSONWebKey holds internal container key attributes.
func (*JSONWebKey) RecoveryKey ¶
func (k *JSONWebKey) RecoveryKey() (string, error)
RecoveryKey returns the private encryption key from the private identity key.
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func FromString ¶
func (*Key) SealingKey ¶
Click to show internal directories.
Click to hide internal directories.