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

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 IPasswordHashCreator using the PBKDF2 algorithm.
AbstractPasswordHashCreatorPBKDF2(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_1000_48
 
ALGORITHM - Static variable in class com.helger.security.password.hash.PasswordHashCreatorSHA512
 
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 IAuthIdentification interface.
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 IAuthToken from IAuthCredentials.
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 IAuthSubject interface 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 IAuthToken interface.
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

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
 
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.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 KeySelectorResult with 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.
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.
create(byte[], EMessageDigestAlgorithm) - Static method in class com.helger.security.messagedigest.MessageDigestValue
Create a new MessageDigestValue object based on the passed source byte array
create(InputStream, EMessageDigestAlgorithm) - Static method in class com.helger.security.messagedigest.MessageDigestValue
Create a new MessageDigestValue object based on the passed source InputStream.
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 PasswordSalt object 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
 
createSecretKey(byte[]) - Method in enum com.helger.security.mac.EMacAlgorithm
Create a new SecretKeySpec with 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 ICredentialValidationResult that 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
 
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(int, SecureRandom) - Static method in class com.helger.security.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
gensalt(int) - Static method in class com.helger.security.bcrypt.BCrypt
Generate a salt for use with the BCrypt.hashpw() method
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_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
 
getError() - Method in class com.helger.security.keystore.LoadedKey
 
getError() - Method in class com.helger.security.keystore.LoadedKeyStore
 
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
 
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
 
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(String) - Method in interface com.helger.security.keystore.IKeyStoreType
 
getKeyStore(Provider) - Method in interface com.helger.security.keystore.IKeyStoreType
 
getKeyStore() - Method in class com.helger.security.keystore.LoadedKeyStore
 
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
 
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 IAuthSubject from the specified credentials.
getSubjectFromCredentials(IAuthCredentials) - Method in interface com.helger.security.authentication.credentials.IAuthCredentialToSubjectResolverSPI
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_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
 

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.
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).
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
 
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
 
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
 
IUserNamePasswordCredentials - Interface in com.helger.security.authentication.credentials.usernamepw
This interface represents username and password credentials passed from a login page.

K

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, String) - Static method in class com.helger.security.keystore.KeyStoreHelper
Load a key store from a resource.
loadKeyStoreDirect(IKeyStoreType, String, char[]) - 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
 
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.
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 IPasswordHashCreator that requires a salt and uses the BCrypt algorithm.
PasswordHashCreatorBCrypt() - Constructor for class com.helger.security.password.hash.PasswordHashCreatorBCrypt
 
PasswordHashCreatorPBKDF2_1000_48 - Class in com.helger.security.password.hash
The new default implementation of IPasswordHashCreator that requires a salt and uses the PBKDF2 algorithm with 1000 iterations and 48 bytes hash size.
PasswordHashCreatorPBKDF2_1000_48() - Constructor for class com.helger.security.password.hash.PasswordHashCreatorPBKDF2_1000_48
 
PasswordHashCreatorSHA512 - Class in com.helger.security.password.hash
The default implementation of IPasswordHashCreator using unsalted SHA512 hashes.
PasswordHashCreatorSHA512() - Constructor for class com.helger.security.password.hash.PasswordHashCreatorSHA512
 
PasswordSalt - Class in com.helger.security.password.salt
Default implementation of IPasswordSalt using VerySecureRandom.
PasswordSalt() - Constructor for class com.helger.security.password.salt.PasswordSalt
Create a new password salt with the default length of 512 and random bytes.
PasswordSalt(int) - Constructor for class com.helger.security.password.salt.PasswordSalt
Constructor to create a new password salt with the provided byte count.
PasswordSaltBCrypt - Class in com.helger.security.password.salt
Implementation of IPasswordSalt using BCrypt.gensalt(int).
PasswordSaltBCrypt() - Constructor for class com.helger.security.password.salt.PasswordSaltBCrypt
Create a new BCrypt password salt with the default rounds of .
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) - Static method in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
Computes the PBKDF2 hash of a password.
PBKDF2_ALGORITHM - Static variable in class com.helger.security.password.hash.AbstractPasswordHashCreatorPBKDF2
 
PBKDF2_ITERATIONS - Static variable in class com.helger.security.password.hash.PasswordHashCreatorPBKDF2_1000_48
 

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
 
size() - Method in class com.helger.security.messagedigest.MessageDigestValue
 
SUCCESS - Static variable in class com.helger.security.authentication.credentials.CredentialValidationResult
 
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
 

U

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 IUserNamePasswordCredentials interface.
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.
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.

W

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.
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.
A B C D E G H I K L M P R S T U V W 
Skip navigation links

Copyright © 2016–2019 Philip Helger. All rights reserved.