Package | Description |
---|---|
org.apache.nifi.security.repository | |
org.apache.nifi.security.util | |
org.apache.nifi.security.util.crypto |
Modifier and Type | Method and Description |
---|---|
static Cipher |
RepositoryEncryptorUtils.initCipher(AESKeyedCipherProvider aesKeyedCipherProvider,
EncryptionMethod method,
int mode,
SecretKey key,
byte[] ivBytes) |
Modifier and Type | Method and Description |
---|---|
static EncryptionMethod |
EncryptionMethod.forAlgorithm(String algorithm) |
static EncryptionMethod |
EncryptionMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionMethod[] |
EncryptionMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private int |
NiFiLegacyCipherProvider.calculateSaltLength(EncryptionMethod encryptionMethod)
Deprecated.
|
byte[] |
NiFiLegacyCipherProvider.generateSalt(EncryptionMethod encryptionMethod)
Deprecated.
|
abstract Cipher |
KeyedCipherProvider.getCipher(EncryptionMethod encryptionMethod,
SecretKey key,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
AESKeyedCipherProvider.getCipher(EncryptionMethod encryptionMethod,
SecretKey key,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
abstract Cipher |
KeyedCipherProvider.getCipher(EncryptionMethod encryptionMethod,
SecretKey key,
byte[] iv,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
AESKeyedCipherProvider.getCipher(EncryptionMethod encryptionMethod,
SecretKey key,
byte[] iv,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
OpenSSLPKCS5CipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
boolean encryptMode)
Convenience method without key length parameter.
|
Cipher |
OpenSSLPKCS5CipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
boolean encryptMode)
Convenience method without key length parameter.
|
(package private) abstract Cipher |
RandomIVPBECipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
PBKDF2CipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
ScryptCipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
BcryptCipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
OpenSSLPKCS5CipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
PBECipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
PBKDF2CipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
ScryptCipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
Cipher |
NiFiLegacyCipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
int keyLength,
boolean encryptMode)
Deprecated.
Returns an initialized cipher for the specified algorithm.
|
Cipher |
BcryptCipherProvider.getCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
int keyLength,
boolean encryptMode)
Returns an initialized cipher for the specified algorithm.
|
protected Cipher |
AESKeyedCipherProvider.getInitializedCipher(EncryptionMethod encryptionMethod,
SecretKey key,
byte[] iv,
boolean encryptMode) |
protected Cipher |
OpenSSLPKCS5CipherProvider.getInitializedCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
boolean encryptMode) |
protected Cipher |
PBKDF2CipherProvider.getInitializedCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode) |
protected Cipher |
ScryptCipherProvider.getInitializedCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode) |
protected Cipher |
BcryptCipherProvider.getInitializedCipher(EncryptionMethod encryptionMethod,
String password,
byte[] salt,
byte[] iv,
int keyLength,
boolean encryptMode) |
static int |
CipherUtility.getMaximumPasswordLengthForAlgorithmOnLimitedStrengthCrypto(EncryptionMethod encryptionMethod) |
static boolean |
CipherUtility.passwordLengthIsValidForAlgorithmOnLimitedStrengthCrypto(int passwordLength,
EncryptionMethod encryptionMethod) |
byte[] |
NiFiLegacyCipherProvider.readSalt(EncryptionMethod encryptionMethod,
InputStream in)
Deprecated.
Returns the salt provided as part of the cipher stream, or throws an exception if one cannot be detected.
|
protected void |
OpenSSLPKCS5CipherProvider.validateSalt(EncryptionMethod encryptionMethod,
byte[] salt) |
protected void |
NiFiLegacyCipherProvider.validateSalt(EncryptionMethod encryptionMethod,
byte[] salt)
Deprecated.
|
Copyright © 2020 Apache NiFi Project. All rights reserved.