A C D E G J K M O P S T V W
A
- AES - org.refcodes.security.Algorithm
- Algorithm - Enum in org.refcodes.security
-
The Enum Algorithm.
C
- CIPHER_LENGTH - Static variable in class org.refcodes.security.SecurityUtility
- CIPHER_UID_LENGTH - Static variable in class org.refcodes.security.SecurityUtility
- CIPHER_UID_TIMESTAMP_LENGTH - Static variable in class org.refcodes.security.SecurityUtility
D
- Decrypter<DEC,ENC,EXC extends DecryptionException> - Interface in org.refcodes.security
-
Plain interface for providing straight forward decryption functionality as of
Decrypter.toDecrypted(Object)
and for forcing your plain functionality to provide a bridge to the Java Cryptographic Extension (JCE) framework'sCipherSpi
as ofDecrypter.toDecrypted(byte[], int, int, byte[], int)
. - DecryptionException - Exception in org.refcodes.security
-
Thrown in case an encryption issue occurred regarding the
Encrypter
. - DecryptionException(String) - Constructor for exception org.refcodes.security.DecryptionException
-
Instantiates a new decryption exception.
- DecryptionException(String, String) - Constructor for exception org.refcodes.security.DecryptionException
-
Instantiates a new decryption exception.
- DecryptionException(String, Throwable) - Constructor for exception org.refcodes.security.DecryptionException
-
Instantiates a new decryption exception.
- DecryptionException(String, Throwable, String) - Constructor for exception org.refcodes.security.DecryptionException
-
Instantiates a new decryption exception.
- DecryptionException(Throwable) - Constructor for exception org.refcodes.security.DecryptionException
-
Instantiates a new decryption exception.
- DecryptionException(Throwable, String) - Constructor for exception org.refcodes.security.DecryptionException
-
Instantiates a new decryption exception.
E
- Encrypter<ENC,DEC,EXC extends EncryptionException> - Interface in org.refcodes.security
-
Plain interface for providing straight forward encryption functionality as of
Encrypter.toEncrypted(Object)
and for forcing your plain functionality to provide a bridge to the Java Cryptographic Extension (JCE) framework'sCipherSpi
as ofEncrypter.toEncrypted(byte[], int, int, byte[], int)
. - EncryptionException - Exception in org.refcodes.security
-
Thrown in case a decryption issue occurred regarding the
Decrypter
. - EncryptionException(String) - Constructor for exception org.refcodes.security.EncryptionException
-
Instantiates a new encryption exception.
- EncryptionException(String, String) - Constructor for exception org.refcodes.security.EncryptionException
-
Instantiates a new encryption exception.
- EncryptionException(String, Throwable) - Constructor for exception org.refcodes.security.EncryptionException
-
Instantiates a new encryption exception.
- EncryptionException(String, Throwable, String) - Constructor for exception org.refcodes.security.EncryptionException
-
Instantiates a new encryption exception.
- EncryptionException(Throwable) - Constructor for exception org.refcodes.security.EncryptionException
-
Instantiates a new encryption exception.
- EncryptionException(Throwable, String) - Constructor for exception org.refcodes.security.EncryptionException
-
Instantiates a new encryption exception.
G
- getKeyPassword() - Method in interface org.refcodes.security.KeyStoreDescriptor
-
Retrieves the key's password.
- getKeyPassword() - Method in class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Retrieves the key's password.
- getKeyPassword() - Method in class org.refcodes.security.KeyStoreDescriptorImpl
-
Retrieves the key's password.
- getKeyStoreDescriptor() - Method in interface org.refcodes.security.KeyStoreDescriptorAccessor
-
Retrieves the
KeyStoreDescriptor
from theKeyStoreDescriptor
property. - getName() - Method in enum org.refcodes.security.Algorithm
- getStoreFile() - Method in class org.refcodes.security.KeyStoreDescriptorImpl
-
Retrieves the
File
pointing to theKeyStore
. - getStoreFile() - Method in interface org.refcodes.security.TrustStoreDescriptor
-
Retrieves the
File
pointing to theKeyStore
. - getStoreFile() - Method in class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Retrieves the
File
pointing to theKeyStore
. - getStoreFile() - Method in class org.refcodes.security.TrustStoreDescriptorImpl
-
Retrieves the
File
pointing to theKeyStore
. - getStorePassword() - Method in class org.refcodes.security.KeyStoreDescriptorImpl
-
Retrieves the keysotre's password.
- getStorePassword() - Method in interface org.refcodes.security.TrustStoreDescriptor
-
Retrieves the keysotre's password.
- getStorePassword() - Method in class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Retrieves the keysotre's password.
- getStorePassword() - Method in class org.refcodes.security.TrustStoreDescriptorImpl
-
Retrieves the keysotre's password.
- getStoreType() - Method in class org.refcodes.security.KeyStoreDescriptorImpl
-
Retrieves the
StoreType
representing the type of theKeyStore
. - getStoreType() - Method in interface org.refcodes.security.TrustStoreDescriptor
-
Retrieves the
StoreType
representing the type of theKeyStore
. - getStoreType() - Method in class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Retrieves the
StoreType
representing the type of theKeyStore
. - getStoreType() - Method in class org.refcodes.security.TrustStoreDescriptorImpl
-
Retrieves the
StoreType
representing the type of theKeyStore
. - getTrustStoreDescriptor() - Method in interface org.refcodes.security.TrustStoreDescriptorAccessor
-
Retrieves the
TrustStoreDescriptor
from theTrustStoreDescriptor
property.
J
- JCEKS - org.refcodes.security.StoreType
-
"...
- JCERACFKS - org.refcodes.security.StoreType
-
"...
- JKS - org.refcodes.security.StoreType
K
- KeyStoreDescriptor - Interface in org.refcodes.security
-
Describes the data required to access a
KeyStore
.TheKeyStore
is used to decide which authentication credentials should be sent to the remote host for authentication during SSL handshake. - KeyStoreDescriptor.KeyStoreDescriptorBuilder - Interface in org.refcodes.security
-
The mutable
KeyStoreDescriptor.KeyStoreDescriptorBuilder
extends theKeyStoreDescriptor
with manipulator methods. - KeyStoreDescriptorAccessor - Interface in org.refcodes.security
-
Provides an accessor for a
KeyStoreDescriptor
property. - KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B extends KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B>> - Interface in org.refcodes.security
-
Provides a builder method for a
KeyStoreDescriptor
property returning the builder for applying multiple build operations. - KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator - Interface in org.refcodes.security
-
Provides a mutator for a
KeyStoreDescriptor
property. - KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty - Interface in org.refcodes.security
-
Provides a
KeyStoreDescriptor
property. - KeyStoreDescriptorBuilderImpl - Class in org.refcodes.security
-
Implementation of the
KeyStoreDescriptor
interface. - KeyStoreDescriptorBuilderImpl(File) - Constructor for class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorBuilderImpl(File, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorBuilderImpl(File, String, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorBuilderImpl(File, StoreType) - Constructor for class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorBuilderImpl(File, StoreType, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorBuilderImpl(File, StoreType, String, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorImpl - Class in org.refcodes.security
-
The immutable
KeyStoreDescriptorImpl
implements theTrustStoreDescriptor
interface. - KeyStoreDescriptorImpl(File) - Constructor for class org.refcodes.security.KeyStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorImpl(File, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorImpl(File, String, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorImpl(File, StoreType) - Constructor for class org.refcodes.security.KeyStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorImpl(File, StoreType, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
. - KeyStoreDescriptorImpl(File, StoreType, String, String) - Constructor for class org.refcodes.security.KeyStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access aKeyStore
.
M
- MESSAGE_LENGTH - Static variable in class org.refcodes.security.SecurityUtility
O
- org.refcodes.security - package org.refcodes.security
-
The
refcodes-security
artifact provides the basic interfaces defining the functionality for vanilla plain cryptographic algorithm's implementations, e.g.
P
S
- SecurityException - Exception in org.refcodes.security
-
The Class SecurityException.
- SecurityException(String) - Constructor for exception org.refcodes.security.SecurityException
-
Instantiates a new security exception.
- SecurityException(String, String) - Constructor for exception org.refcodes.security.SecurityException
-
Instantiates a new security exception.
- SecurityException(String, Throwable) - Constructor for exception org.refcodes.security.SecurityException
-
Instantiates a new security exception.
- SecurityException(String, Throwable, String) - Constructor for exception org.refcodes.security.SecurityException
-
Instantiates a new security exception.
- SecurityException(Throwable) - Constructor for exception org.refcodes.security.SecurityException
-
Instantiates a new security exception.
- SecurityException(Throwable, String) - Constructor for exception org.refcodes.security.SecurityException
-
Instantiates a new security exception.
- SecurityUtility - Class in org.refcodes.security
-
The Class SecurityUtility.
- setKeyPassword(String) - Method in interface org.refcodes.security.KeyStoreDescriptor.KeyStoreDescriptorBuilder
-
Sets the key's password.
- setKeyPassword(String) - Method in class org.refcodes.security.KeyStoreDescriptorBuilderImpl
-
Sets the key's password.
- setKeyStoreDescriptor(KeyStoreDescriptor) - Method in interface org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator
-
Sets the
KeyStoreDescriptor
for theKeyStoreDescriptor
property. - setStoreFile(File) - Method in interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Sets the
File
pointing to theKeyStore
. - setStoreFile(File) - Method in class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Sets the
File
pointing to theKeyStore
. - setStorePassword(String) - Method in interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Sets the keysotre's password.
- setStorePassword(String) - Method in class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Sets the keysotre's password.
- setStoreType(StoreType) - Method in interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Sets the
StoreType
representing the type of theKeyStore
. - setStoreType(StoreType) - Method in class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Sets the
StoreType
representing the type of theKeyStore
. - setTrustStoreDescriptor(TrustStoreDescriptor) - Method in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
-
Sets the
TrustStoreDescriptor
for theTrustStoreDescriptor
property. - StoreType - Enum in org.refcodes.security
T
- toDecrypted(byte[], int, int, byte[], int) - Method in interface org.refcodes.security.Decrypter
-
For compatibility with the java.security framework, especially to be integrated in a sub-class of the
CipherSpi
. - toDecrypted(ENC) - Method in interface org.refcodes.security.Decrypter
-
You pass in data of a given type and you get decrypted data of (another) given type.
- toDecryptedText(String) - Static method in class org.refcodes.security.SecurityUtility
-
Decrypt the given text in case it has the prefix identifying the text as being encrypted, else the plain text is returned and a warning is printed out that the passed text is not encrypted (just the first two or three chars or zero chars are shown depending on the length of the text). ------------------------------------------------------------------------- Attention: A unique system ID is used for decryption.
- toDecryptedText(String, String) - Static method in class org.refcodes.security.SecurityUtility
-
Decrypt the given text in case it has the prefix identifying the text as being encrypted, else the plain text is returned and a warning is printed out that the passed text is not encrypted (just the first two or three chars or zero chars are shown depending on the length of the text).
- toEncrypted(byte[], int, int, byte[], int) - Method in interface org.refcodes.security.Encrypter
-
For compatibility with the java.security framework, especially to be integrated in a sub-class of the
CipherSpi
. - toEncrypted(DEC) - Method in interface org.refcodes.security.Encrypter
-
You pass in data of a given type and you get encrypted data of (another) given type.
- toEncryptedText(String) - Static method in class org.refcodes.security.SecurityUtility
-
Encrypts the given text and prepends a prefix identifying the text as being encrypted. ------------------------------------------------------------------------- Attention: A unique system ID is used for encryption.
- toEncryptedText(String, String) - Static method in class org.refcodes.security.SecurityUtility
-
Encrypts the given text and prepends a prefix identifying the text as being encrypted.
- TrustStoreDescriptor - Interface in org.refcodes.security
-
Describes the data required to access a truststore.
- TrustStoreDescriptor.TrustStoreDescriptorBuilder - Interface in org.refcodes.security
-
The mutable
TrustStoreDescriptor.TrustStoreDescriptorBuilder
extends theTrustStoreDescriptor
with manipulator methods. - TrustStoreDescriptorAccessor - Interface in org.refcodes.security
-
Provides an accessor for a
TrustStoreDescriptor
property. - TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>> - Interface in org.refcodes.security
-
Provides a builder method for a
TrustStoreDescriptor
property returning the builder for applying multiple build operations. - TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator - Interface in org.refcodes.security
-
Provides a mutator for a
TrustStoreDescriptor
property. - TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty - Interface in org.refcodes.security
-
Provides a
TrustStoreDescriptor
property. - TrustStoreDescriptorBuilderImpl - Class in org.refcodes.security
-
Implementation of the
KeyStoreDescriptor
interface. - TrustStoreDescriptorBuilderImpl(File) - Constructor for class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorBuilderImpl(File, String) - Constructor for class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorBuilderImpl(File, StoreType) - Constructor for class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorBuilderImpl(File, StoreType, String) - Constructor for class org.refcodes.security.TrustStoreDescriptorBuilderImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorImpl - Class in org.refcodes.security
-
The immutable
TrustStoreDescriptorImpl
implements theTrustStoreDescriptor
interface. - TrustStoreDescriptorImpl(File) - Constructor for class org.refcodes.security.TrustStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorImpl(File, String) - Constructor for class org.refcodes.security.TrustStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorImpl(File, StoreType) - Constructor for class org.refcodes.security.TrustStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore. - TrustStoreDescriptorImpl(File, StoreType, String) - Constructor for class org.refcodes.security.TrustStoreDescriptorImpl
-
Constructs a
KeyStoreDescriptor
with the data required to access a keystore.
V
- valueOf(String) - Static method in enum org.refcodes.security.Algorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.refcodes.security.StoreType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.refcodes.security.Algorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.refcodes.security.StoreType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withKeyPassword(String) - Method in interface org.refcodes.security.KeyStoreDescriptor.KeyStoreDescriptorBuilder
-
Builder for the according setter method.
- withKeyStoreDescriptor(KeyStoreDescriptor) - Method in interface org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder
-
Sets the
KeyStoreDescriptor
for theKeyStoreDescriptor
property. - withStoreFile(File) - Method in interface org.refcodes.security.KeyStoreDescriptor.KeyStoreDescriptorBuilder
-
Builder for the according setter method.
- withStoreFile(File) - Method in interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Builder for the according setter method.
- withStorePassword(String) - Method in interface org.refcodes.security.KeyStoreDescriptor.KeyStoreDescriptorBuilder
-
Builder for the according setter method.
- withStorePassword(String) - Method in interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Builder for the according setter method.
- withStoreType(StoreType) - Method in interface org.refcodes.security.KeyStoreDescriptor.KeyStoreDescriptorBuilder
-
Builder for the according setter method.
- withStoreType(StoreType) - Method in interface org.refcodes.security.TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
Builder for the according setter method.
- withTrustStoreDescriptor(TrustStoreDescriptor) - Method in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder
-
Sets the
TrustStoreDescriptor
for theTrustStoreDescriptor
property.