Package | Description |
---|---|
org.apache.hadoop.crypto.key | |
org.apache.hadoop.crypto.key.kms |
Modifier and Type | Method and Description |
---|---|
static KeyProviderCryptoExtension.EncryptedKeyVersion |
KeyProviderCryptoExtension.EncryptedKeyVersion.createForDecryption(String keyName,
String encryptionKeyVersionName,
byte[] encryptedKeyIv,
byte[] encryptedKeyMaterial)
Factory method to create a new EncryptedKeyVersion that can then be
passed into
KeyProviderCryptoExtension.decryptEncryptedKey(org.apache.hadoop.crypto.key.KeyProviderCryptoExtension.EncryptedKeyVersion) . |
KeyProviderCryptoExtension.EncryptedKeyVersion |
KeyProviderCryptoExtension.CryptoExtension.generateEncryptedKey(String encryptionKeyName)
Generates a key material and encrypts it using the given key version name
and initialization vector.
|
Modifier and Type | Method and Description |
---|---|
KeyProvider.KeyVersion |
KeyProviderCryptoExtension.CryptoExtension.decryptEncryptedKey(KeyProviderCryptoExtension.EncryptedKeyVersion encryptedKeyVersion)
Decrypts an encrypted byte[] key material using the given a key version
name and initialization vector.
|
Modifier and Type | Class and Description |
---|---|
static class |
KMSClientProvider.KMSEncryptedKeyVersion |
Modifier and Type | Method and Description |
---|---|
KeyProviderCryptoExtension.EncryptedKeyVersion |
LoadBalancingKMSClientProvider.generateEncryptedKey(String encryptionKeyName) |
Modifier and Type | Method and Description |
---|---|
KeyProvider.KeyVersion |
LoadBalancingKMSClientProvider.decryptEncryptedKey(KeyProviderCryptoExtension.EncryptedKeyVersion encryptedKeyVersion) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.