A B C D E G H I J K L M P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractPasswordHashCreator - Class in com.helger.security.password.hash
-
Abstract base class of
IPasswordHashCreator. - AbstractPasswordHashCreator(String) - Constructor for class com.helger.security.password.hash.AbstractPasswordHashCreator
- AbstractPasswordHashCreatorPBKDF2 - Class in com.helger.security.password.hash
-
Base class for
IPasswordHashCreatorusing the PBKDF2 algorithm. - AbstractPasswordHashCreatorPBKDF2(String, String, int, int) - Constructor for class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
- ALGORITHM - Static variable in class com.helger.security.password.hash.PasswordHashCreatorBCrypt
- ALGORITHM - Static variable in class com.helger.security.password.hash.PasswordHashCreatorPBKDF2_SHA256_1000_48
- ALGORITHM - Static variable in class com.helger.security.password.hash.PasswordHashCreatorSHA512
- ALGORITHM_NAME_MAX_LENGTH - Static variable in class com.helger.security.password.hash.PasswordHash
-
The maximum length of the algorithm name (for database reasons)
- AuthCredentialToSubjectResolverManager - Class in com.helger.security.authentication.credentials
-
This handler is used to resolve a subject from validated credentials.
- AuthCredentialValidatorManager - Class in com.helger.security.authentication.credentials
- AuthIdentification - Class in com.helger.security.authentication.result
-
Default implementation of the
IAuthIdentificationinterface. - AuthIdentification(IAuthSubject) - Constructor for class com.helger.security.authentication.result.AuthIdentification
- AuthIdentificationManager - Class in com.helger.security.authentication.result
-
This is the main class for creating an
IAuthTokenfromIAuthCredentials. - AuthIdentificationResult - Class in com.helger.security.authentication.result
-
This class contains the overall authentication result.
- AuthIdentificationResult(IAuthToken, ICredentialValidationResult) - Constructor for class com.helger.security.authentication.result.AuthIdentificationResult
-
Constructor.
- AuthSubject - Class in com.helger.security.authentication.subject
-
Default dummy implementation of the
IAuthSubjectinterface that has no logic at all. - AuthSubject(String, String) - Constructor for class com.helger.security.authentication.subject.AuthSubject
- AuthToken - Class in com.helger.security.authentication.result
-
Default implementation of the
IAuthTokeninterface. - AuthToken(IAuthIdentification, int) - Constructor for class com.helger.security.authentication.result.AuthToken
- AuthTokenIDGenerator - Class in com.helger.security.authentication.result
-
Create authentication token IDs.
- AuthTokenRegistry - Class in com.helger.security.authentication.result
-
This class manages all the currently available authentications tokens.
B
- BCFKS - com.helger.security.keystore.EKeyStoreType
-
The BCFKS key store is designed to be FIPS compliant.
- BCrypt - Class in com.helger.security.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 com.helger.security.bcrypt.BCrypt
- BCRYPT_SALT_LEN - Static variable in class com.helger.security.bcrypt.BCrypt
- BEGIN_CERTIFICATE - Static variable in class com.helger.security.certificate.CertificateHelper
- BEGIN_CERTIFICATE_INVALID - Static variable in class com.helger.security.certificate.CertificateHelper
- BEGIN_PRIVATE_KEY - Static variable in class com.helger.security.certificate.CertificateHelper
- bytes() - Method in class com.helger.security.messagedigest.MessageDigestValue
C
- CERT_CHARSET - Static variable in class com.helger.security.certificate.CertificateHelper
-
Character set used for String-Certificate conversion
- CertificateHelper - Class in com.helger.security.certificate
-
Some utility methods handling X.509 certificates.
- checkpw(String, String) - Static method in class com.helger.security.bcrypt.BCrypt
-
Check that a plaintext password matches a previously hashed one
- com.helger.security.authentication.credentials - package com.helger.security.authentication.credentials
- com.helger.security.authentication.credentials.usernamepw - package com.helger.security.authentication.credentials.usernamepw
- com.helger.security.authentication.result - package com.helger.security.authentication.result
- com.helger.security.authentication.subject - package com.helger.security.authentication.subject
- com.helger.security.authentication.subject.user - package com.helger.security.authentication.subject.user
- com.helger.security.bcrypt - package com.helger.security.bcrypt
- com.helger.security.certificate - package com.helger.security.certificate
- com.helger.security.keystore - package com.helger.security.keystore
- com.helger.security.mac - package com.helger.security.mac
- com.helger.security.messagedigest - package com.helger.security.messagedigest
- com.helger.security.oscp - package com.helger.security.oscp
- com.helger.security.password.hash - package com.helger.security.password.hash
- com.helger.security.password.salt - package com.helger.security.password.salt
- ConstantKeySelectorResult - Class in com.helger.security.keystore
-
Special implements of
KeySelectorResultwith a constant, nullable key. - ConstantKeySelectorResult(Key) - Constructor for class com.helger.security.keystore.ConstantKeySelectorResult
- convertByteArrayToCertficate(byte[]) - Static method in class com.helger.security.certificate.CertificateHelper
-
Convert the passed byte array to an X.509 certificate object.
- convertByteArrayToCertficateDirect(byte[]) - Static method in class com.helger.security.certificate.CertificateHelper
-
Convert the passed String to an X.509 certificate without converting it to a String first.
- convertByteArrayToCertficateOrNull(byte[]) - Static method in class com.helger.security.certificate.CertificateHelper
-
Convert the passed byte array to an X.509 certificate object.
- convertCertificateStringToByteArray(String) - Static method in class com.helger.security.certificate.CertificateHelper
-
Convert the passed X.509 certificate string to a byte array.
- convertStringToCertficate(String) - Static method in class com.helger.security.certificate.CertificateHelper
-
Convert the passed String to an X.509 certificate.
- convertStringToCertficateOrNull(String) - Static method in class com.helger.security.certificate.CertificateHelper
-
Convert the passed String to an X.509 certificate, swallowing all errors.
- convertStringToPrivateKey(String) - Static method in class com.helger.security.certificate.CertificateHelper
- create(byte[], EMessageDigestAlgorithm) - Static method in class com.helger.security.messagedigest.MessageDigestValue
-
Create a new
MessageDigestValueobject based on the passed source byte array - create(InputStream, EMessageDigestAlgorithm) - Static method in class com.helger.security.messagedigest.MessageDigestValue
-
Create a new
MessageDigestValueobject based on the passed sourceInputStream. - createFailure(ICredentialValidationResult) - Static method in class com.helger.security.authentication.result.AuthIdentificationResult
-
Factory method for error in authentication.
- createFromStringMaybe(String) - Static method in class com.helger.security.password.salt.PasswordSalt
-
Try to create a
PasswordSaltobject from the passed string. - createKeyStoreWithOnlyOneItem(KeyStore, String, char[]) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Create a new key store based on an existing key store
- createMac() - Method in enum com.helger.security.mac.EMacAlgorithm
- createMac(Provider) - Method in enum com.helger.security.mac.EMacAlgorithm
- createMessageDigest() - Method in enum com.helger.security.messagedigest.EMessageDigestAlgorithm
- createMessageDigest(Provider) - Method in enum com.helger.security.messagedigest.EMessageDigestAlgorithm
- createPasswordHash(IPasswordSalt, String) - Method in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
- createPasswordHash(IPasswordSalt, String) - Method in interface com.helger.security.password.hash.IPasswordHashCreator
-
The method to create a message digest hash from a password.
- createPasswordHash(IPasswordSalt, String) - Method in class com.helger.security.password.hash.PasswordHashCreatorBCrypt
-
The method to create a message digest hash from a password.
- createPasswordHash(IPasswordSalt, String) - Method in class com.helger.security.password.hash.PasswordHashCreatorSHA512
- createRandom() - Static method in class com.helger.security.password.salt.PasswordSalt
- createRandom(int) - Static method in class com.helger.security.password.salt.PasswordSalt
-
Create a new password salt with the provided byte count.
- createSecretKey(byte[]) - Method in enum com.helger.security.mac.EMacAlgorithm
-
Create a new
SecretKeySpecwith this algorithm and the provided key bytes. - createSuccess(IAuthToken) - Static method in class com.helger.security.authentication.result.AuthIdentificationResult
-
Factory method for success authentication.
- createToken(IAuthIdentification, int) - Static method in class com.helger.security.authentication.result.AuthTokenRegistry
- CredentialValidationResult - Class in com.helger.security.authentication.credentials
-
Default implementation of
ICredentialValidationResult. - CredentialValidationResult() - Constructor for class com.helger.security.authentication.credentials.CredentialValidationResult
-
Success only constructor.
- CredentialValidationResult(String) - Constructor for class com.helger.security.authentication.credentials.CredentialValidationResult
-
Constructor with an error message
- CredentialValidationResultList - Class in com.helger.security.authentication.credentials
-
An implementation of
ICredentialValidationResultthat uses multiple ICredentialValidationResult instances. - CredentialValidationResultList(Iterable<? extends ICredentialValidationResult>) - Constructor for class com.helger.security.authentication.credentials.CredentialValidationResultList
-
Constructor with multiple results
- CRLF - Static variable in class com.helger.security.certificate.CertificateHelper
- crypt_raw(byte[], byte[], int, int[]) - Method in class com.helger.security.bcrypt.BCrypt
-
Perform the central password hashing step in the bcrypt scheme
- CUserID - Class in com.helger.security.authentication.subject.user
-
Constants for user handling
D
- DEFAULT_COPY_NEEDED - Static variable in class com.helger.security.messagedigest.MessageDigestValue
- DEFAULT_ON - Static variable in class com.helger.security.mac.MacInputStream
- DEFAULT_ON - Static variable in class com.helger.security.mac.MacOutputStream
- DEFAULT_SALT_BYTES - Static variable in class com.helger.security.password.salt.PasswordSalt
-
Default salt byte length is nothing else is specified.
- DEFAULT_TOKEN_BYTES - Static variable in class com.helger.security.authentication.result.AuthTokenIDGenerator
-
By default a 16 bytes token is created
E
- EKeyStoreLoadError - Enum in com.helger.security.keystore
-
Errors that can occur in
KeyStoreHelper - EKeyStoreLoadErrorText - Enum in com.helger.security.keystore
- EKeyStoreType - Enum in com.helger.security.keystore
-
The default key store types.
- EMacAlgorithm - Enum in com.helger.security.mac
-
A selection of common hash algorithms.
- EMessageDigestAlgorithm - Enum in com.helger.security.messagedigest
-
A selection of common message digest (hash) algorithms.
- END_CERTIFICATE - Static variable in class com.helger.security.certificate.CertificateHelper
- END_CERTIFICATE_INVALID - Static variable in class com.helger.security.certificate.CertificateHelper
- END_PRIVATE_KEY - Static variable in class com.helger.security.certificate.CertificateHelper
- EOCSPResponseStatus - Enum in com.helger.security.oscp
-
OSCP response status as enum.
- equals(Object) - Method in class com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
- equals(Object) - Method in class com.helger.security.authentication.result.AuthIdentification
- equals(Object) - Method in class com.helger.security.authentication.result.AuthToken
- equals(Object) - Method in class com.helger.security.authentication.subject.AuthSubject
- equals(Object) - Method in class com.helger.security.messagedigest.MessageDigestValue
- equals(Object) - Method in class com.helger.security.password.hash.PasswordHash
- equals(Object) - Method in class com.helger.security.password.salt.PasswordSalt
- equals(Object) - Method in class com.helger.security.password.salt.PasswordSaltBCrypt
- EXPIRATION_SECONDS_INFINITE - Static variable in interface com.helger.security.authentication.result.IAuthToken
-
The value indicating, that a token never expires
G
- generateNewTokenID() - Static method in class com.helger.security.authentication.result.AuthTokenIDGenerator
- generateNewTokenID(int) - Static method in class com.helger.security.authentication.result.AuthTokenIDGenerator
- gensalt() - Static method in class com.helger.security.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 com.helger.security.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(int, SecureRandom) - Static method in class com.helger.security.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- GENSALT_DEFAULT_LOG2_ROUNDS - Static variable in class com.helger.security.bcrypt.BCrypt
- getAlgorithm() - Method in enum com.helger.security.mac.EMacAlgorithm
- getAlgorithm() - Method in enum com.helger.security.messagedigest.EMessageDigestAlgorithm
- getAlgorithm() - Method in class com.helger.security.messagedigest.MessageDigestValue
- getAlgorithmName() - Method in class com.helger.security.password.hash.AbstractPasswordHashCreator
- getAlgorithmName() - Method in interface com.helger.security.password.hash.IPasswordHashCreator
- getAlgorithmName() - Method in class com.helger.security.password.hash.PasswordHash
- getAllAuthCredentialToSubjectResolvers() - Static method in class com.helger.security.authentication.credentials.AuthCredentialToSubjectResolverManager
- getAllAuthCredentialValidators() - Static method in class com.helger.security.authentication.credentials.AuthCredentialValidatorManager
- getAllTokensOfSubject(IAuthSubject) - Static method in class com.helger.security.authentication.result.AuthTokenRegistry
-
Get all tokens of the specified auth subject.
- getAuthCredentialToSubjectResolverCount() - Static method in class com.helger.security.authentication.credentials.AuthCredentialToSubjectResolverManager
- getAuthSubject() - Method in class com.helger.security.authentication.result.AuthIdentification
- getAuthSubject() - Method in interface com.helger.security.authentication.result.IAuthIdentification
- getAuthToken() - Method in class com.helger.security.authentication.result.AuthIdentificationResult
- getCreationDate() - Method in class com.helger.security.authentication.result.AuthToken
- getCreationDate() - Method in interface com.helger.security.authentication.result.IAuthToken
- getCredentialValidationFailure() - Method in class com.helger.security.authentication.result.AuthIdentificationResult
- getCurrentUserID() - Method in interface com.helger.security.authentication.subject.user.ICurrentUserIDProvider
- getDisplayName() - Method in class com.helger.security.authentication.subject.AuthSubject
- getDisplayText(Locale) - Method in class com.helger.security.authentication.credentials.CredentialValidationResult
- getDisplayText(Locale) - Method in class com.helger.security.authentication.credentials.CredentialValidationResultList
- getDisplayText(Locale) - Method in enum com.helger.security.keystore.EKeyStoreLoadError
- getDisplayText(Locale) - Method in enum com.helger.security.keystore.EKeyStoreLoadErrorText
- getEncodedCertificate(Certificate) - Static method in class com.helger.security.certificate.CertificateHelper
-
Get the provided certificate as a byte array.
- getError() - Method in class com.helger.security.keystore.LoadedKey
- getError() - Method in class com.helger.security.keystore.LoadedKeyStore
- getErrorMessage() - Method in class com.helger.security.authentication.credentials.CredentialValidationResult
- getErrorParams() - Method in class com.helger.security.keystore.LoadedKey
- getErrorParams() - Method in class com.helger.security.keystore.LoadedKeyStore
- getErrorText(Locale) - Method in class com.helger.security.keystore.LoadedKey
-
Get the error text
- getErrorText(Locale) - Method in class com.helger.security.keystore.LoadedKeyStore
-
Get the error text
- getExpirationDate() - Method in class com.helger.security.authentication.result.AuthToken
-
Get the date time when this token will expire.
- getExpirationDate() - Method in interface com.helger.security.authentication.result.IAuthToken
-
Get the date time when this token will expire.
- getExpirationSeconds() - Method in class com.helger.security.authentication.result.AuthToken
- getExpirationSeconds() - Method in interface com.helger.security.authentication.result.IAuthToken
- getFromIDCaseInsensitiveOrDefault(String, EKeyStoreType) - Static method in enum com.helger.security.keystore.EKeyStoreType
- getFromIDCaseInsensitiveOrNull(String) - Static method in enum com.helger.security.keystore.EKeyStoreType
- getFromIDOrNull(String) - Static method in enum com.helger.security.keystore.EKeyStoreType
- getFromStringIgnoreCase(String) - Static method in enum com.helger.security.mac.EMacAlgorithm
- getFromStringIgnoreCase(String) - Static method in enum com.helger.security.messagedigest.EMessageDigestAlgorithm
- getFromValueOrNull(int) - Static method in enum com.helger.security.oscp.EOCSPResponseStatus
- getHexEncodedDigestString() - Method in class com.helger.security.messagedigest.MessageDigestValue
- getID() - Method in class com.helger.security.authentication.result.AuthToken
- getID() - Method in interface com.helger.security.authentication.result.IAuthToken
- getID() - Method in class com.helger.security.authentication.subject.AuthSubject
- getID() - Method in enum com.helger.security.keystore.EKeyStoreLoadError
- getID() - Method in enum com.helger.security.keystore.EKeyStoreType
- getID() - Method in enum com.helger.security.oscp.EOCSPResponseStatus
- getIdentification() - Method in class com.helger.security.authentication.result.AuthToken
- getIdentification() - Method in interface com.helger.security.authentication.result.IAuthToken
- getIdentificationDateTime() - Method in class com.helger.security.authentication.result.AuthIdentification
- getIdentificationDateTime() - Method in interface com.helger.security.authentication.result.IAuthIdentification
-
Method to retrieve the time stamp of when this object was created.
- getKey() - Method in class com.helger.security.keystore.ConstantKeySelectorResult
- getKeyEntry() - Method in class com.helger.security.keystore.LoadedKey
- getKeyStore() - Method in interface com.helger.security.keystore.IKeyStoreType
- getKeyStore() - Method in class com.helger.security.keystore.LoadedKeyStore
- getKeyStore(String) - Method in interface com.helger.security.keystore.IKeyStoreType
- getKeyStore(Provider) - Method in interface com.helger.security.keystore.IKeyStoreType
- getLastAccessDate() - Method in class com.helger.security.authentication.result.AuthToken
- getLastAccessDate() - Method in interface com.helger.security.authentication.result.IAuthToken
- getMac() - Method in class com.helger.security.mac.MacInputStream
-
Returns the Mac associated with this stream.
- getMac() - Method in class com.helger.security.mac.MacOutputStream
-
Returns the Mac associated with this stream.
- getOffset() - Method in class com.helger.security.messagedigest.MessageDigestValue
- getPassword() - Method in interface com.helger.security.authentication.credentials.usernamepw.IUserNamePasswordCredentials
- getPassword() - Method in class com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
- getPasswordHashValue() - Method in class com.helger.security.password.hash.PasswordHash
- getPEMEncodedCertificate(Certificate) - Static method in class com.helger.security.certificate.CertificateHelper
-
Get the provided certificate as PEM (Base64) encoded String.
- getResourceProvider() - Static method in class com.helger.security.keystore.KeyStoreHelper
- getResults() - Method in class com.helger.security.authentication.credentials.CredentialValidationResultList
- getRFC1421CompliantString(String, boolean) - Static method in class com.helger.security.certificate.CertificateHelper
-
The certificate string needs to be emitted in portions of 64 characters.
- getRFC1421CompliantString(String, boolean, String) - Static method in class com.helger.security.certificate.CertificateHelper
-
The certificate string needs to be emitted in portions of 64 characters.
- getSalt() - Method in class com.helger.security.password.hash.PasswordHash
- getSaltAsString() - Method in class com.helger.security.password.hash.PasswordHash
- getSaltByteCount() - Method in interface com.helger.security.password.salt.IPasswordSalt
- getSaltByteCount() - Method in class com.helger.security.password.salt.PasswordSalt
- getSaltByteCount() - Method in class com.helger.security.password.salt.PasswordSaltBCrypt
- getSaltBytes() - Method in interface com.helger.security.password.salt.IPasswordSalt
- getSaltBytes() - Method in class com.helger.security.password.salt.PasswordSalt
- getSaltBytes() - Method in class com.helger.security.password.salt.PasswordSaltBCrypt
- getSaltString() - Method in interface com.helger.security.password.salt.IPasswordSalt
- getSaltString() - Method in class com.helger.security.password.salt.PasswordSalt
- getSaltString() - Method in class com.helger.security.password.salt.PasswordSaltBCrypt
- getSimiliarKeyStore(KeyStore) - Static method in class com.helger.security.keystore.KeyStoreHelper
- getSubjectFromCredentials(IAuthCredentials) - Static method in class com.helger.security.authentication.credentials.AuthCredentialToSubjectResolverManager
-
Resolve the
IAuthSubjectfrom the specified credentials. - getSubjectFromCredentials(IAuthCredentials) - Method in interface com.helger.security.authentication.credentials.IAuthCredentialToSubjectResolverSPI
-
This method is only called if
IAuthCredentialToSubjectResolverSPI.supportsCredentials(IAuthCredentials)returnedtrue. - getUserID() - Method in interface com.helger.security.authentication.subject.user.IHasUserID
- getUserName() - Method in interface com.helger.security.authentication.credentials.usernamepw.IUserNamePasswordCredentials
- getUserName() - Method in class com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
- getValidToken(String) - Static method in class com.helger.security.authentication.result.AuthTokenRegistry
- getWithoutPEMHeader(String) - Static method in class com.helger.security.certificate.CertificateHelper
-
Remove any eventually preceding "-----BEGIN CERTIFICATE-----" and succeeding "-----END CERTIFICATE-----" values from the passed certificate string.
- getWithPEMHeader(String) - Static method in class com.helger.security.certificate.CertificateHelper
- getX509CertificateFactory() - Static method in class com.helger.security.certificate.CertificateHelper
H
- hasAuthSubject(IAuthSubject) - Method in interface com.helger.security.authentication.result.IAuthIdentification
- HASH_BYTE_SIZE - Static variable in class com.helger.security.password.hash.PasswordHashCreatorPBKDF2_SHA256_1000_48
- hashCode() - Method in class com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
- hashCode() - Method in class com.helger.security.authentication.result.AuthIdentification
- hashCode() - Method in class com.helger.security.authentication.result.AuthToken
- hashCode() - Method in class com.helger.security.authentication.subject.AuthSubject
- hashCode() - Method in class com.helger.security.messagedigest.MessageDigestValue
- hashCode() - Method in class com.helger.security.password.hash.PasswordHash
- hashCode() - Method in class com.helger.security.password.salt.PasswordSalt
- hashCode() - Method in class com.helger.security.password.salt.PasswordSaltBCrypt
- hashpw(String, String) - Static method in class com.helger.security.bcrypt.BCrypt
-
Hash a password using the OpenBSD bcrypt scheme
- hasSalt() - Method in class com.helger.security.password.hash.PasswordHash
- HMAC_MD5 - com.helger.security.mac.EMacAlgorithm
- HMAC_SHA1 - com.helger.security.mac.EMacAlgorithm
- HMAC_SHA224 - com.helger.security.mac.EMacAlgorithm
- HMAC_SHA256 - com.helger.security.mac.EMacAlgorithm
- HMAC_SHA384 - com.helger.security.mac.EMacAlgorithm
- HMAC_SHA512 - com.helger.security.mac.EMacAlgorithm
I
- IAuthCredentials - Interface in com.helger.security.authentication.credentials
-
This interface is the base interface for authentication credentials to check against a principal.
- IAuthCredentialToSubjectResolverSPI - Interface in com.helger.security.authentication.credentials
-
This interface needs to be implemented by all classes that are used for resolving credentials to a certain subject.
- IAuthCredentialValidatorSPI - Interface in com.helger.security.authentication.credentials
-
This SPI needs to be implemented by all implementing application to validate the specified credentials.
Note: each class implementing this file needs to register itself in a file called/META-INF/services/com.helger.photon.basic.auth.credentials.IAuthCredentialValidatorSPI - IAuthIdentification - Interface in com.helger.security.authentication.result
-
The interface representing the authentication result of an
IAuthSubject(e.g. user) at a given date and time. - IAuthSubject - Interface in com.helger.security.authentication.subject
-
Represents a user or any other subject that can be authenticated in an application.
- IAuthToken - Interface in com.helger.security.authentication.result
-
Interface for an auth token.
- ICredentialValidationResult - Interface in com.helger.security.authentication.credentials
-
Base interface for the credential validation result.
- ICurrentUserIDProvider - Interface in com.helger.security.authentication.subject.user
-
Callback interface for resolving the current user ID.
- IHasUserID - Interface in com.helger.security.authentication.subject.user
-
Interface for objects having a user ID.
- IKeyStoreType - Interface in com.helger.security.keystore
-
Base interface for the different types of key stores (like JKS or PKCS12).
- INTERNAL_ERROR - com.helger.security.oscp.EOCSPResponseStatus
- IPasswordHashCreator - Interface in com.helger.security.password.hash
-
Interface for a password hash creator.
- IPasswordSalt - Interface in com.helger.security.password.salt
-
Base interface for a password salt.
- isAnonymousUser() - Method in interface com.helger.security.authentication.subject.user.IHasUserID
- isCertificateValidPerNow(X509Certificate) - Static method in class com.helger.security.certificate.CertificateHelper
-
Check if the "not valid before"/"not valid after" of the provided X509 certificate is valid per "now".
- isCopy() - Method in class com.helger.security.messagedigest.MessageDigestValue
- isExpirationPossible() - Method in class com.helger.security.authentication.result.AuthToken
- isExpirationPossible() - Method in interface com.helger.security.authentication.result.IAuthToken
-
Check if this token can expire (expiration seconds > 0) or not (expiration seconds = 0).
- isExpired() - Method in class com.helger.security.authentication.result.AuthToken
- isExpired() - Method in interface com.helger.security.authentication.result.IAuthToken
-
Check if the token is expired.
- isFailure() - Method in class com.helger.security.authentication.credentials.CredentialValidationResult
- isFailure() - Method in class com.helger.security.authentication.credentials.CredentialValidationResultList
- isFailure() - Method in class com.helger.security.authentication.result.AuthIdentificationResult
- isKeyStorePathRequired() - Method in enum com.helger.security.keystore.EKeyStoreType
- isKeyStorePathRequired() - Method in interface com.helger.security.keystore.IKeyStoreType
-
Determines, if a key store path is required for loading the key store.
- isOn() - Method in class com.helger.security.mac.MacInputStream
- isOn() - Method in class com.helger.security.mac.MacOutputStream
- isSuccess() - Method in class com.helger.security.authentication.credentials.CredentialValidationResult
- isSuccess() - Method in class com.helger.security.authentication.credentials.CredentialValidationResultList
- isSuccess() - Method in class com.helger.security.authentication.result.AuthIdentificationResult
- isSuccess() - Method in interface com.helger.security.authentication.result.IAuthIdentification
- isSuccess() - Method in class com.helger.security.keystore.LoadedKey
- isSuccess() - Method in class com.helger.security.keystore.LoadedKeyStore
- isSuccess() - Method in enum com.helger.security.oscp.EOCSPResponseStatus
- IUserNamePasswordCredentials - Interface in com.helger.security.authentication.credentials.usernamepw
-
This interface represents username and password credentials passed from a login page.
J
- JKS - com.helger.security.keystore.EKeyStoreType
-
The default Java Key Store type.
K
- KEY_INVALID_ALIAS - com.helger.security.keystore.EKeyStoreLoadError
-
Alias does not exist.
- KEY_INVALID_ALIAS - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEY_INVALID_PASSWORD - com.helger.security.keystore.EKeyStoreLoadError
-
Invalid password for the key.
- KEY_INVALID_PASSWORD - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEY_INVALID_TYPE - com.helger.security.keystore.EKeyStoreLoadError
-
Key is not of expected type.
- KEY_INVALID_TYPE - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEY_LOAD_ERROR - com.helger.security.keystore.EKeyStoreLoadError
-
Generic error loading the key.
- KEY_LOAD_ERROR - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEY_NO_ALIAS - com.helger.security.keystore.EKeyStoreLoadError
-
No alias specified.
- KEY_NO_ALIAS - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEY_NO_PASSWORD - com.helger.security.keystore.EKeyStoreLoadError
-
No password specified.
- KEY_NO_PASSWORD - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEYSTORE_INVALID_PASSWORD - com.helger.security.keystore.EKeyStoreLoadError
-
Invalid key store password.
- KEYSTORE_INVALID_PASSWORD - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEYSTORE_LOAD_ERROR_FORMAT_ERROR - com.helger.security.keystore.EKeyStoreLoadError
-
Invalid password or generic error.
- KEYSTORE_LOAD_ERROR_FORMAT_ERROR - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEYSTORE_LOAD_ERROR_NON_EXISTING - com.helger.security.keystore.EKeyStoreLoadError
-
Key store not existing.
- KEYSTORE_LOAD_ERROR_NON_EXISTING - com.helger.security.keystore.EKeyStoreLoadErrorText
- KEYSTORE_NO_PATH - com.helger.security.keystore.EKeyStoreLoadError
-
No key store path provided.
- KEYSTORE_NO_PATH - com.helger.security.keystore.EKeyStoreLoadErrorText
- KeyStoreHelper - Class in com.helger.security.keystore
-
Helper methods to access Java key stores of type JKS (Java KeyStore).
L
- LoadedKey<T extends KeyStore.Entry> - Class in com.helger.security.keystore
-
This class contains the result of loading the configured private key as configured in the configuration file.
- LoadedKey(T, EKeyStoreLoadError, String...) - Constructor for class com.helger.security.keystore.LoadedKey
- LoadedKeyStore - Class in com.helger.security.keystore
-
This class contains the result of loading a key store from e.g. a configuration file.
- LoadedKeyStore(KeyStore, EKeyStoreLoadError, String...) - Constructor for class com.helger.security.keystore.LoadedKeyStore
- loadKeyStore(IKeyStoreType, String, String) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Load the provided key store in a safe manner.
- loadKeyStoreDirect(IKeyStoreType, String, char[]) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Load a key store from a resource.
- loadKeyStoreDirect(IKeyStoreType, String, String) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Load a key store from a resource.
- loadPrivateKey(KeyStore, String, String, char[]) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Load the specified private key entry from the provided key store.
- loadSecretKey(KeyStore, String, String, char[]) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Load the specified secret key entry from the provided key store.
- loadTrustedCertificateKey(KeyStore, String, String, char[]) - Static method in class com.helger.security.keystore.KeyStoreHelper
-
Load the specified private key entry from the provided key store.
M
- m_nHashBytes - Variable in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
- m_nIterations - Variable in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
- m_sPBKDF2AlgorithmName - Variable in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
- MacInputStream - Class in com.helger.security.mac
-
A transparent stream that updates the associated Mac using the bits going through the stream.
- MacInputStream(InputStream, Mac) - Constructor for class com.helger.security.mac.MacInputStream
-
Creates a Mac input stream, using the specified input stream and Mac.
- MacOutputStream - Class in com.helger.security.mac
-
A transparent stream that updates the associated Mac using the bits going through the stream.
- MacOutputStream(OutputStream, Mac) - Constructor for class com.helger.security.mac.MacOutputStream
-
Creates a Mac output stream, using the specified output stream and Mac.
- MALFORMED_REQUEST - com.helger.security.oscp.EOCSPResponseStatus
- MD5 - com.helger.security.messagedigest.EMessageDigestAlgorithm
- MessageDigestValue - Class in com.helger.security.messagedigest
-
Represents a single message digest value as the combination of the algorithm and the digest bytes.
- MessageDigestValue(EMessageDigestAlgorithm, byte[]) - Constructor for class com.helger.security.messagedigest.MessageDigestValue
- MessageDigestValue(EMessageDigestAlgorithm, byte[], boolean) - Constructor for class com.helger.security.messagedigest.MessageDigestValue
P
- PasswordHash - Class in com.helger.security.password.hash
-
This class combines password hash and the used algorithm.
- PasswordHash(String, IPasswordSalt, String) - Constructor for class com.helger.security.password.hash.PasswordHash
- PasswordHashCreatorBCrypt - Class in com.helger.security.password.hash
-
The new default implementation of
IPasswordHashCreatorthat requires a salt and uses the BCrypt algorithm. - PasswordHashCreatorBCrypt() - Constructor for class com.helger.security.password.hash.PasswordHashCreatorBCrypt
- PasswordHashCreatorPBKDF2_SHA256_1000_48 - Class in com.helger.security.password.hash
-
The new default implementation of
IPasswordHashCreatorthat requires a salt and uses the PBKDF2 algorithm with 1000 iterations and 48 bytes hash size. - PasswordHashCreatorPBKDF2_SHA256_1000_48() - Constructor for class com.helger.security.password.hash.PasswordHashCreatorPBKDF2_SHA256_1000_48
- PasswordHashCreatorSHA512 - Class in com.helger.security.password.hash
-
The default implementation of
IPasswordHashCreatorusing unsalted SHA512 hashes. - PasswordHashCreatorSHA512() - Constructor for class com.helger.security.password.hash.PasswordHashCreatorSHA512
- PasswordSalt - Class in com.helger.security.password.salt
-
Default implementation of
IPasswordSaltusingVerySecureRandom. - PasswordSalt(byte[]) - Constructor for class com.helger.security.password.salt.PasswordSalt
-
Constructor with salt bytes.
- PasswordSaltBCrypt - Class in com.helger.security.password.salt
-
Implementation of
IPasswordSaltusingBCrypt.gensalt(int). - PasswordSaltBCrypt() - Constructor for class com.helger.security.password.salt.PasswordSaltBCrypt
-
Create a new BCrypt password salt with the default rounds of 10.
- PasswordSaltBCrypt(int) - Constructor for class com.helger.security.password.salt.PasswordSaltBCrypt
-
Constructor to create a new BCrypt password salt with the provided rounds.
- pbkdf2(char[], byte[], int, int, String) - Static method in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
-
Computes the PBKDF2 hash of a password.
- PBKDF2_ITERATIONS - Static variable in class com.helger.security.password.hash.PasswordHashCreatorPBKDF2_SHA256_1000_48
- PKCS11 - com.helger.security.keystore.EKeyStoreType
-
The PKCS11 key store type is used for secure storage such as Smart Cards and HSM.
- PKCS12 - com.helger.security.keystore.EKeyStoreType
-
The PKCS12 key store type is slightly better than JKS and is supported only in Java 1.9.
R
- read() - Method in class com.helger.security.mac.MacInputStream
-
Reads a byte, and updates the Mac (if the function is on).
- read(byte[], int, int) - Method in class com.helger.security.mac.MacInputStream
-
Reads into a byte array, and updates the Mac (if the function is on).
- removeAllTokensOfSubject(IAuthSubject) - Static method in class com.helger.security.authentication.result.AuthTokenRegistry
-
Remove all tokens of the given subject
- removeToken(String) - Static method in class com.helger.security.authentication.result.AuthTokenRegistry
- requiresSalt() - Method in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
- requiresSalt() - Method in interface com.helger.security.password.hash.IPasswordHashCreator
- requiresSalt() - Method in class com.helger.security.password.hash.PasswordHashCreatorBCrypt
- requiresSalt() - Method in class com.helger.security.password.hash.PasswordHashCreatorSHA512
S
- setMac(Mac) - Method in class com.helger.security.mac.MacInputStream
-
Associates the specified Mac with this stream.
- setMac(Mac) - Method in class com.helger.security.mac.MacOutputStream
-
Associates the specified Mac with this stream.
- setOn(boolean) - Method in class com.helger.security.mac.MacInputStream
-
Turns the function on or off.
- setOn(boolean) - Method in class com.helger.security.mac.MacOutputStream
-
Turns the function on or off.
- setResourceProvider(IReadableResourceProvider) - Static method in class com.helger.security.keystore.KeyStoreHelper
- SHA_1 - com.helger.security.messagedigest.EMessageDigestAlgorithm
- SHA_224 - com.helger.security.messagedigest.EMessageDigestAlgorithm
- SHA_256 - com.helger.security.messagedigest.EMessageDigestAlgorithm
- SHA_384 - com.helger.security.messagedigest.EMessageDigestAlgorithm
- SHA_512 - com.helger.security.messagedigest.EMessageDigestAlgorithm
- SIG_REQUIRED - com.helger.security.oscp.EOCSPResponseStatus
- size() - Method in class com.helger.security.messagedigest.MessageDigestValue
- SUCCESS - Static variable in class com.helger.security.authentication.credentials.CredentialValidationResult
- SUCCESSFUL - com.helger.security.oscp.EOCSPResponseStatus
- supportsCredentials(IAuthCredentials) - Method in interface com.helger.security.authentication.credentials.IAuthCredentialToSubjectResolverSPI
-
Check if this class can handle the passed credential implementation.
- supportsCredentials(IAuthCredentials) - Method in interface com.helger.security.authentication.credentials.IAuthCredentialValidatorSPI
-
Check if this implementation supports the passed credentials.
T
- toString() - Method in class com.helger.security.authentication.credentials.CredentialValidationResult
- toString() - Method in class com.helger.security.authentication.credentials.CredentialValidationResultList
- toString() - Method in class com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
- toString() - Method in class com.helger.security.authentication.result.AuthIdentification
- toString() - Method in class com.helger.security.authentication.result.AuthIdentificationResult
- toString() - Method in class com.helger.security.authentication.result.AuthToken
- toString() - Method in class com.helger.security.authentication.subject.AuthSubject
- toString() - Method in class com.helger.security.keystore.ConstantKeySelectorResult
- toString() - Method in class com.helger.security.keystore.LoadedKey
- toString() - Method in class com.helger.security.keystore.LoadedKeyStore
- toString() - Method in class com.helger.security.mac.MacInputStream
- toString() - Method in class com.helger.security.mac.MacOutputStream
- toString() - Method in class com.helger.security.messagedigest.MessageDigestValue
- toString() - Method in class com.helger.security.password.hash.AbstractPasswordHashCreator
- toString() - Method in class com.helger.security.password.hash.PasswordHash
- toString() - Method in class com.helger.security.password.salt.PasswordSalt
- toString() - Method in class com.helger.security.password.salt.PasswordSaltBCrypt
- TRY_LATER - com.helger.security.oscp.EOCSPResponseStatus
U
- UNAUTHORIZED - com.helger.security.oscp.EOCSPResponseStatus
- USER_ID_GUEST - Static variable in class com.helger.security.authentication.subject.user.CUserID
-
The user ID to be used, if no user is logged in
- USER_PASSWORD_ALGO - Static variable in class com.helger.security.password.hash.PasswordHashCreatorSHA512
-
Hashing algorithm to use for user passwords - never change it!
- UserNamePasswordCredentials - Class in com.helger.security.authentication.credentials.usernamepw
-
Default implementation of the
IUserNamePasswordCredentialsinterface. - UserNamePasswordCredentials(String, String) - Constructor for class com.helger.security.authentication.credentials.usernamepw.UserNamePasswordCredentials
V
- validateCredentials(IAuthCredentials) - Static method in class com.helger.security.authentication.credentials.AuthCredentialValidatorManager
- validateCredentials(IAuthCredentials) - Method in interface com.helger.security.authentication.credentials.IAuthCredentialValidatorSPI
-
Validate the specified credentials.
- validateLoginCredentialsAndCreateToken(IAuthCredentials) - Static method in class com.helger.security.authentication.result.AuthIdentificationManager
-
Validate the login credentials, try to resolve the subject and create a token upon success.
- validateTokenAndUpdateLastAccess(String) - Static method in class com.helger.security.authentication.result.AuthTokenRegistry
- valueOf(String) - Static method in enum com.helger.security.keystore.EKeyStoreLoadError
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.security.keystore.EKeyStoreLoadErrorText
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.security.keystore.EKeyStoreType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.security.mac.EMacAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.security.messagedigest.EMessageDigestAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.security.oscp.EOCSPResponseStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.helger.security.keystore.EKeyStoreLoadError
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.security.keystore.EKeyStoreLoadErrorText
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.security.keystore.EKeyStoreType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.security.mac.EMacAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.security.messagedigest.EMessageDigestAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.security.oscp.EOCSPResponseStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(byte[], int, int) - Method in class com.helger.security.mac.MacOutputStream
-
Updates the Mac (if the function is on) using the specified subarray, and in any case writes the subarray to the output stream.
- write(int) - Method in class com.helger.security.mac.MacOutputStream
-
Updates the Mac (if the function is on) using the specified byte, and in any case writes the byte to the output stream.
All Classes All Packages