class StandardPropertySecretKeyProvider extends Object implements PropertySecretKeyProvider
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private static int |
MINIMUM_PASSWORD_LENGTH |
private static Charset |
PASSWORD_CHARSET |
private static String |
PASSWORD_LENGTH_MESSAGE |
private static String |
SECRET_KEY_ALGORITHM |
| Constructor and Description |
|---|
StandardPropertySecretKeyProvider() |
| Modifier and Type | Method and Description |
|---|---|
SecretKey |
getSecretKey(PropertyEncryptionMethod propertyEncryptionMethod,
String password)
Get Secret Key using Property Encryption Method with provided password
|
private static SecureHasher |
getSecureHasher(PropertyEncryptionMethod propertyEncryptionMethod) |
private static final org.slf4j.Logger LOGGER
private static final Charset PASSWORD_CHARSET
private static final int MINIMUM_PASSWORD_LENGTH
private static final String PASSWORD_LENGTH_MESSAGE
private static final String SECRET_KEY_ALGORITHM
public SecretKey getSecretKey(PropertyEncryptionMethod propertyEncryptionMethod, String password)
getSecretKey in interface PropertySecretKeyProviderpropertyEncryptionMethod - Property Encryption Methodpassword - Password used to derive Secret Keyprivate static SecureHasher getSecureHasher(PropertyEncryptionMethod propertyEncryptionMethod)
Copyright © 2023 Apache NiFi Project. All rights reserved.