Package org.apache.nifi.encrypt
Class PropertyEncryptorBuilder
java.lang.Object
org.apache.nifi.encrypt.PropertyEncryptorBuilder
Property Encryptor Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate final Stringprivate static final PropertySecretKeyProvider -
Constructor Summary
ConstructorsConstructorDescriptionPropertyEncryptorBuilder(String password) Property Encryptor Builder with required password -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Property Encryptor using current configurationprivate PropertyEncryptionMethodfindPropertyEncryptionAlgorithm(String algorithm) setAlgorithm(String algorithm) Set Algorithm as either Property Encryption Method or Encryption Method
-
Field Details
-
SECRET_KEY_PROVIDER
-
password
-
algorithm
-
-
Constructor Details
-
PropertyEncryptorBuilder
Property Encryptor Builder with required password- Parameters:
password- Password required
-
-
Method Details
-
setAlgorithm
Set Algorithm as either Property Encryption Method or Encryption Method- Parameters:
algorithm- Algorithm- Returns:
- Property Encryptor Builder
-
build
Build Property Encryptor using current configuration- Returns:
- Property Encryptor
-
findPropertyEncryptionAlgorithm
-