Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_VERSION = 1
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EncryptedData ¶
type EncryptedData struct { Version int VaultId int KeySet []MultiWrappedKey KeySetRSA map[string]SingleWrappedKey IV []byte Data []byte Signature []byte }
EncryptedData is the format for encrypted data containing all the keys necessary to decrypt it when delegated.
type MultiWrappedKey ¶
MultiWrappedKey is a structure containing a 16-byte key encrypted once for each of the keys corresponding to the names of the users in Name in order.
type SingleWrappedKey ¶
type SingleWrappedKey struct { Key []byte // contains filtered or unexported fields }
SingleWrappedKey is a structure containing a 16-byte key encrypted by an RSA or EC key.
Click to show internal directories.
Click to hide internal directories.