public interface MasterKey
Represents a MasterKey used to encrypt/decrypt Data Key.
| Modifier and Type | Method and Description |
|---|---|
String |
decryptDataKey(String encryptedDataKey,
String masterKeyId)
Decrypts and returns data key that was encrypted under this master key.
|
com.oracle.bmc.encryption.internal.DataKey |
generateDataEncryptionKey(com.oracle.bmc.encryption.internal.CryptoAlgorithm cryptoAlgorithm)
Generates a data encryption key (DEK) based on the algorithm provided using
this MasterKey.
|
com.oracle.bmc.encryption.internal.DataKey generateDataEncryptionKey(com.oracle.bmc.encryption.internal.CryptoAlgorithm cryptoAlgorithm)
Generates a data encryption key (DEK) based on the algorithm provided using this MasterKey. The returned DataKey includes a copy of the DEK encrypted under this MasterKey.
cryptoAlgorithm - Copyright © 2016–2021. All rights reserved.