Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidKeyType = errors.New("invalid key type") ErrSignatureValidationFailed = errors.New("signature validation failed") )
Functions ¶
This section is empty.
Types ¶
type Keyring ¶
type PKPKey ¶
type PKPKey struct {
PinnedKeys []*pkp.PublicKeyPin `json:"pinnedKeys"`
}
func NewPKPKey ¶
func NewPKPKey(pinnedKeys []*pkp.PublicKeyPin) *PKPKey
type SharedKeys ¶
type SharedKeys struct {}
func NewSharedKeys ¶
func NewSharedKeys(secret []byte) *SharedKeys
Click to show internal directories.
Click to hide internal directories.