| Package | Description |
|---|---|
| org.apache.nifi.security.kms | |
| org.apache.nifi.security.repository | |
| org.apache.nifi.security.repository.block | |
| org.apache.nifi.security.repository.stream |
| Modifier and Type | Class and Description |
|---|---|
class |
FileBasedKeyProvider |
class |
StaticKeyProvider
Reference implementation for static key provider (used during tests).
|
| Modifier and Type | Method and Description |
|---|---|
static KeyProvider |
KeyProviderFactory.buildKeyProvider(RepositoryEncryptionConfiguration rec,
SecretKey masterKey)
Returns a key provider instantiated from the configuration values in a
RepositoryEncryptionConfiguration object. |
static KeyProvider |
KeyProviderFactory.buildKeyProvider(String implementationClassName,
String keyProviderLocation,
String keyId,
Map<String,String> encryptionKeys,
SecretKey masterKey)
Returns a key provider instantiated from the configuration values in a
RepositoryEncryptionConfiguration object. |
| Modifier and Type | Field and Description |
|---|---|
protected KeyProvider |
AbstractAESEncryptor.keyProvider |
| Modifier and Type | Method and Description |
|---|---|
private static KeyProvider |
RepositoryEncryptorUtils.buildKeyProvider(NiFiProperties niFiProperties,
RepositoryType repositoryType)
Returns a configured
KeyProvider instance that does not require a master key to use (usually a StaticKeyProvider). |
static KeyProvider |
RepositoryEncryptorUtils.buildKeyProvider(NiFiProperties niFiProperties,
SecretKey masterKey,
RepositoryType repositoryType)
Returns a configured
KeyProvider instance that requires a master key to use
(usually a FileBasedKeyProvider or an encrypted
StaticKeyProvider). |
static KeyProvider |
RepositoryEncryptorUtils.buildKeyProviderFromConfig(SecretKey masterKey,
RepositoryEncryptionConfiguration rec)
Returns a configured
KeyProvider instance given the RepositoryEncryptionConfiguration. |
static KeyProvider |
RepositoryEncryptorUtils.validateAndBuildRepositoryKeyProvider(NiFiProperties niFiProperties,
RepositoryType repositoryType)
Returns a configured
KeyProvider instance for the specified repository type given the configuration values in nifi.properties. |
static KeyProvider |
RepositoryEncryptorUtils.validateAndBuildRepositoryKeyProvider(RepositoryEncryptionConfiguration repositoryEncryptionConfiguration)
Returns a configured
KeyProvider instance for the specified repository type given the configuration values. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractAESEncryptor.initialize(KeyProvider keyProvider)
Initializes the encryptor with a
KeyProvider. |
void |
RepositoryObjectEncryptor.initialize(KeyProvider keyProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryObjectBlockEncryptor.initialize(KeyProvider keyProvider)
Initializes the encryptor with a
KeyProvider. |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryObjectStreamEncryptor.initialize(KeyProvider keyProvider)
Initializes the encryptor with a
KeyProvider. |
Copyright © 2020 Apache NiFi Project. All rights reserved.