Index
All Classes and Interfaces|All Packages|Constant Field Values
$
- $2A - Enum constant in enum class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
- $2B - Enum constant in enum class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
- $2Y - Enum constant in enum class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
A
- AbstractPasswordEncoder - Class in org.springframework.security.crypto.password
-
Abstract base class for password encoders
- AbstractPasswordEncoder() - Constructor for class org.springframework.security.crypto.password.AbstractPasswordEncoder
- AesBytesEncryptor - Class in org.springframework.security.crypto.encrypt
-
Encryptor that uses AES encryption.
- AesBytesEncryptor(String, CharSequence) - Constructor for class org.springframework.security.crypto.encrypt.AesBytesEncryptor
-
Constructs an encryptor that uses AES encryption.
- AesBytesEncryptor(String, CharSequence, BytesKeyGenerator) - Constructor for class org.springframework.security.crypto.encrypt.AesBytesEncryptor
-
Constructs an encryptor that uses AES encryption.
- AesBytesEncryptor(String, CharSequence, BytesKeyGenerator, AesBytesEncryptor.CipherAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.AesBytesEncryptor
-
Constructs an encryptor that uses AES encryption.
- AesBytesEncryptor(SecretKey, BytesKeyGenerator, AesBytesEncryptor.CipherAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.AesBytesEncryptor
-
Constructs an encryptor that uses AES encryption.
- AesBytesEncryptor.CipherAlgorithm - Enum Class in org.springframework.security.crypto.encrypt
- Argon2PasswordEncoder - Class in org.springframework.security.crypto.argon2
-
Implementation of PasswordEncoder that uses the Argon2 hashing function.
- Argon2PasswordEncoder(int, int, int, int, int) - Constructor for class org.springframework.security.crypto.argon2.Argon2PasswordEncoder
-
Constructs an Argon2 password encoder with the provided parameters.
B
- Base64 - Class in org.springframework.security.crypto.codec
-
Deprecated.Use java.util.Base64
- Base64StringKeyGenerator - Class in org.springframework.security.crypto.keygen
-
A StringKeyGenerator that generates base64-encoded String keys.
- Base64StringKeyGenerator() - Constructor for class org.springframework.security.crypto.keygen.Base64StringKeyGenerator
-
Creates an instance with keyLength of 32 bytes and standard Base64 encoding.
- Base64StringKeyGenerator(int) - Constructor for class org.springframework.security.crypto.keygen.Base64StringKeyGenerator
-
Creates an instance with the provided key length in bytes and standard Base64 encoding.
- Base64StringKeyGenerator(Base64.Encoder) - Constructor for class org.springframework.security.crypto.keygen.Base64StringKeyGenerator
-
Creates an instance with keyLength of 32 bytes and the provided encoder.
- Base64StringKeyGenerator(Base64.Encoder, int) - Constructor for class org.springframework.security.crypto.keygen.Base64StringKeyGenerator
-
Creates an instance with the provided key length and encoder.
- BCrypt - Class in org.springframework.security.crypto.bcrypt
-
BCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres.
- BCrypt() - Constructor for class org.springframework.security.crypto.bcrypt.BCrypt
- BCryptPasswordEncoder - Class in org.springframework.security.crypto.bcrypt
-
Implementation of PasswordEncoder that uses the BCrypt strong hashing function.
- BCryptPasswordEncoder() - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder(int) - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder(int, SecureRandom) - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion) - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion, int) - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion, int, SecureRandom) - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder(BCryptPasswordEncoder.BCryptVersion, SecureRandom) - Constructor for class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- BCryptPasswordEncoder.BCryptVersion - Enum Class in org.springframework.security.crypto.bcrypt
-
Stores the default bcrypt version for use in configuration.
- BouncyCastleAesCbcBytesEncryptor - Class in org.springframework.security.crypto.encrypt
-
An Encryptor equivalent to
AesBytesEncryptor
usingAesBytesEncryptor.CipherAlgorithm.CBC
that uses Bouncy Castle instead of JCE. - BouncyCastleAesCbcBytesEncryptor(String, CharSequence) - Constructor for class org.springframework.security.crypto.encrypt.BouncyCastleAesCbcBytesEncryptor
- BouncyCastleAesCbcBytesEncryptor(String, CharSequence, BytesKeyGenerator) - Constructor for class org.springframework.security.crypto.encrypt.BouncyCastleAesCbcBytesEncryptor
- BouncyCastleAesGcmBytesEncryptor - Class in org.springframework.security.crypto.encrypt
-
An Encryptor equivalent to
AesBytesEncryptor
usingAesBytesEncryptor.CipherAlgorithm.GCM
that uses Bouncy Castle instead of JCE. - BouncyCastleAesGcmBytesEncryptor(String, CharSequence) - Constructor for class org.springframework.security.crypto.encrypt.BouncyCastleAesGcmBytesEncryptor
- BouncyCastleAesGcmBytesEncryptor(String, CharSequence, BytesKeyGenerator) - Constructor for class org.springframework.security.crypto.encrypt.BouncyCastleAesGcmBytesEncryptor
- BytesEncryptor - Interface in org.springframework.security.crypto.encrypt
-
Service interface for symmetric data encryption.
- BytesKeyGenerator - Interface in org.springframework.security.crypto.keygen
-
A generator for unique byte array-based keys.
C
- canDecrypt() - Method in class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- CBC - Enum constant in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
- checkpw(byte[], String) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Check that a password (as a byte array) matches a previously hashed one
- checkpw(String, String) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Check that a plaintext password matches a previously hashed one
- concatenate(byte[]...) - Static method in class org.springframework.security.crypto.util.EncodingUtils
-
Combine the individual byte arrays into one array.
- createCipher() - Method in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
- createDelegatingPasswordEncoder() - Static method in class org.springframework.security.crypto.factory.PasswordEncoderFactories
-
Creates a
DelegatingPasswordEncoder
with default mappings.
D
- decode(byte[]) - Static method in class org.springframework.security.crypto.codec.Base64
-
Deprecated.
- decode(byte[]) - Static method in class org.springframework.security.crypto.codec.Utf8
-
Decode the bytes in UTF-8 form into a String.
- decode(CharSequence) - Static method in class org.springframework.security.crypto.codec.Hex
- DECODE - Static variable in class org.springframework.security.crypto.codec.Base64
-
Deprecated.Specify decoding in first bit.
- decrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.AesBytesEncryptor
- decrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.BouncyCastleAesCbcBytesEncryptor
- decrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.BouncyCastleAesGcmBytesEncryptor
- decrypt(byte[]) - Method in interface org.springframework.security.crypto.encrypt.BytesEncryptor
-
Decrypt the byte array.
- decrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- decrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- decrypt(String) - Method in class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- decrypt(String) - Method in class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- decrypt(String) - Method in interface org.springframework.security.crypto.encrypt.TextEncryptor
-
Decrypt the encrypted text string.
- DEFAULT - Enum constant in enum class org.springframework.security.crypto.encrypt.RsaAlgorithm
- defaultIvGenerator() - Method in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
- defaultsForSpringSecurity_v4_1() - Static method in class org.springframework.security.crypto.scrypt.SCryptPasswordEncoder
-
Deprecated.
- defaultsForSpringSecurity_v5_2() - Static method in class org.springframework.security.crypto.argon2.Argon2PasswordEncoder
-
Deprecated.
- defaultsForSpringSecurity_v5_5() - Static method in class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
-
Deprecated.
- defaultsForSpringSecurity_v5_8() - Static method in class org.springframework.security.crypto.argon2.Argon2PasswordEncoder
-
Constructs an Argon2 password encoder with a salt length of 16 bytes, a hash length of 32 bytes, parallelism of 1, memory cost of 1 << 14 and 2 iterations.
- defaultsForSpringSecurity_v5_8() - Static method in class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
-
Constructs a PBKDF2 password encoder with no additional secret value.
- defaultsForSpringSecurity_v5_8() - Static method in class org.springframework.security.crypto.scrypt.SCryptPasswordEncoder
-
Constructs a SCrypt password encoder with cpu cost of 65,536, memory cost of 8, parallelization of 1, a key length of 32 and a salt length of 16 bytes.
- DelegatingPasswordEncoder - Class in org.springframework.security.crypto.password
-
A password encoder that delegates to another PasswordEncoder based upon a prefixed identifier.
- DelegatingPasswordEncoder(String, Map<String, PasswordEncoder>) - Constructor for class org.springframework.security.crypto.password.DelegatingPasswordEncoder
-
Creates a new instance
- DelegatingPasswordEncoder(String, Map<String, PasswordEncoder>, String, String) - Constructor for class org.springframework.security.crypto.password.DelegatingPasswordEncoder
-
Creates a new instance
- delux(CharSequence, CharSequence) - Static method in class org.springframework.security.crypto.encrypt.Encryptors
-
Creates a text encryptor that uses "stronger" password-based encryption.
- DO_BREAK_LINES - Static variable in class org.springframework.security.crypto.codec.Base64
-
Deprecated.Do break lines when encoding.
E
- encode(byte[]) - Static method in class org.springframework.security.crypto.codec.Base64
-
Deprecated.
- encode(byte[]) - Static method in class org.springframework.security.crypto.codec.Hex
- encode(CharSequence) - Method in class org.springframework.security.crypto.argon2.Argon2PasswordEncoder
- encode(CharSequence) - Method in class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- encode(CharSequence) - Static method in class org.springframework.security.crypto.codec.Utf8
-
Get the bytes of the String in UTF-8 encoded form.
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.AbstractPasswordEncoder
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.DelegatingPasswordEncoder
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.LdapShaPasswordEncoder
-
Deprecated.Calculates the hash of password (and salt bytes, if supplied) and returns a base64 encoded concatenation of the hash and salt, prefixed with {SHA} (or {SSHA} if salt was used).
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.Md4PasswordEncoder
-
Deprecated.Encodes the rawPass using a MessageDigest.
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.MessageDigestPasswordEncoder
-
Deprecated.Encodes the rawPass using a MessageDigest.
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.NoOpPasswordEncoder
-
Deprecated.
- encode(CharSequence) - Method in interface org.springframework.security.crypto.password.PasswordEncoder
-
Encode the raw password.
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
- encode(CharSequence) - Method in class org.springframework.security.crypto.password.StandardPasswordEncoder
-
Deprecated.
- encode(CharSequence) - Method in class org.springframework.security.crypto.scrypt.SCryptPasswordEncoder
- encode(CharSequence, byte[]) - Method in class org.springframework.security.crypto.password.AbstractPasswordEncoder
- ENCODE - Static variable in class org.springframework.security.crypto.codec.Base64
-
Deprecated.Specify encoding in first bit.
- encodeAndConcatenate(CharSequence, byte[]) - Method in class org.springframework.security.crypto.password.AbstractPasswordEncoder
- EncodingUtils - Class in org.springframework.security.crypto.util
-
Static helper for encoding data.
- encrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.AesBytesEncryptor
- encrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.BouncyCastleAesCbcBytesEncryptor
- encrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.BouncyCastleAesGcmBytesEncryptor
- encrypt(byte[]) - Method in interface org.springframework.security.crypto.encrypt.BytesEncryptor
-
Encrypt the byte array.
- encrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- encrypt(byte[]) - Method in class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- encrypt(String) - Method in class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- encrypt(String) - Method in class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- encrypt(String) - Method in interface org.springframework.security.crypto.encrypt.TextEncryptor
-
Encrypt the raw text string.
- Encryptors - Class in org.springframework.security.crypto.encrypt
-
Factory for commonly used encryptors.
G
- GCM - Enum constant in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
- generateKey() - Method in class org.springframework.security.crypto.keygen.Base64StringKeyGenerator
- generateKey() - Method in interface org.springframework.security.crypto.keygen.BytesKeyGenerator
-
Generate a new key.
- generateKey() - Method in interface org.springframework.security.crypto.keygen.StringKeyGenerator
- gensalt() - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method, selecting a reasonable default for the number of hashing rounds to apply
- gensalt(int) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(int, SecureRandom) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(String) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
- gensalt(String, int) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(String, int, SecureRandom) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- getByteLength(RSAKey) - Static method in class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- getInstance() - Static method in class org.springframework.security.crypto.password.NoOpPasswordEncoder
-
Deprecated.Get the singleton
NoOpPasswordEncoder
. - getJceName() - Method in enum class org.springframework.security.crypto.encrypt.RsaAlgorithm
- getKeyLength() - Method in interface org.springframework.security.crypto.keygen.BytesKeyGenerator
-
Get the length, in bytes, of keys created by this generator.
- getKeyPair(String) - Method in class org.springframework.security.crypto.encrypt.KeyStoreKeyFactory
- getKeyPair(String, char[]) - Method in class org.springframework.security.crypto.encrypt.KeyStoreKeyFactory
- getMaxLength() - Method in enum class org.springframework.security.crypto.encrypt.RsaAlgorithm
- getParameterSpec(byte[]) - Method in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
- getPublicKey() - Method in interface org.springframework.security.crypto.encrypt.RsaKeyHolder
- getPublicKey() - Method in class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- getPublicKey() - Method in class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- getVersion() - Method in enum class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
H
- hashpw(byte[], String) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Hash a password using the OpenBSD bcrypt scheme
- hashpw(String, String) - Static method in class org.springframework.security.crypto.bcrypt.BCrypt
-
Hash a password using the OpenBSD bcrypt scheme
- Hex - Class in org.springframework.security.crypto.codec
-
Hex data encoder.
I
- isBase64(byte[]) - Static method in class org.springframework.security.crypto.codec.Base64
-
Deprecated.
K
- KeyGenerators - Class in org.springframework.security.crypto.keygen
-
Factory for commonly used key generators.
- KeyStoreKeyFactory - Class in org.springframework.security.crypto.encrypt
- KeyStoreKeyFactory(Resource, char[]) - Constructor for class org.springframework.security.crypto.encrypt.KeyStoreKeyFactory
- KeyStoreKeyFactory(Resource, char[], String) - Constructor for class org.springframework.security.crypto.encrypt.KeyStoreKeyFactory
L
- LdapShaPasswordEncoder - Class in org.springframework.security.crypto.password
-
Deprecated.Digest based password encoding is not considered secure. Instead use an adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or SCryptPasswordEncoder. Even better use
DelegatingPasswordEncoder
which supports password upgrades. There are no plans to remove this support. It is deprecated to indicate that this is a legacy implementation and using it is considered insecure. - LdapShaPasswordEncoder() - Constructor for class org.springframework.security.crypto.password.LdapShaPasswordEncoder
-
Deprecated.
- LdapShaPasswordEncoder(BytesKeyGenerator) - Constructor for class org.springframework.security.crypto.password.LdapShaPasswordEncoder
-
Deprecated.
M
- matches(byte[], byte[]) - Static method in class org.springframework.security.crypto.password.AbstractPasswordEncoder
-
Constant time comparison to prevent against timing attacks.
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.argon2.Argon2PasswordEncoder
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.AbstractPasswordEncoder
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.DelegatingPasswordEncoder
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.LdapShaPasswordEncoder
-
Deprecated.Checks the validity of an unencoded password against an encoded one in the form "{SSHA}sQuQF8vj8Eg2Y1hPdh3bkQhCKQBgjhQI".
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.Md4PasswordEncoder
-
Deprecated.Takes a previously encoded password and compares it with a rawpassword after mixing in the salt and encoding that value
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.MessageDigestPasswordEncoder
-
Deprecated.Takes a previously encoded password and compares it with a rawpassword after mixing in the salt and encoding that value
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.NoOpPasswordEncoder
-
Deprecated.
- matches(CharSequence, String) - Method in interface org.springframework.security.crypto.password.PasswordEncoder
-
Verify the encoded password obtained from storage matches the submitted raw password after it too is encoded.
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.password.StandardPasswordEncoder
-
Deprecated.
- matches(CharSequence, String) - Method in class org.springframework.security.crypto.scrypt.SCryptPasswordEncoder
- Md4PasswordEncoder - Class in org.springframework.security.crypto.password
-
Deprecated.Digest based password encoding is not considered secure. Instead use an adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or SCryptPasswordEncoder. Even better use
DelegatingPasswordEncoder
which supports password upgrades. There are no plans to remove this support. It is deprecated to indicate that this is a legacy implementation and using it is considered insecure. - Md4PasswordEncoder() - Constructor for class org.springframework.security.crypto.password.Md4PasswordEncoder
-
Deprecated.
- MessageDigestPasswordEncoder - Class in org.springframework.security.crypto.password
-
Deprecated.Digest based password encoding is not considered secure. Instead use an adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or SCryptPasswordEncoder. Even better use
DelegatingPasswordEncoder
which supports password upgrades. There are no plans to remove this support. It is deprecated to indicate that this is a legacy implementation and using it is considered insecure. - MessageDigestPasswordEncoder(String) - Constructor for class org.springframework.security.crypto.password.MessageDigestPasswordEncoder
-
Deprecated.The digest algorithm to use Supports the named Message Digest Algorithms in the Java environment.
N
- NO_OPTIONS - Static variable in class org.springframework.security.crypto.codec.Base64
-
Deprecated.No options specified.
- NO_PASSWORD_ENCODER_MAPPED - Static variable in class org.springframework.security.crypto.password.DelegatingPasswordEncoder
- NO_PASSWORD_ENCODER_PREFIX - Static variable in class org.springframework.security.crypto.password.DelegatingPasswordEncoder
- NoOpPasswordEncoder - Class in org.springframework.security.crypto.password
-
Deprecated.This PasswordEncoder is not secure. Instead use an adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or SCryptPasswordEncoder. Even better use
DelegatingPasswordEncoder
which supports password upgrades. There are no plans to remove this support. It is deprecated to indicate that this is a legacy implementation and using it is considered insecure. - noOpText() - Static method in class org.springframework.security.crypto.encrypt.Encryptors
-
Creates a text encryptor that performs no encryption.
O
- OAEP - Enum constant in enum class org.springframework.security.crypto.encrypt.RsaAlgorithm
- ORDERED - Static variable in class org.springframework.security.crypto.codec.Base64
-
Deprecated.Encode using the special "ordered" dialect of Base64.
- org.springframework.security.crypto.argon2 - package org.springframework.security.crypto.argon2
- org.springframework.security.crypto.bcrypt - package org.springframework.security.crypto.bcrypt
- org.springframework.security.crypto.codec - package org.springframework.security.crypto.codec
-
Internal codec classes.
- org.springframework.security.crypto.encrypt - package org.springframework.security.crypto.encrypt
- org.springframework.security.crypto.factory - package org.springframework.security.crypto.factory
- org.springframework.security.crypto.keygen - package org.springframework.security.crypto.keygen
- org.springframework.security.crypto.password - package org.springframework.security.crypto.password
- org.springframework.security.crypto.scrypt - package org.springframework.security.crypto.scrypt
- org.springframework.security.crypto.util - package org.springframework.security.crypto.util
P
- PasswordEncoder - Interface in org.springframework.security.crypto.password
-
Service interface for encoding passwords.
- PasswordEncoderFactories - Class in org.springframework.security.crypto.factory
-
Used for creating
PasswordEncoder
instances - Pbkdf2PasswordEncoder - Class in org.springframework.security.crypto.password
-
A
PasswordEncoder
implementation that uses PBKDF2 with : a configurable random salt value length (default is 16 bytes) a configurable number of iterations (default is 310000) a configurable key derivation function (seePbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm
) a configurable secret appended to the random salt (default is empty) The algorithm is invoked on the concatenated bytes of the salt, secret and password. - Pbkdf2PasswordEncoder(CharSequence, int, int, int) - Constructor for class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
-
Deprecated.
- Pbkdf2PasswordEncoder(CharSequence, int, int, Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm) - Constructor for class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
-
Constructs a PBKDF2 password encoder with a secret value as well as salt length, iterations and algorithm.
- Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm - Enum Class in org.springframework.security.crypto.password
-
The Algorithm used for creating the
SecretKeyFactory
- PBKDF2WithHmacSHA1 - Enum constant in enum class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm
- PBKDF2WithHmacSHA256 - Enum constant in enum class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm
- PBKDF2WithHmacSHA512 - Enum constant in enum class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm
R
- RsaAlgorithm - Enum Class in org.springframework.security.crypto.encrypt
- RsaKeyHolder - Interface in org.springframework.security.crypto.encrypt
- RsaRawEncryptor - Class in org.springframework.security.crypto.encrypt
- RsaRawEncryptor() - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(String) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(String, PublicKey, PrivateKey) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(String, PublicKey, PrivateKey, RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(KeyPair) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(KeyPair, RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(PublicKey) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaRawEncryptor(RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaRawEncryptor
- RsaSecretEncryptor - Class in org.springframework.security.crypto.encrypt
- RsaSecretEncryptor() - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(String) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(String, PublicKey, PrivateKey) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(String, PublicKey, PrivateKey, RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(String, PublicKey, PrivateKey, RsaAlgorithm, String, boolean) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(String, RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(String, RsaAlgorithm, String) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(KeyPair) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(KeyPair, RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(KeyPair, RsaAlgorithm, String) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(KeyPair, RsaAlgorithm, String, boolean) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(PublicKey) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(PublicKey, RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(PublicKey, RsaAlgorithm, String) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(PublicKey, RsaAlgorithm, String, boolean) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(RsaAlgorithm) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(RsaAlgorithm, boolean) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(RsaAlgorithm, String) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
- RsaSecretEncryptor(RsaAlgorithm, String, boolean) - Constructor for class org.springframework.security.crypto.encrypt.RsaSecretEncryptor
S
- SCryptPasswordEncoder - Class in org.springframework.security.crypto.scrypt
-
Implementation of PasswordEncoder that uses the SCrypt hashing function.
- SCryptPasswordEncoder(int, int, int, int, int) - Constructor for class org.springframework.security.crypto.scrypt.SCryptPasswordEncoder
-
Constructs a SCrypt password encoder with the provided parameters.
- secureRandom() - Static method in class org.springframework.security.crypto.keygen.KeyGenerators
-
Create a
BytesKeyGenerator
that uses aSecureRandom
to generate keys of 8 bytes in length. - secureRandom(int) - Static method in class org.springframework.security.crypto.keygen.KeyGenerators
-
Create a
BytesKeyGenerator
that uses aSecureRandom
to generate keys of a custom length. - setAlgorithm(Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm) - Method in class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
-
Sets the algorithm to use.
- setDefaultPasswordEncoderForMatches(PasswordEncoder) - Method in class org.springframework.security.crypto.password.DelegatingPasswordEncoder
-
Sets the
PasswordEncoder
to delegate to forDelegatingPasswordEncoder.matches(CharSequence, String)
if the id is not mapped to aPasswordEncoder
. - setEncodeHashAsBase64(boolean) - Method in class org.springframework.security.crypto.password.Md4PasswordEncoder
-
Deprecated.
- setEncodeHashAsBase64(boolean) - Method in class org.springframework.security.crypto.password.MessageDigestPasswordEncoder
-
Deprecated.
- setEncodeHashAsBase64(boolean) - Method in class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder
-
Sets if the resulting hash should be encoded as Base64.
- setForceLowerCasePrefix(boolean) - Method in class org.springframework.security.crypto.password.LdapShaPasswordEncoder
-
Deprecated.
- setIterations(int) - Method in class org.springframework.security.crypto.password.MessageDigestPasswordEncoder
-
Deprecated.Sets the number of iterations for which the calculated hash value should be "stretched".
- shared(int) - Static method in class org.springframework.security.crypto.keygen.KeyGenerators
-
Create a
BytesKeyGenerator
that returns a single, sharedSecureRandom
key of a custom length. - standard(CharSequence, CharSequence) - Static method in class org.springframework.security.crypto.encrypt.Encryptors
-
Creates a standard password-based bytes encryptor using 256 bit AES encryption.
- StandardPasswordEncoder - Class in org.springframework.security.crypto.password
-
Deprecated.Digest based password encoding is not considered secure. Instead use an adaptive one way function like BCryptPasswordEncoder, Pbkdf2PasswordEncoder, or SCryptPasswordEncoder. Even better use
DelegatingPasswordEncoder
which supports password upgrades. There are no plans to remove this support. It is deprecated to indicate that this is a legacy implementation and using it is considered insecure. - StandardPasswordEncoder() - Constructor for class org.springframework.security.crypto.password.StandardPasswordEncoder
-
Deprecated.Constructs a standard password encoder with no additional secret value.
- StandardPasswordEncoder(CharSequence) - Constructor for class org.springframework.security.crypto.password.StandardPasswordEncoder
-
Deprecated.Constructs a standard password encoder with a secret value which is also included in the password hash.
- string() - Static method in class org.springframework.security.crypto.keygen.KeyGenerators
-
Creates a
StringKeyGenerator
that hex-encodesSecureRandom
keys of 8 bytes in length. - StringKeyGenerator - Interface in org.springframework.security.crypto.keygen
-
A generator for unique string keys.
- stronger(CharSequence, CharSequence) - Static method in class org.springframework.security.crypto.encrypt.Encryptors
-
Creates a standard password-based bytes encryptor using 256 bit AES encryption with Galois Counter Mode (GCM).
- subArray(byte[], int, int) - Static method in class org.springframework.security.crypto.util.EncodingUtils
-
Extract a sub array of bytes out of the byte array.
T
- text(CharSequence, CharSequence) - Static method in class org.springframework.security.crypto.encrypt.Encryptors
-
Creates a text encryptor that uses "standard" password-based encryption.
- TextEncryptor - Interface in org.springframework.security.crypto.encrypt
-
Service interface for symmetric encryption of text strings.
- toString() - Method in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
U
- upgradeEncoding(String) - Method in class org.springframework.security.crypto.argon2.Argon2PasswordEncoder
- upgradeEncoding(String) - Method in class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
- upgradeEncoding(String) - Method in class org.springframework.security.crypto.password.DelegatingPasswordEncoder
- upgradeEncoding(String) - Method in interface org.springframework.security.crypto.password.PasswordEncoder
-
Returns true if the encoded password should be encoded again for better security, else false.
- upgradeEncoding(String) - Method in class org.springframework.security.crypto.scrypt.SCryptPasswordEncoder
- URL_SAFE - Static variable in class org.springframework.security.crypto.codec.Base64
-
Deprecated.Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: https://tools.ietf.org/html/rfc3548.
- Utf8 - Class in org.springframework.security.crypto.codec
-
UTF-8 Charset encoder/decoder.
V
- valueOf(String) - Static method in enum class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.security.crypto.encrypt.RsaAlgorithm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.security.crypto.encrypt.AesBytesEncryptor.CipherAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.security.crypto.encrypt.RsaAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.security.crypto.password.Pbkdf2PasswordEncoder.SecretKeyFactoryAlgorithm
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values