Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractSecureHasher - Class in org.apache.nifi.security.util.crypto
 
AbstractSecureHasher() - Constructor for class org.apache.nifi.security.util.crypto.AbstractSecureHasher
 
acceptsEmptyInput() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns true if the algorithm can accept empty (non-null) inputs.
acceptsEmptyInput() - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns true if the algorithm can accept empty (non-null) inputs.
acceptsEmptyInput() - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Returns true if the algorithm can accept empty (non-null) inputs.
acceptsEmptyInput() - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns true if the algorithm can accept empty (non-null) inputs.
acceptsEmptyInput() - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
AESKeyedCipherProvider - Class in org.apache.nifi.security.util.crypto
This is a standard implementation of KeyedCipherProvider which supports AES cipher families with arbitrary modes of operation (currently only CBC, CTR, and GCM are supported as EncryptionMethods.
AESKeyedCipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
 
algorithm - Variable in enum org.apache.nifi.security.util.EncryptionMethod
 
ARGON2_SALT_FORMAT - Static variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
Argon2CipherProvider - Class in org.apache.nifi.security.util.crypto
 
Argon2CipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Instantiates an Argon2 cipher provider using the default cost parameters memory = Argon2CipherProvider.DEFAULT_MEMORY, parallelism = Argon2CipherProvider.DEFAULT_PARALLELISM, iterations = Argon2CipherProvider.DEFAULT_ITERATIONS).
Argon2CipherProvider(Integer, int, Integer) - Constructor for class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Instantiates an Argon2 cipher provider using the provided cost parameters.
Argon2SecureHasher - Class in org.apache.nifi.security.util.crypto
Provides an implementation of Argon2 for secure password hashing.
Argon2SecureHasher() - Constructor for class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Instantiates an Argon2 secure hasher using the default cost parameters (hashLength = Argon2SecureHasher.DEFAULT_HASH_LENGTH, memory = Argon2SecureHasher.DEFAULT_MEMORY, parallelism = Argon2SecureHasher.DEFAULT_PARALLELISM, iterations = Argon2SecureHasher.DEFAULT_ITERATIONS).
Argon2SecureHasher(Integer) - Constructor for class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Instantiates an Argon2 secure hasher using the provided hash length and default cost parameters (memory = Argon2SecureHasher.DEFAULT_MEMORY, parallelism = Argon2SecureHasher.DEFAULT_PARALLELISM, iterations = Argon2SecureHasher.DEFAULT_ITERATIONS).
Argon2SecureHasher(Integer, Integer, int, Integer) - Constructor for class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Instantiates an Argon2 secure hasher using the provided cost parameters.
Argon2SecureHasher(Integer, Integer, int, Integer, Integer) - Constructor for class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Instantiates an Argon2 secure hasher using the provided cost parameters.

B

backReferencePattern - Static variable in class org.apache.nifi.authorization.util.IdentityMappingUtil
 
BCFKS_EXT - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
BCRYPT_SALT_FORMAT - Static variable in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
BCRYPT_SALT_FORMAT_MSG - Static variable in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
BcryptCipherProvider - Class in org.apache.nifi.security.util.crypto
 
BcryptCipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Instantiates a Bcrypt cipher provider with the default work factor 12 (2^12 key expansion rounds).
BcryptCipherProvider(int) - Constructor for class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Instantiates a Bcrypt cipher provider with the specified work factor w (2^w key expansion rounds).
BcryptSecureHasher - Class in org.apache.nifi.security.util.crypto
Provides an implementation of Bcrypt for secure password hashing.
BcryptSecureHasher() - Constructor for class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Instantiates a Bcrypt secure hasher using the default cost parameter (cost = BcryptSecureHasher.DEFAULT_COST
BcryptSecureHasher(int) - Constructor for class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Instantiates a Bcrypt secure hasher using the provided cost parameters.
BcryptSecureHasher(int, int) - Constructor for class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Instantiates an Bcrypt secure hasher using the provided cost parameters.
blake2Hash(HashAlgorithm, byte[]) - Static method in class org.apache.nifi.security.util.crypto.HashService
 
blake2HashStreaming(HashAlgorithm, InputStream) - Static method in class org.apache.nifi.security.util.crypto.HashService
 
blockmix_salsa8(byte[], int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
blockxor(byte[], int, byte[], int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
BROKEN_ALGORITHMS - Static variable in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
BUFFER_SIZE - Static variable in class org.apache.nifi.security.util.crypto.CipherUtility
 
BUFFER_SIZE - Static variable in class org.apache.nifi.security.util.crypto.HashService
 
build() - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
Build Temporary KeyStore and TrustStore with configured values and set files with File.deleteOnExit()
buildAllowableValueDescription() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
Returns a more complete description of the algorithm for AllowableValue construction.
buildCharacterSetAllowableValues() - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns an array of AllowableValue elements for each Charset.
buildHashAlgorithmAllowableValues() - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns an array of AllowableValue elements for each HashAlgorithm.

C

calculateCipherTextLength(int, int) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the calculated cipher text length given the plaintext length and salt length, if any.
calculateExpectedMemory(int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Returns the expected memory cost of the provided parameters in bytes.
calculateSaltLength(EncryptionMethod) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
CERT_ALIAS - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
CERT_DN - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
CERT_DURATION_DAYS - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
CERTIFICATE_VALID_DAYS - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
CertificateUtils - Class in org.apache.nifi.security.util
 
CertificateUtils() - Constructor for class org.apache.nifi.security.util.CertificateUtils
 
check(String, String) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Compare the supplied plaintext password to a hashed password.
CipherProvider - Interface in org.apache.nifi.security.util.crypto
Marker interface for cipher providers.
CipherProviderFactory - Class in org.apache.nifi.security.util.crypto
 
CipherProviderFactory() - Constructor for class org.apache.nifi.security.util.crypto.CipherProviderFactory
 
CipherUtility - Class in org.apache.nifi.security.util.crypto
 
CipherUtility() - Constructor for class org.apache.nifi.security.util.crypto.CipherUtility
 
compareDNs(String, String) - Static method in class org.apache.nifi.security.util.CertificateUtils
Returns true if the two provided DNs are equivalent, regardless of the order of the elements.
compatibleWithStrongKDFs - Variable in enum org.apache.nifi.security.util.EncryptionMethod
 
convertAbstractX509Certificate(Certificate) - Static method in class org.apache.nifi.security.util.CertificateUtils
Accepts an abstract Certificate and returns an X509Certificate.
convertBcryptRadix64ToMimeBase64(String) - Static method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
convertLegacyX509Certificate(X509Certificate) - Static method in class org.apache.nifi.security.util.CertificateUtils
Accepts a legacy X509Certificate and returns an X509Certificate.
convertMimeBase64ToBcryptRadix64(String) - Static method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
cost - Variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
createCipherAndHandleExceptions(EncryptionMethod, String, byte[], byte[], int, boolean, boolean) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
createDnOrderMap() - Static method in class org.apache.nifi.security.util.CertificateUtils
 
createKeyStoreAndGetX509Certificate(String, String, String, String, KeystoreType, int, String[]) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Loads the Keystore and returns a X509 Certificate with the given values.
createSslContext(TlsConfiguration) - Static method in class org.apache.nifi.security.util.SslContextFactory
Create and initialize a SSLContext from the provided TLS configuration.
createSslContext(TlsConfiguration, TrustManager[]) - Static method in class org.apache.nifi.security.util.SslContextFactory
Create and initialize a SSLContext from the provided TLS configuration and Trust Managers.
createSSLSocketFactory(TlsConfiguration) - Static method in class org.apache.nifi.security.util.SslContextFactory
Convenience method to return the SSLSocketFactory from the created SSLContext
createTlsConfigAndNewKeystoreTruststore(TlsConfiguration, int, String[]) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Creates a temporary Keystore and Truststore and returns it wrapped in a new TLS configuration with the given values.
createTrustStore(X509Certificate, String, String, String, KeystoreType) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Loads the Truststore with the given values.

D

DEFAULT_COST - Static variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
These values can be calculated automatically using the code BcryptCipherProviderGroovyTest#calculateMinimumParameters or manually updated by a maintainer
DEFAULT_DK_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
DEFAULT_DK_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
DEFAULT_HASH_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
DEFAULT_HOSTNAME - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
DEFAULT_ITERATION_COUNT - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
This can be calculated automatically using the code PBKDF2CipherProviderGroovyTest#calculateMinimumIterationCount or manually updated by a maintainer
DEFAULT_ITERATION_COUNT - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
This can be calculated automatically using the code PBKDF2CipherProviderGroovyTest#calculateMinimumIterationCount or manually updated by a maintainer
DEFAULT_ITERATIONS - Static variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
DEFAULT_ITERATIONS - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
DEFAULT_MAX_ALLOWED_KEY_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.CipherUtility
 
DEFAULT_MEMORY - Static variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
DEFAULT_MEMORY - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
DEFAULT_N - Static variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
These values can be calculated automatically using the code ScryptCipherProviderGroovyTest#calculateMinimumParameters or manually updated by a maintainer
DEFAULT_N - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
These values can be calculated automatically using the code ScryptCipherProviderGroovyTest#calculateMinimumParameters or manually updated by a maintainer
DEFAULT_P - Static variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
DEFAULT_P - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
DEFAULT_PARALLELISM - Static variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
DEFAULT_PARALLELISM - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
DEFAULT_PRF - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
DEFAULT_PRF - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
DEFAULT_R - Static variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
DEFAULT_R - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
DEFAULT_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
DEFAULT_SECURE_HASHER_CLASS - Static variable in class org.apache.nifi.security.util.crypto.SecureHasherFactory
 
DEFAULT_WORK_FACTOR - Static variable in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
This can be calculated automatically using the code BcryptCipherProviderGroovyTest#calculateMinimumWorkFactor or manually updated by a maintainer
deprecationLogger - Static variable in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
derivedKeyLength - Variable in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
 
deriveKey(String, int, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
deriveScryptKey(byte[], byte[], int, int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Implementation of the scrypt KDF.
description - Variable in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
description - Variable in enum org.apache.nifi.security.util.KeyDerivationFunction
 
DIGEST_ALGORITHM - Static variable in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
 
digestBcryptHash - Variable in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
 
digestBytesLength - Variable in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
DISTINGUISHED_NAME_FORMAT - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
dkLength - Variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
dkLength - Variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
dnOrderMap - Static variable in class org.apache.nifi.security.util.CertificateUtils
 

E

EMPTY_SALT - Static variable in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
encodeBase64NoPadding(byte[]) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
encodeParams(int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
ENCODER - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
EncryptionMethod - Enum in org.apache.nifi.security.util
Enumeration capturing essential information about the various encryption methods that might be supported.
EncryptionMethod(String, String, boolean, boolean) - Constructor for enum org.apache.nifi.security.util.EncryptionMethod
 
equals(Object) - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
escapeLiteralBackReferences(String, int) - Static method in class org.apache.nifi.authorization.util.IdentityMappingUtil
 
extractPeerDNFromClientSSLSocket(SSLSocket) - Static method in class org.apache.nifi.security.util.CertificateUtils
Returns the DN extracted from the client certificate.
extractPeerDNFromServerSSLSocket(Socket) - Static method in class org.apache.nifi.security.util.CertificateUtils
Returns the DN extracted from the server certificate.
extractPeerDNFromSSLSocket(Socket) - Static method in class org.apache.nifi.security.util.CertificateUtils
Returns the DN extracted from the peer certificate (the server DN if run on the client; the client DN (if available) if run on the server).
extractRawSalt(String) - Static method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Returns the raw salt as a byte[] extracted from the Bcrypt formatted salt byte[].
extractRawSalt(byte[], KeyDerivationFunction) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the raw salt from the provided "full salt" which could be KDF-specific.
extractRawSaltFromArgon2Salt(String) - Static method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Returns the raw salt contained in the provided Argon2 salt string.
extractRawSaltFromScryptSalt(String) - Static method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Returns the raw salt contained in the provided Scrypt salt string.
extractUsername(String) - Static method in class org.apache.nifi.security.util.CertificateUtils
Extracts the username from the specified DN.

F

findSequence(byte[], byte[]) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the array index of haystack if needle is found within it.
forAlgorithm(String) - Static method in enum org.apache.nifi.security.util.EncryptionMethod
 
formatHash(byte[], int, int, int, byte[]) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
formatSalt(byte[], int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
formatSaltForBcrypt(byte[], int) - Static method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
formatSaltForScrypt(byte[]) - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Formats the salt into a string which Scrypt can understand containing the N, r, p values along with the salt value.
formatSaltForScrypt(byte[], int, int, int) - Static method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Formats the salt into a string which Scrypt can understand containing the N, r, p values along with the salt value.
formSalt(byte[], int, int, int) - Static method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Returns the formatted Argon2 salt string given the provided parameters.
formX509Certificate(byte[]) - Static method in class org.apache.nifi.security.util.CertificateUtils
 
fromName(String) - Static method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
fromNiFiProperties(NiFiProperties) - Static method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns a TlsConfiguration instantiated from the relevant NiFi properties.
fromNiFiProperties(Properties) - Static method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns a TlsConfiguration instantiated from the relevant NiFi properties.
fromNiFiPropertiesTruststoreOnly(NiFiProperties) - Static method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns a TlsConfiguration instantiated from the relevant NiFiProperties properties for the truststore only.

G

generateCertificate(String, KeyPair) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
generateIssuedCertificate(String, PublicKey, X509Certificate, KeyPair, String, int) - Static method in class org.apache.nifi.security.util.CertificateUtils
Generates an issued X509Certificate from the given issuer certificate and KeyPair
generateIssuedCertificate(String, PublicKey, Extensions, X509Certificate, KeyPair, String, int) - Static method in class org.apache.nifi.security.util.CertificateUtils
Generates an issued X509Certificate from the given issuer certificate and KeyPair
generateIV() - Method in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
Generates a new random IV of 16 bytes using SecureRandom.
generateIV() - Method in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
Generates a new random IV of the correct length.
generateKeyPair() - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
generatePassword() - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Generates a random Hex-encoded password.
generateSalt() - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
generateSalt() - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Returns the full salt in a byte[] for this cipher provider (i.e.
generateSalt(EncryptionMethod) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
generateSalt() - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
generateSalt() - Method in interface org.apache.nifi.security.util.crypto.PBECipherProvider
Returns a random salt suitable for this cipher provider.
generateSalt() - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
generateSalt() - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
generateSecureRandomPassword() - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
generateSelfSignedX509Certificate(KeyPair, String, String, int) - Static method in class org.apache.nifi.security.util.CertificateUtils
Generates a self-signed X509Certificate suitable for use as a Certificate Authority.
generateSelfSignedX509Certificate(KeyPair, String, String, int, String[]) - Static method in class org.apache.nifi.security.util.CertificateUtils
Generates a self-signed X509Certificate suitable for use as a Certificate Authority.
generateTempKeystorePath(KeystoreType) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Generates a temporary keystore file and returns the path.
generateTempTruststorePath(KeystoreType) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Generates a temporary truststore file and returns the path.
getAlgorithm() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
getAlgorithmName() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the algorithm-specific name for logging and messages.
getAlgorithmName() - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns the algorithm-specific name for logging and messages.
getAlgorithmName() - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Returns the algorithm-specific name for logging and messages.
getAlgorithmName() - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns the algorithm-specific name for logging and messages.
getAlgorithmName() - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
getCipher(EncryptionMethod, SecretKey, byte[], boolean) - Method in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, SecretKey, boolean) - Method in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, SecretKey, byte[], boolean) - Method in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, SecretKey, boolean) - Method in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, boolean) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
Convenience method without key length parameter.
getCipher(EncryptionMethod, String, byte[], boolean) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
Convenience method without key length parameter.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in interface org.apache.nifi.security.util.crypto.PBECipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipher(EncryptionMethod, String, byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Returns an initialized cipher for the specified algorithm.
getCipherProvider(KeyDerivationFunction) - Static method in class org.apache.nifi.security.util.crypto.CipherProviderFactory
 
getClientAuthStatus(SSLSocket) - Static method in class org.apache.nifi.security.util.CertificateUtils
 
getCommonName(String) - Static method in class org.apache.nifi.security.util.CertificateUtils
Extracts the common name from the given DN.
getDefaultKeyLengthForCipher(String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the algorithm-specific default salt length in bytes.
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns the algorithm-specific default salt length in bytes.
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Returns the algorithm-specific default salt length in bytes.
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
getDefaultSaltLength() - Method in interface org.apache.nifi.security.util.crypto.PBECipherProvider
Returns the default salt length for this implementation.
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns the algorithm-specific default salt length in bytes.
getDefaultSaltLength() - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
getDefaultSaltLength() - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Returns the algorithm-specific default salt length in bytes.
getDescription() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
getDescription() - Method in enum org.apache.nifi.security.util.KeyDerivationFunction
 
getDigestBytesLength() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
getEnabledProtocols() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Get Enabled TLS Protocols translates SSL to legacy protocols and TLS to current protocols or returns configured protocol
getExtensionsFromCSR(JcaPKCS10CertificationRequest) - Static method in class org.apache.nifi.security.util.CertificateUtils
Extract extensions from CSR object
getFileUrl(String) - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getFunctionalKeyPassword() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns the "working" key password -- if the key password is populated, it is returned; otherwise the StandardTlsConfiguration.getKeystorePassword() is returned.
getFunctionalKeyPasswordForLogging() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns "********" if the functional key password is populated, "null" if not.
getGroupMappings(NiFiProperties) - Static method in class org.apache.nifi.authorization.util.IdentityMappingUtil
Buils the group mappings from NiFiProperties.
getIdentityMappings(NiFiProperties) - Static method in class org.apache.nifi.authorization.util.IdentityMappingUtil
Builds the identity mappings from NiFiProperties.
getInitializedCipher(EncryptionMethod, SecretKey, byte[], boolean) - Method in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
 
getInitializedCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
getInitializedCipher(EncryptionMethod, String, byte[], byte[], int, boolean, boolean) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
getInitializedCipher(EncryptionMethod, String, byte[], boolean) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
getInitializedCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
getInitializedCipher(EncryptionMethod, String, byte[], byte[], int, boolean) - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
getIterationCount() - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
getIterationCount() - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
getIterationCount() - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
getIterations() - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
getKdfName() - Method in enum org.apache.nifi.security.util.KeyDerivationFunction
 
getKey() - Method in class org.apache.nifi.authorization.util.IdentityMapping
 
getKeyManagerFactoryFromKeyStore(KeyStore, char[], char[]) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the KeyManagerFactory from the provided KeyStore object, initialized with the key or keystore password.
getKeyManagers(TlsConfiguration) - Static method in class org.apache.nifi.security.util.SslContextFactory
Returns an array of KeyManagers for the provided configuration.
getKeyPassword() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getKeyPasswordForLogging() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns "********" if the key password is populated, "null" if not.
getKeyStore(String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns an empty KeyStore backed by the appropriate provider
getKeystoreExtension(KeystoreType) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the Keystore extension given the Keystore type.
getKeystorePassword() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getKeystorePasswordForLogging() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns "********" if the keystore password is populated, "null" if not.
getKeystorePath() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getKeystorePropertiesForLogging() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns a String[] containing the keystore properties for logging.
getKeyStoreProvider(String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the provider that will be used for the given keyStoreType
getKeyStoreType() - Method in class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
getKeystoreType(String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
 
getKeystoreType() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getKeystoreTypeFromExtension(String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Get Keystore Type based on file extension defaults to returning PKCS12
getLegacyDecryptCipher(EncryptionMethod, String, byte[], byte[], int) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Returns a Cipher instance in Cipher.DECRYPT_MODE configured with the provided inputs and using the legacy key derivation process for Bcrypt where the complete Bcrypt hash output (including algorithm, work factor, and salt) was used as the input to the key stretching SHA-512 digest function.
getLocation() - Method in class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
getLogger() - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
getLogger() - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
getLogger() - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
getLogger() - Method in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
getLogger() - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
getMappings(NiFiProperties, String, String, String, Supplier<String>) - Static method in class org.apache.nifi.authorization.util.IdentityMappingUtil
 
getMaxDKLength(int) - Static method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns the maximum length of the derived key in bytes given the digest length in bytes of the underlying PRF.
getMaximumPasswordLengthForAlgorithmOnLimitedStrengthCrypto(EncryptionMethod) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
getMaxSaltLength() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the algorithm-specific maximum salt length in bytes.
getMaxSaltLength() - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns the algorithm-specific maximum salt length in bytes.
getMaxSaltLength() - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Returns the algorithm-specific maximum salt length in bytes.
getMaxSaltLength() - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns the algorithm-specific maximum salt length in bytes.
getMaxSaltLength() - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
getMemory() - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
getMessageDigest() - Method in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
 
getMinSaltLength() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the algorithm-specific minimum salt length in bytes.
getMinSaltLength() - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns the algorithm-specific minimum salt length in bytes.
getMinSaltLength() - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Returns the algorithm-specific minimum salt length in bytes.
getMinSaltLength() - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns the algorithm-specific minimum salt length in bytes.
getMinSaltLength() - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
getN() - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
getName() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
getNewKeyStore(String) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
getP() - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
getParallelism() - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
getPassword() - Method in class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
getPattern() - Method in class org.apache.nifi.authorization.util.IdentityMapping
 
getPRFName() - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
getProtocol() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getProvider() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
getR() - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
getReplacementValue() - Method in class org.apache.nifi.authorization.util.IdentityMapping
 
getSalt() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a salt to use.
getSaltLengthForAlgorithm(String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the salt length for various PBE algorithms.
getSecretKeyStore(String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns an empty KeyStore for Secret Keys backed by the appropriate provider
getSecureHasher(String) - Static method in class org.apache.nifi.security.util.crypto.SecureHasherFactory
 
getSubjectAlternativeNames(X509Certificate) - Static method in class org.apache.nifi.security.util.CertificateUtils
Returns a list of subject alternative names.
getSupportedCharsets() - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns a List of supported Charsets on this platform.
getTimestampString() - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the current timestamp in a default format.
getTransform() - Method in class org.apache.nifi.authorization.util.IdentityMapping
 
getTrustManagerFactoryFromTrustStore(KeyStore) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the TrustManagerFactory from the provided KeyStore object, initialized.
getTrustManagers(TlsConfiguration) - Static method in class org.apache.nifi.security.util.SslContextFactory
Returns an array of TrustManager implementations based on the provided truststore configurations.
getTruststorePassword() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getTruststorePasswordForLogging() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns "********" if the truststore password is populated, "null" if not.
getTruststorePath() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getTruststorePropertiesForLogging() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns a String[] containing the truststore properties for logging.
getTruststoreType() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
getUniqueSerialNumber() - Static method in class org.apache.nifi.security.util.CertificateUtils
Generates a unique serial number by using the current time in milliseconds left shifted 32 bits (to make room for incrementor) with an incrementor added
getValidKeyLengthsForAlgorithm(String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns a list of valid key lengths in bits for this algorithm.
getWorkFactor() - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
getX509TrustManager(TlsConfiguration) - Static method in class org.apache.nifi.security.util.SslContextFactory
Returns a configured X509TrustManager for the provided configuration.

H

hasFormattedSalt() - Method in enum org.apache.nifi.security.util.KeyDerivationFunction
 
hash(byte[]) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the algorithm-specific calculated hash for the input and generates or retrieves the salt according to the configured salt length.
hash(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the algorithm-specific calculated hash for the input and salt.
hash(byte[]) - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Internal method to hash the raw bytes.
hash(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Internal method to hash the raw bytes.
hash(byte[]) - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Internal method to hash the raw bytes.
hash(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Internal method to hash the raw bytes.
hash(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
Hash raw bytes using provided salt and then leverage SHA-512 to digest the results and truncate to length requested
hash(byte[]) - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Internal method to hash the raw bytes.
hash(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Internal method to hash the raw bytes.
hash(byte[]) - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Internal method to hash the raw bytes.
hash(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Internal method to hash the raw bytes.
HASH_START_INDEX - Static variable in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
 
HashAlgorithm - Enum in org.apache.nifi.security.util.crypto
Enumeration capturing information about the cryptographic hash algorithms
HashAlgorithm(String, int, String) - Constructor for enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
hashBase64(String) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a String representation of the hash in Base 64-encoded format.
hashBase64(String, String) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a String representation of the hash in Base 64-encoded format.
hashBase64(String) - Method in interface org.apache.nifi.security.util.crypto.SecureHasher
Returns a String representation of CHF(input) in Base 64-encoded format.
hashBase64(String, String) - Method in interface org.apache.nifi.security.util.crypto.SecureHasher
Returns a String representation of CHF(input) in Base 64-encoded format.
hashCode() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
hashHex(String) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a String representation of the hash in hex-encoded format.
hashHex(String, String) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a String representation of the hash in hex-encoded format.
hashHex(String) - Method in interface org.apache.nifi.security.util.crypto.SecureHasher
Returns a String representation of CHF(input) in hex-encoded format.
hashHex(String, String) - Method in interface org.apache.nifi.security.util.crypto.SecureHasher
Returns a String representation of CHF(input) in hex-encoded format.
hashLength - Variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
hashRaw(byte[]) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a byte[] representation of SecureHasher.hash(input).
hashRaw(byte[], byte[]) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns a byte[] representation of SecureHasher.hash(input).
hashRaw(byte[]) - Method in interface org.apache.nifi.security.util.crypto.SecureHasher
Returns a byte[] representation of CHF(input).
hashRaw(byte[], byte[]) - Method in interface org.apache.nifi.security.util.crypto.SecureHasher
Returns a byte[] representation of CHF(input).
HashService - Class in org.apache.nifi.security.util.crypto
This class provides a generic service for cryptographic hashing.
HashService() - Constructor for class org.apache.nifi.security.util.crypto.HashService
 
hashValue(HashAlgorithm, String, Charset) - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns the hex-encoded hash of the specified value.
hashValue(HashAlgorithm, String) - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns the hex-encoded hash of the specified value.
hashValueRaw(HashAlgorithm, String, Charset) - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns the raw byte[] hash of the specified value.
hashValueRaw(HashAlgorithm, String) - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns the raw byte[] hash of the specified value.
hashValueRaw(HashAlgorithm, byte[]) - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns the raw byte[] hash of the specified value.
hashValueStreaming(HashAlgorithm, InputStream) - Static method in class org.apache.nifi.security.util.crypto.HashService
Returns the hash of the specified value.
hostname - Variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
hostname(String) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
Set Hostname used for Certificate Common Name and DNS Subject Alternative Names

I

IdentityMapping - Class in org.apache.nifi.authorization.util
Holder to pass around the key, pattern, and replacement from an identity mapping in NiFiProperties.
IdentityMapping(String, Pattern, String) - Constructor for class org.apache.nifi.authorization.util.IdentityMapping
 
IdentityMapping(String, Pattern, String, IdentityMapping.Transform) - Constructor for class org.apache.nifi.authorization.util.IdentityMapping
 
IdentityMapping.Transform - Enum in org.apache.nifi.authorization.util
 
IdentityMappingUtil - Class in org.apache.nifi.authorization.util
 
IdentityMappingUtil() - Constructor for class org.apache.nifi.authorization.util.IdentityMappingUtil
 
initializeSalt(Integer) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Verifies the salt length is valid for this algorithm and if a static salt should be used.
initializeSSLContext(TlsConfiguration, KeyManager[], TrustManager[]) - Static method in class org.apache.nifi.security.util.SslContextFactory
 
integerify(byte[], int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
isAnyKeystorePopulated() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns true if any of the keystore properties is populated, indicating that the caller expects a valid keystore to be generated.
isAnyPopulated(String, String, KeystoreType) - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
isAnyTruststorePopulated() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns true if any of the truststore properties is populated, indicating that the caller expects a valid truststore to be generated.
isArgon2FormattedSalt(String) - Static method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
Returns true if the salt string is a valid Argon2 salt string ($argon2id$v=19$m=4096,t=3,p=1$abcdefghi..{22}).
isBcryptFormattedSalt(String) - Static method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
Returns true if the salt string is a valid Bcrypt salt string ($2a$10$abcdefghi..{22}).
isBlake2() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
Returns true if this hash algorithm is Blake2, as it requires different initialization through BouncyCastle.
isCompatibleWithStrongKDFs() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
isCostValid(Integer) - Static method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Returns true if the provided cost factor is within boundaries.
isDKLengthValid(int, Integer) - Static method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns whether the provided hash (derived key) length is within boundaries given the configured PRF.
isDKLengthValid(Integer) - Static method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Returns whether the provided hash (derived key) length is within boundaries.
isHashLengthValid(Integer) - Static method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns whether the provided hash length is within boundaries.
isIterationCountValid(Integer) - Static method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Returns true if the provided cost factor is within boundaries.
isIterationsValid(Integer) - Static method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns whether the provided iteration count is within boundaries.
isKeyedCipher() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
isKeyPasswordCorrect(URL, KeystoreType, char[], char[]) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns true if the given keystore can be loaded using the given keystore type and password and the default (first) alias can be retrieved with the key-specific password.
isKeystorePopulated() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns true if the necessary properties are populated to instantiate a keystore.
isKeystoreValid() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns true if the necessary properties are populated and the keystore can be successfully instantiated (i.e.
isMemorySizeValid(Integer) - Static method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns whether the provided memory size is within boundaries.
isNValid(Integer, int) - Static method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Returns true if the provided iteration count N is within boundaries.
isParallelismValid(int) - Static method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Returns whether the provided parallelization factor is within boundaries.
isPBECipher() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
isPValid(int, int) - Static method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Returns whether the provided parallelization factor (p value) is within boundaries.
isPValid(int, int) - Static method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Returns true if the provided parallelization factor is within boundaries.
isRValid(int) - Static method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Returns whether the provided block size (r value) is a positive integer or not.
isRValid(int) - Static method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Returns true if the provided block size in bytes is within boundaries.
isSaltLengthValid(Integer) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns whether the provided salt length (saltLength) is within boundaries.
isScryptFormattedSalt(String) - Static method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Returns true if the salt string is a valid Scrypt salt string ($s0$e0801$abcdefghi..{22}).
isSecretKeyEntrySupported(KeystoreType) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Is Secret Key Entry supported for specified Keystore Type
isStorePopulated(String, String, KeystoreType, StandardTlsConfiguration.StoreType) - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
isStoreValid(URL, KeystoreType, char[]) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns true if the given keystore can be loaded using the given keystore type and password.
isStoreValid(String, String, KeystoreType, StandardTlsConfiguration.StoreType) - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
isStrongAlgorithm() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
Returns true if this algorithm is considered cryptographically secure.
isStrongKDF() - Method in enum org.apache.nifi.security.util.KeyDerivationFunction
 
isTlsError(Throwable) - Static method in class org.apache.nifi.security.util.CertificateUtils
Returns true if this exception is due to a TLS problem (either directly or because of its cause, if present).
isTruststorePopulated() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns true if the necessary properties are populated to instantiate a truststore.
isTruststoreValid() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
Returns true if the necessary properties are populated and the truststore can be successfully instantiated (i.e.
isUnlimitedStrength() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
isUsingStaticSalt() - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns true if this instance is configured to use a static salt.
isValidKeyLength(SecretKey) - Method in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
 
isValidKeyLength(int, String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns true if the provided key length is a valid key length for the provided cipher family.
isValidKeyLengthForAlgorithm(int, String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns true if the provided key length is a valid key length for the provided algorithm.
ITERATION_COUNT - Static variable in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
ITERATION_COUNT - Static variable in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
iterationCount - Variable in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
iterationCount - Variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
iterations - Variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
iterations - Variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
IV_DELIMITER - Static variable in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
 
IV_DELIMITER - Static variable in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
IV_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
 

J

JAVA_11_MAX_SUPPORTED_TLS_PROTOCOL_VERSION - Static variable in class org.apache.nifi.security.util.CertificateUtils
 
JAVA_11_SUPPORTED_TLS_PROTOCOL_VERSIONS - Static variable in class org.apache.nifi.security.util.CertificateUtils
 
JAVA_8_MAX_SUPPORTED_TLS_PROTOCOL_VERSION - Static variable in class org.apache.nifi.security.util.CertificateUtils
 
JAVA_8_SUPPORTED_TLS_PROTOCOL_VERSIONS - Static variable in class org.apache.nifi.security.util.CertificateUtils
 
JKS_EXT - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 

K

kdfName - Variable in enum org.apache.nifi.security.util.KeyDerivationFunction
 
key - Variable in class org.apache.nifi.authorization.util.IdentityMapping
 
KEY_ALGORITHM - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
KEY_ALIAS - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
KEY_LENGTH_PATTERN - Static variable in class org.apache.nifi.security.util.crypto.CipherUtility
 
KEY_PAIR_ALGORITHM - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
KEY_SIZE - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
KEY_STORE_EXTENSION - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
KEY_STORE_EXTENSIONS - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
KEY_STORE_PREFIX - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
KEY_STORE_TYPE_PROVIDERS - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
KeyDerivationBcryptSecureHasher - Class in org.apache.nifi.security.util.crypto
Extension of Bcrypt Secure Hasher used for Key Derivation support.
KeyDerivationBcryptSecureHasher(int) - Constructor for class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
Key Deriviation Bcrypt Secure Hasher with specified Derived Key Length
KeyDerivationBcryptSecureHasher(int, int, boolean) - Constructor for class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
Key Deriviation Bcrypt Secure Hasher with specified Derived Key Length and Cost Parameters
KeyDerivationFunction - Enum in org.apache.nifi.security.util
Enumeration capturing essential information about the various key derivation functions that might be supported.
KeyDerivationFunction(String, String) - Constructor for enum org.apache.nifi.security.util.KeyDerivationFunction
 
KeyedCipherProvider - Class in org.apache.nifi.security.util.crypto
 
KeyedCipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.KeyedCipherProvider
 
keyPassword - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
KEYSTORE_ERROR_MSG - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
KEYSTORE_TYPE - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
KeyStoreConfiguration - Class in org.apache.nifi.security.configuration
KeyStore Configuration properties
KeyStoreConfiguration(String, String, String) - Constructor for class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
keystorePassword - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
keystorePath - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
keyStoreType - Variable in class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
keystoreType - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
KeyStoreUtils - Class in org.apache.nifi.security.util
 
KeyStoreUtils() - Constructor for class org.apache.nifi.security.util.KeyStoreUtils
 

L

lastSerialNumberMillis - Static variable in class org.apache.nifi.security.util.CertificateUtils
The time in milliseconds that the last unique serial number was generated
loadEmptyKeyStore(KeystoreType) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Loads and returns an empty Keystore backed by the appropriate provider.
loadKeyManagerFactory(TlsConfiguration) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the initialized KeyManagerFactory.
loadKeyManagerFactory(String, String, String, String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the initialized KeyManagerFactory.
loadKeyStore(String, char[], String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns a loaded KeyStore given the provided configuration values.
loadSecretKeyStore(String, char[], String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Load KeyStore containing Secret Key entries using configured Security Provider
loadTrustManagerFactory(TlsConfiguration) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the initialized TrustManagerFactory.
loadTrustManagerFactory(String, String, String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns the initialized TrustManagerFactory.
loadTrustStore(String, char[], String) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
Returns a loaded KeyStore (acting as a truststore) given the provided configuration values.
location - Variable in class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
log2(int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
LOGGER - Static variable in class org.apache.nifi.authorization.util.IdentityMappingUtil
 
logger - Static variable in class org.apache.nifi.security.util.CertificateUtils
 
logger - Static variable in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
 
logger - Static variable in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
 
logger - Static variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
logger - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
logger - Static variable in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
logger - Static variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
logger - Static variable in class org.apache.nifi.security.util.crypto.CipherProviderFactory
 
logger - Static variable in class org.apache.nifi.security.util.crypto.HashService
 
LOGGER - Static variable in class org.apache.nifi.security.util.crypto.KeyDerivationBcryptSecureHasher
 
logger - Static variable in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
logger - Static variable in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
logger - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
logger - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
logger - Static variable in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
logger - Static variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
logger - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
LOGGER - Static variable in class org.apache.nifi.security.util.crypto.SecureHasherFactory
 
logger - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
logger - Static variable in class org.apache.nifi.security.util.SslContextFactory
 

M

mapIdentity(String, List<IdentityMapping>) - Static method in class org.apache.nifi.authorization.util.IdentityMappingUtil
Checks the given identity against each provided mapping and performs the mapping using the first one that matches.
MASKED_PASSWORD_LOG - Static variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
maskPasswordForLog(String) - Static method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
MAX_COST - Static variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
MAX_IV_LIMIT - Static variable in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
 
MAX_IV_LIMIT - Static variable in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
MAX_PARALLELISM - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
MAX_PASSWORD_LENGTH_BY_ALGORITHM - Static variable in class org.apache.nifi.security.util.crypto.CipherUtility
 
MAX_R - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
MAX_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
MAX_SALT_LIMIT - Static variable in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
MCRYPT_SALT_FORMAT - Static variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
memory - Variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
memory - Variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
millisecondBigInteger - Static variable in class org.apache.nifi.security.util.CertificateUtils
BigInteger value to use for the base of the unique serial number
MIN_COST - Static variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
MIN_DK_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
MIN_DK_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
MIN_HASH_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
MIN_ITERATION_COUNT - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
MIN_ITERATIONS - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
MIN_MEMORY_SIZE_KB - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
MIN_N - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
MIN_P - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
MIN_PARALLELISM - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
MIN_R - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
MIN_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
MIN_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
 
MIN_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
MIN_SALT_LENGTH - Static variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 

N

n - Variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
n - Variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
name - Variable in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
NiFiLegacyCipherProvider - Class in org.apache.nifi.security.util.crypto
Deprecated.
NiFiLegacyCipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
NULL_LOG - Static variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 

O

OPENSSL_EVP_HEADER_MARKER - Static variable in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
OPENSSL_EVP_HEADER_SIZE - Static variable in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
OpenSSLPKCS5CipherProvider - Class in org.apache.nifi.security.util.crypto
 
OpenSSLPKCS5CipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
org.apache.nifi.authorization.util - package org.apache.nifi.authorization.util
 
org.apache.nifi.security.configuration - package org.apache.nifi.security.configuration
 
org.apache.nifi.security.util - package org.apache.nifi.security.util
 
org.apache.nifi.security.util.crypto - package org.apache.nifi.security.util.crypto
 
org.apache.nifi.security.util.crypto.scrypt - package org.apache.nifi.security.util.crypto.scrypt
 

P

p - Variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
p - Variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
parallelism - Variable in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
parallelism - Variable in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
 
parseActualKeyLengthFromAlgorithm(String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
parseCipherFromAlgorithm(String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the cipher algorithm from the full algorithm name.
parseKeyLengthFromAlgorithm(String) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
Returns the cipher key length from the full algorithm name.
parseParameters(String) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Parses the individual values from the encoded params value in the modified-mcrypt format for the salt & hash.
parseSalt(String, byte[], List<Integer>) - Method in class org.apache.nifi.security.util.crypto.Argon2CipherProvider
 
parseSalt(String, byte[]) - Method in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
parseSalt(String, byte[], List<Integer>) - Method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
password - Variable in class org.apache.nifi.security.configuration.KeyStoreConfiguration
 
PASSWORD_LENGTH - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
passwordLengthIsValidForAlgorithmOnLimitedStrengthCrypto(int, EncryptionMethod) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
pattern - Variable in class org.apache.nifi.authorization.util.IdentityMapping
 
PBECipherProvider - Interface in org.apache.nifi.security.util.crypto
 
pbkdf2(String, byte[], byte[], int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Implementation of PBKDF2 (RFC2898).
pbkdf2(Mac, byte[], int, byte[], int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Implementation of PBKDF2 (RFC2898).
PBKDF2CipherProvider - Class in org.apache.nifi.security.util.crypto
 
PBKDF2CipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
Instantiates a PBKDF2 cipher provider with the default number of iterations and the default PRF.
PBKDF2CipherProvider(String, int) - Constructor for class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
Instantiates a PBKDF2 cipher provider with the specified number of iterations and the specified PRF.
PBKDF2SecureHasher - Class in org.apache.nifi.security.util.crypto
Provides an implementation of PBKDF2 for secure password hashing.
PBKDF2SecureHasher() - Constructor for class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Instantiates a PBKDF2 secure hasher with the default number of iterations and the default PRF.
PBKDF2SecureHasher(int) - Constructor for class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Instantiates a PBKDF2 secure hasher with the default number of iterations and the default PRF using the specified derived key length.
PBKDF2SecureHasher(int, int) - Constructor for class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Instantiates a PBKDF2 secure hasher with the provided number of iterations and derived key (output) length in bytes, using the default PRF (SHA512).
PBKDF2SecureHasher(String, Integer, int, int) - Constructor for class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Instantiates a PBKDF2 secure hasher using the provided cost parameters.
PEER_NOT_AUTHENTICATED_MSG - Static variable in class org.apache.nifi.security.util.CertificateUtils
 
PKCS12_EXT - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
prf - Variable in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
prf - Variable in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
processStreams(Cipher, InputStream, OutputStream) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
protocol - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
provider - Variable in enum org.apache.nifi.security.util.EncryptionMethod
 

R

r(int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
r - Variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
r - Variable in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
 
RANDOM_BYTES_LENGTH - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
RandomIVPBECipherProvider - Class in org.apache.nifi.security.util.crypto
 
RandomIVPBECipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
readBytesFromInputStream(InputStream, String, int, byte[]) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
readIV(InputStream) - Method in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
 
readIV(InputStream) - Method in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
readSalt(InputStream) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
readSalt(EncryptionMethod, InputStream) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
Returns the salt provided as part of the cipher stream, or throws an exception if one cannot be detected.
readSalt(InputStream) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
Returns the salt provided as part of the cipher stream, or throws an exception if one cannot be detected.
readSalt(InputStream) - Method in interface org.apache.nifi.security.util.crypto.PBECipherProvider
Returns the salt provided as part of the cipher stream, or throws an exception if one cannot be detected.
readSalt(InputStream) - Method in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
registeredCipherProviders - Static variable in class org.apache.nifi.security.util.crypto.CipherProviderFactory
 
registeredSecureHashers - Static variable in class org.apache.nifi.security.util.crypto.SecureHasherFactory
 
reorderDn(String) - Static method in class org.apache.nifi.security.util.CertificateUtils
Reorders DN to the order the elements appear in the RFC 2253 table
replacementValue - Variable in class org.apache.nifi.authorization.util.IdentityMapping
 
resolvePRF(String) - Method in class org.apache.nifi.security.util.crypto.PBKDF2CipherProvider
 
resolvePRF(String) - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
 
reverseX500Name(X500Name) - Static method in class org.apache.nifi.security.util.CertificateUtils
Reverses the X500Name in order make the certificate be in the right order [see http://stackoverflow.com/questions/7567837/attributes-reversed-in-certificate-subject-and-issuer/12645265]

S

salsa20_8(byte[]) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
SALT_DELIMITER - Static variable in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
saltLength - Variable in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
 
Scrypt - Class in org.apache.nifi.security.util.crypto.scrypt
Copyright (C) 2011 - Will Glozer.
Scrypt() - Constructor for class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
scrypt(String, int, int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Hash the supplied plaintext password and generate output in the format described below:

The hashed output is an extended implementation of the Modular Crypt Format that also includes the scrypt algorithm parameters.

scrypt(String, byte[], int, int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Hash the supplied plaintext password and generate output in the format described in Scrypt.scrypt(String, int, int, int, int).
scrypt(byte[], byte[], int, int, int, int) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Hash the supplied input and generate raw unencoded output.
SCRYPT_PATTERN - Static variable in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
SCRYPT_SALT_FORMAT - Static variable in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
 
ScryptCipherProvider - Class in org.apache.nifi.security.util.crypto
 
ScryptCipherProvider() - Constructor for class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Instantiates a Scrypt cipher provider with the default parameters N=2^14, r=8, p=1.
ScryptCipherProvider(int, int, int) - Constructor for class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Instantiates a Scrypt cipher provider with the specified N, r, p values.
ScryptSecureHasher - Class in org.apache.nifi.security.util.crypto
Provides an implementation of Scrypt for secure password hashing.
ScryptSecureHasher() - Constructor for class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Instantiates an Scrypt secure hasher using the default cost parameters (N = ScryptSecureHasher.DEFAULT_N, r = ScryptSecureHasher.DEFAULT_R, p = ScryptSecureHasher.DEFAULT_R, dkLen = ScryptSecureHasher.DEFAULT_DK_LENGTH).
ScryptSecureHasher(int) - Constructor for class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Instantiates an Scrypt secure hasher using the default cost parameters and specified derived key length
ScryptSecureHasher(int, int, int, int) - Constructor for class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Instantiates an Scrypt secure hasher using the provided cost parameters.
ScryptSecureHasher(int, int, int, int, int) - Constructor for class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Instantiates an Scrypt secure hasher using the provided cost parameters.
SECRET_KEY_STORE_PROVIDERS - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
SecureHasher - Interface in org.apache.nifi.security.util.crypto
An interface which specifies that implementations should provide a cryptographic hash function (CHF) which accepts input and returns a deterministic, (mathematically-difficult) irreversible value.
SecureHasherException - Exception in org.apache.nifi.security.util.crypto
Exception indicating an error occurred instantiating a SecureHasher.
SecureHasherException(String) - Constructor for exception org.apache.nifi.security.util.crypto.SecureHasherException
 
SecureHasherException(String, Throwable) - Constructor for exception org.apache.nifi.security.util.crypto.SecureHasherException
 
SecureHasherFactory - Class in org.apache.nifi.security.util.crypto
Provides a factory for SecureHasher implementations.
SecureHasherFactory() - Constructor for class org.apache.nifi.security.util.crypto.SecureHasherFactory
 
serialNumberIncrementor - Static variable in class org.apache.nifi.security.util.CertificateUtils
An incrementor to add uniqueness to serial numbers generated in the same millisecond
serialVersionUID - Static variable in exception org.apache.nifi.security.util.crypto.SecureHasherException
 
setKeyStore(PrivateKey, X509Certificate) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
setTrustStore(X509Certificate) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
SIGNING_ALGORITHM - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
SIGNING_ALGORITHM - Static variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
smix(byte[], int, int, int, byte[], byte[]) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
 
SslContextFactory - Class in org.apache.nifi.security.util
A factory for creating SSL contexts using the application's security properties.
SslContextFactory() - Constructor for class org.apache.nifi.security.util.SslContextFactory
 
sslContextToString(SSLContext) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
 
sslServerSocketToString(SSLServerSocket) - Static method in class org.apache.nifi.security.util.KeyStoreUtils
 
StandardTlsConfiguration - Class in org.apache.nifi.security.util
This class serves as a concrete immutable domain object (acting as an internal DTO) for the various keystore and truststore configuration settings necessary for building SSLContexts.
StandardTlsConfiguration() - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Default constructor present for testing and completeness.
StandardTlsConfiguration(String, String, KeystoreType, String, String, KeystoreType) - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Instantiates a container object with the given configuration values.
StandardTlsConfiguration(String, String, String, KeystoreType, String, String, KeystoreType) - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Instantiates a container object with the given configuration values.
StandardTlsConfiguration(String, String, String, String, String, String, String) - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Instantiates a container object with the given configuration values.
StandardTlsConfiguration(String, String, String, String, String, String, String, String) - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Instantiates a container object with the given configuration values.
StandardTlsConfiguration(String, String, String, KeystoreType, String, String, KeystoreType, String) - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Instantiates a container object with the given configuration values.
StandardTlsConfiguration(TlsConfiguration) - Constructor for class org.apache.nifi.security.util.StandardTlsConfiguration
Instantiates a container object with a deep copy of the given configuration values.
StandardTlsConfiguration.StoreType - Enum in org.apache.nifi.security.util
 
STATIC_SALT - Static variable in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
 
storeKeyStore(KeyStore, char[]) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
StoreType() - Constructor for enum org.apache.nifi.security.util.StandardTlsConfiguration.StoreType
 
SUN_JSSE_PROVIDER_NAME - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
SUN_PROVIDER_NAME - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 

T

TemporaryKeyStoreBuilder - Class in org.apache.nifi.security.util
KeyStore Factory for creating temporary files primarily used for testing
TemporaryKeyStoreBuilder() - Constructor for class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
TEST_KEYSTORE_PREFIX - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
TEST_TRUSTSTORE_PREFIX - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
TLS_PROTOCOL_VERSION - Static variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
toString() - Method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
 
toString() - Method in enum org.apache.nifi.security.util.EncryptionMethod
 
toString() - Method in enum org.apache.nifi.security.util.KeyDerivationFunction
 
toString() - Method in class org.apache.nifi.security.util.StandardTlsConfiguration
 
traditionalHash(HashAlgorithm, byte[]) - Static method in class org.apache.nifi.security.util.crypto.HashService
 
traditionalHashStreaming(HashAlgorithm, InputStream) - Static method in class org.apache.nifi.security.util.crypto.HashService
 
transform - Variable in class org.apache.nifi.authorization.util.IdentityMapping
 
Transform() - Constructor for enum org.apache.nifi.authorization.util.IdentityMapping.Transform
 
translateSalt(String) - Static method in class org.apache.nifi.security.util.crypto.ScryptCipherProvider
Translates a salt from the mcrypt format $n$r$p$salt_hex to the Java scrypt format $s0$params$saltBase64.
TRUSTSTORE_ERROR_MSG - Static variable in class org.apache.nifi.security.util.KeyStoreUtils
 
truststorePassword - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
trustStorePassword - Variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
trustStorePassword(String) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
Set Trust Store Password used for protected generated Trust Store file
truststorePath - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
truststoreType - Variable in class org.apache.nifi.security.util.StandardTlsConfiguration
 
trustStoreType - Variable in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
 
trustStoreType(String) - Method in class org.apache.nifi.security.util.TemporaryKeyStoreBuilder
Set Trust Store Type used for storing Trust Store files

U

unlimitedStrength - Variable in enum org.apache.nifi.security.util.EncryptionMethod
 
UPPER_BOUNDARY - Static variable in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
 
usingStaticSalt - Variable in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
 
UTF_16_DESCRIPTION - Static variable in class org.apache.nifi.security.util.crypto.HashService
 

V

VALID_KEY_LENGTHS - Static variable in class org.apache.nifi.security.util.crypto.AESKeyedCipherProvider
 
validateInput(String) - Method in class org.apache.nifi.security.util.crypto.AbstractSecureHasher
Returns the valid input String (if the algorithm accepts empty input, changes null to ""; if not, throws IllegalArgumentException).
validateParameters(Integer, Integer, int, Integer, Integer) - Method in class org.apache.nifi.security.util.crypto.Argon2SecureHasher
Enforces valid Argon2 secure hasher cost parameters are provided.
validateParameters(Integer, Integer) - Method in class org.apache.nifi.security.util.crypto.BcryptSecureHasher
Enforces valid Scrypt secure hasher cost parameters are provided.
validateParameters(String, Integer, int, int) - Method in class org.apache.nifi.security.util.crypto.PBKDF2SecureHasher
Enforces valid PBKDF2 secure hasher cost parameters are provided.
validateParameters(Integer, Integer, int, Integer, Integer) - Method in class org.apache.nifi.security.util.crypto.ScryptSecureHasher
Enforces valid Scrypt secure hasher cost parameters are provided.
validateSalt(EncryptionMethod, byte[]) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
validateSalt(EncryptionMethod, byte[]) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
valueOf(String) - Static method in enum org.apache.nifi.authorization.util.IdentityMapping.Transform
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.nifi.security.util.EncryptionMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.nifi.security.util.KeyDerivationFunction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.nifi.security.util.StandardTlsConfiguration.StoreType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.nifi.authorization.util.IdentityMapping.Transform
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.nifi.security.util.crypto.HashAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.nifi.security.util.EncryptionMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.nifi.security.util.KeyDerivationFunction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.nifi.security.util.StandardTlsConfiguration.StoreType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyHashFormat(String) - Static method in class org.apache.nifi.security.util.crypto.scrypt.Scrypt
Returns true if the provided hash is a valid scrypt hash.

W

workFactor - Variable in class org.apache.nifi.security.util.crypto.BcryptCipherProvider
 
wrapStreamForCounting(InputStream) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
wrapStreamForCounting(OutputStream) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
writeBytesToOutputStream(OutputStream, byte[], String, byte[]) - Static method in class org.apache.nifi.security.util.crypto.CipherUtility
 
writeIV(byte[], OutputStream) - Method in class org.apache.nifi.security.util.crypto.KeyedCipherProvider
 
writeIV(byte[], OutputStream) - Method in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
writeSalt(byte[], OutputStream) - Method in class org.apache.nifi.security.util.crypto.NiFiLegacyCipherProvider
Deprecated.
 
writeSalt(byte[], OutputStream) - Method in class org.apache.nifi.security.util.crypto.OpenSSLPKCS5CipherProvider
 
writeSalt(byte[], OutputStream) - Method in interface org.apache.nifi.security.util.crypto.PBECipherProvider
Writes the salt provided as part of the cipher stream, or throws an exception if it cannot be written.
writeSalt(byte[], OutputStream) - Method in class org.apache.nifi.security.util.crypto.RandomIVPBECipherProvider
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2023 Apache NiFi Project. All rights reserved.