Documentation
¶
Index ¶
- func EncryptionKeygen() error
- func GenerateServerKeysAndCert() error
- func GetKeyFromPath(path string) ([]byte, error)
- func LoadAndValidateKeys(keyMap map[string]KeyDefinition) (map[string][]byte, error)
- func SigningKeygen() error
- func ValidateEncryptionKeys(keyBytes []byte) error
- func ValidateSigningKeys(keyBytes []byte) error
- type KeyDefinition
- type KeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptionKeygen ¶
func EncryptionKeygen() error
func GenerateServerKeysAndCert ¶
func GenerateServerKeysAndCert() error
TODO: REFACTOR above functions to be more generic and robust, for now this will be fine
func GetKeyFromPath ¶
func LoadAndValidateKeys ¶
func LoadAndValidateKeys(keyMap map[string]KeyDefinition) (map[string][]byte, error)
func SigningKeygen ¶
func SigningKeygen() error
func ValidateEncryptionKeys ¶
func ValidateSigningKeys ¶
Types ¶
type KeyDefinition ¶
Click to show internal directories.
Click to hide internal directories.