Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENCRYPT_RESOURCE_URL string = "oe2/keymanager/encrypt" DECRYPT_RESOURCE_URL string = "oe2/keymanager/decrypt" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Credential *onqlavecredentials.Credential Retry *onqlaveconnection.RetrySettings ArxURL string Debug bool }
type KeyManager ¶
type KeyManager interface { FetchEncryptionKey() (edk []byte, dk []byte, algorithm string, err *onqlaveerrors.OnqlaveError) FetchDecryptionKey(edk []byte) (dk []byte, err *onqlaveerrors.OnqlaveError) }
func NewKeyManager ¶
func NewKeyManager(configuration *Configuration, randomService services.CPRNGService) KeyManager
Click to show internal directories.
Click to hide internal directories.