Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Policy ¶
type Policy struct { Name string `json:"name"` Key []byte `json:"key"` CipherMode string `json:"cipher"` // Derived keys MUST provide a context and the // master underlying key is never used. Derived bool `json:"derived"` KDFMode string `json:"kdf_mode"` }
Policy is the struct used to store metadata
func DeserializePolicy ¶
Click to show internal directories.
Click to hide internal directories.