- AbstractAlgorithm - Class in edu.vt.middleware.crypt
-
Abstract cryptographic algorithm that is the basis of digest, encryption, and
signature algorithms.
- AbstractAlgorithm() - Constructor for class edu.vt.middleware.crypt.AbstractAlgorithm
-
- AbstractCipherVersionGenerator<CV extends CipherVersion> - Class in org.refcodes.forwardsecrecy
-
Default implementation of a cipher version generator.
- AbstractCipherVersionGenerator(CipherVersionFactory<CV>) - Constructor for class org.refcodes.forwardsecrecy.AbstractCipherVersionGenerator
-
- AbstractDecryptionService - Class in org.refcodes.forwardsecrecy
-
- AbstractDecryptionService(String, DecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Constructs the service with the required services and configuration.
- AbstractDSASignature - Class in edu.vt.middleware.crypt.signature
-
Base class for all signatures that implement the DSA scheme.
- AbstractDSASignature(String) - Constructor for class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Creates a new instance of a the given signature algorithm.
- AbstractEncodingConverter - Class in edu.vt.middleware.crypt.util
-
Abstract base class for all converters that perform encoding with a BC
Encoder
class.
- AbstractEncodingConverter() - Constructor for class edu.vt.middleware.crypt.util.AbstractEncodingConverter
-
- AbstractEncodingFilterInputStream - Class in edu.vt.middleware.crypt.io
-
Abstract base class for filter input streams that decode encoded character
bytes into raw bytes.
- AbstractEncodingFilterInputStream(InputStream) - Constructor for class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Creates an input filter that decodes characters in the given input
stream.
- AbstractEncodingFilterOutputStream - Class in edu.vt.middleware.crypt.io
-
Abstract base class for filter output streams that convert raw bytes into
encoded characters.
- AbstractEncodingFilterOutputStream(OutputStream) - Constructor for class edu.vt.middleware.crypt.io.AbstractEncodingFilterOutputStream
-
Creates an output filter that encodes raw bytes into encoded character
bytes in the wrapped output stream.
- AbstractEncryptionAlgorithm - Class in edu.vt.middleware.crypt
-
Base class for symmetric and asymmetric encryption algorithms.
- AbstractEncryptionAlgorithm(String, String, String) - Constructor for class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Creates a new encryption algorithm that uses a cipher of the given name.
- AbstractEncryptionService - Class in org.refcodes.forwardsecrecy
-
- AbstractEncryptionService(String, EncryptionServer, CipherVersionGenerator<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.AbstractEncryptionService
-
Constructs the service with the required services and configuration.
- AbstractRandomizableAlgorithm - Class in edu.vt.middleware.crypt
-
Abstract base class for all algorithms that can be initialized with an
arbitrary amount of random data.
- AbstractRandomizableAlgorithm() - Constructor for class edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
-
- addCipherVersion(String, CipherVersion) - Method in interface org.refcodes.forwardsecrecy.EncryptionServer
-
- addCipherVersion(String, CipherVersion) - Method in class org.refcodes.forwardsecrecy.InMemoryDecryptionServer
-
Adds a cipher version to the server.
- addCipherVersion(String, CipherVersion) - Method in class org.refcodes.forwardsecrecy.InMemoryEncryptionServer
-
- addProvider(Provider, String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This will add an additional security provider.
- algorithm - Variable in class edu.vt.middleware.crypt.AbstractAlgorithm
-
Algorithm name.
- Algorithm - Interface in edu.vt.middleware.crypt
-
Describes the basic behavior of all crytographic algorithms.
- ALGORITHM - Static variable in class edu.vt.middleware.crypt.asymmetric.RSA
-
Algorithm name.
- ASCII_CHARSET - Static variable in class edu.vt.middleware.crypt.util.Convert
-
ASCII character set used for all encoding methods.
- AsymmetricAlgorithm - Class in edu.vt.middleware.crypt.asymmetric
-
Provides asymmetric encryption and decryption operations using a
public/private key pair.
- AsymmetricAlgorithm(String) - Constructor for class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
-
Creates a new instance that uses a cipher of the given algorithm and the
default mode and padding.
- CHARSET_PROPERTY - Static variable in class edu.vt.middleware.crypt.util.Convert
-
System property used to specify character set.
- CHUNK_SIZE - Static variable in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Chunk size used in stream-based digestion.
- CHUNK_SIZE - Static variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Number of encoded bytes to read in one buffer filling round.
- chunkUpdate(InputStream) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Update the signer in chunks with data read from the input stream.
- cipher - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Encryption/decription cipher.
- CIPHER_LENGTH - Static variable in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
- CIPHER_UID_LENGTH - Static variable in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
- CIPHER_UID_TIMESTAMP_LENGTH - Static variable in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
- cipherMode - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
- CipherUidAlreadyInUseException - Exception in org.refcodes.forwardsecrecy
-
The Class CipherUidAlreadyInUseException.
- CipherUidAlreadyInUseException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
-
Instantiates a new cipher Universal-TID already in use exception.
- CipherUidAlreadyInUseException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
-
Instantiates a new cipher Universal-TID already in use exception.
- CipherUidAlreadyInUseException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
-
Instantiates a new cipher Universal-TID already in use exception.
- CipherUidAlreadyInUseException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
-
Instantiates a new cipher Universal-TID already in use exception.
- CipherUidAlreadyInUseException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
-
Instantiates a new cipher Universal-TID already in use exception.
- CipherUidAlreadyInUseException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
-
Instantiates a new cipher Universal-TID already in use exception.
- CipherVersion - Interface in org.refcodes.forwardsecrecy
-
A
CipherVersion
represents a cipher (used for symmetric encryption
respectively decryption) related to a cypher's version (UID).
- CipherVersionFactory<CV extends CipherVersion> - Interface in org.refcodes.forwardsecrecy
-
As requirements might arise to use
CipherVersion
instances with
additional attributes or functionality; the
CipherVersionFactory
can
be replaced with a custom implementation instantiating
CipherVersion
(sub-)types with the additional required attributes or functionality.
- CipherVersionFactoryImpl - Class in org.refcodes.forwardsecrecy
-
- CipherVersionFactoryImpl() - Constructor for class org.refcodes.forwardsecrecy.CipherVersionFactoryImpl
-
- CipherVersionGenerator<CV extends CipherVersion> - Interface in org.refcodes.forwardsecrecy
-
Depending on the security demands and performance issues; the
Generator
generating
CipherVersion
instances can be replaced
with a custom
CipherVersionGenerator
using its own approach
generating ciphers and cipher UIDs (
CipherVersion
instances).
- CipherVersionGeneratorImpl - Class in org.refcodes.forwardsecrecy
-
- CipherVersionGeneratorImpl() - Constructor for class org.refcodes.forwardsecrecy.CipherVersionGeneratorImpl
-
- CipherVersionGeneratorImpl(CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.CipherVersionGeneratorImpl
-
Instantiates a new cipher version generator impl.
- CipherVersionImpl - Class in org.refcodes.forwardsecrecy
-
The Class CipherVersionImpl.
- CipherVersionImpl(String, String) - Constructor for class org.refcodes.forwardsecrecy.CipherVersionImpl
-
Constructs the data structure with the required attributes.
- clone() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
- clone() - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
- clone() - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
- close() - Method in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
- compareTo(CipherVersion) - Method in class org.refcodes.forwardsecrecy.CipherVersionImpl
- Convert - Class in edu.vt.middleware.crypt.util
-
Utility class provides static methods to perform common conversions.
- Converter - Interface in edu.vt.middleware.crypt.util
-
Interface describing conversion of bytes to string and vice versa.
- createCipher() - Method in class org.refcodes.forwardsecrecy.AbstractCipherVersionGenerator
-
Hook factory method to be implemented by subclasses.
- createCipher() - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
Default way on how to create a cipher.
- createCipherUid() - Method in class org.refcodes.forwardsecrecy.AbstractCipherVersionGenerator
-
Hook factory method to be implemented by subclasses.
- createCipherUid() - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
Default way on how to create a cipher UID.
- createInstance(String, String) - Method in interface org.refcodes.forwardsecrecy.CipherVersionFactory
-
Factory method to be implemented by subclasses.
- createInstance(String, String) - Method in class org.refcodes.forwardsecrecy.CipherVersionFactoryImpl
-
Factory method to be implemented by subclasses.
- createMessage() - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Creates a message for which a signature is to be created in order to
authenticate for the retrieval of the cipher versions.
- createMessage() - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
Default way on how to create a message which is to be signed in order to
identify the owner of a public key.
- createMessage() - Method in class org.refcodes.forwardsecrecy.LoopbackDecryptionService
-
Deprecated.
Creates a message for which a signature is to be created in order to
authenticate for the retrieval of the cipher versions.
- createMessage() - Method in class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Creates a message for which a signature is to be created in order to
authenticate for the retrieval of the cipher versions.
- crypt(byte[]) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Based on current cipher mode, encrypts or decrypts the given input data.
- crypt(InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Based on current cipher mode, encrypts or decrypts the data in the given
input stream into resulting data in the output stream.
- CryptException - Exception in edu.vt.middleware.crypt
-
CryptException
encapsulates the many exceptions that can occur
when working with the crypt libs.
- CryptException() - Constructor for exception edu.vt.middleware.crypt.CryptException
-
This creates a new CryptException
.
- CryptException(String) - Constructor for exception edu.vt.middleware.crypt.CryptException
-
This creates a new CryptException
with the supplied message.
- CryptException(String, Throwable) - Constructor for exception edu.vt.middleware.crypt.CryptException
-
This creates a new CryptException
with the supplied message
and cause.
- CryptException(Throwable) - Constructor for exception edu.vt.middleware.crypt.CryptException
-
This creates a new CryptException
with the supplied cause.
- CryptProvider - Class in edu.vt.middleware.crypt
-
CryptProvider
contains methods for finding cryptographic objects
using a set of providers.
- decodeBuffer - Variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Buffer containing decoded bytes.
- decrypt(byte[]) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Decrypts the given ciphertext bytes into a byte array of plaintext using
the decryption key.
- decrypt(byte[]) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Decrypts the given ciphertext bytes into a byte array of plaintext using
the decryption key.
- decrypt(InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Decrypts the data in the given ciphertext input stream into plaintext in
the output stream.
- decrypt(InputStream, OutputStream) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Decrypts the data in the given ciphertext input stream into plaintext in
the output stream.
- decrypt(String, Converter) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Decrypts a string representation of ciphertext bytes into a byte array of
plaintext using the decryption key.
- decrypt(String, Converter) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Decrypts a string representation of ciphertext bytes into a byte array of
plaintext using the decryption key.
- DecryptionProvider - Interface in org.refcodes.forwardsecrecy
-
The
DecryptionProvider
is bound to a namespace and is being used by
the business logic to decrypt data.
- DecryptionProviderImpl - Class in org.refcodes.forwardsecrecy
-
- DecryptionProviderImpl(DecryptionService) - Constructor for class org.refcodes.forwardsecrecy.DecryptionProviderImpl
-
- DecryptionProviderImpl(DecryptionService, Provider, String) - Constructor for class org.refcodes.forwardsecrecy.DecryptionProviderImpl
-
- DecryptionServer - Interface in org.refcodes.forwardsecrecy
-
- DecryptionService - Interface in org.refcodes.forwardsecrecy
-
- DEFAULT_BYTE_DELIMITER - Static variable in class edu.vt.middleware.crypt.util.HexConverter
-
Default byte delimiter.
- DEFAULT_CHARSET - Static variable in class edu.vt.middleware.crypt.util.Convert
-
Default character set.
- digest - Variable in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Digest instance used for digest computation.
- digest - Variable in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Message digest used to compute encoded message for signing.
- digest(byte[]) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Computes the digest for the given data in a single operation.
- digest(byte[], Converter) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Computes the digest for the given data in a single operation and passes
the resulting digest bytes through the given converter to produce text
output.
- digest(InputStream) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Computes the digest for all the data in the stream by reading data and
hashing it in chunks.
- digest(InputStream, Converter) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Computes the digest for all the data in the stream by reading data and
hashing it in chunks.
- DigestAlgorithm - Class in edu.vt.middleware.crypt.digest
-
DigestAlgorithm
provides message digest operations.
- DigestAlgorithm(Digest) - Constructor for class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Creates a new digest algorithm that uses the given Digest
for
digest computation.
- DirectByteArrayOutputStream - Class in edu.vt.middleware.crypt.io
-
- DirectByteArrayOutputStream() - Constructor for class edu.vt.middleware.crypt.io.DirectByteArrayOutputStream
-
Creates a new instance with a buffer of the default size.
- DirectByteArrayOutputStream(int) - Constructor for class edu.vt.middleware.crypt.io.DirectByteArrayOutputStream
-
Creates a new instance with a buffer of the given initial capacity.
- DSASignature - Class in edu.vt.middleware.crypt.signature
-
Implements the DSA signature algorithm.
- DSASignature() - Constructor for class edu.vt.middleware.crypt.signature.DSASignature
-
Creates a new DSA signature class that uses a SHA-1 for message digest
computation.
- DSASignature(DigestAlgorithm) - Constructor for class edu.vt.middleware.crypt.signature.DSASignature
-
Creates a new DSA signature class that uses the given digest algorithm
for message digest computation.
- fillBuffer() - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
- fillBuffer() - Method in class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
- fillBuffer() - Method in class edu.vt.middleware.crypt.io.HexFilterInputStream
-
- flush() - Method in class edu.vt.middleware.crypt.io.TeePrintStream
- flushToStream() - Method in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
Encodes the contents of the write buffer and writes the result to the
wrapped output stream.
- ForwardSecrecyDecryptionException - Exception in org.refcodes.forwardsecrecy
-
The Class ForwardSecrecyDecryptionException.
- ForwardSecrecyDecryptionException(String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
-
Instantiates a new forward secrecy decryption exception.
- ForwardSecrecyDecryptionException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
-
Instantiates a new forward secrecy decryption exception.
- ForwardSecrecyDecryptionException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
-
Instantiates a new forward secrecy decryption exception.
- ForwardSecrecyDecryptionException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
-
Instantiates a new forward secrecy decryption exception.
- ForwardSecrecyDecryptionException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
-
Instantiates a new forward secrecy decryption exception.
- ForwardSecrecyDecryptionException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
-
Instantiates a new forward secrecy decryption exception.
- ForwardSecrecyException - Exception in org.refcodes.forwardsecrecy
-
The Class ForwardSecrecyException.
- ForwardSecrecyException(String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
-
Instantiates a new forward secrecy exception.
- ForwardSecrecyException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
-
Instantiates a new forward secrecy exception.
- ForwardSecrecyException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
-
Instantiates a new forward secrecy exception.
- ForwardSecrecyException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
-
Instantiates a new forward secrecy exception.
- ForwardSecrecyException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
-
Instantiates a new forward secrecy exception.
- ForwardSecrecyException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
-
Instantiates a new forward secrecy exception.
- ForwardSecrecyRuntimeException - Exception in org.refcodes.forwardsecrecy
-
The Class ForwardSecrecyRuntimeException.
- ForwardSecrecyRuntimeException(String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
-
Instantiates a new forward secrecy runtime exception.
- ForwardSecrecyRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
-
Instantiates a new forward secrecy runtime exception.
- ForwardSecrecyRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
-
Instantiates a new forward secrecy runtime exception.
- ForwardSecrecyRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
-
Instantiates a new forward secrecy runtime exception.
- ForwardSecrecyRuntimeException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
-
Instantiates a new forward secrecy runtime exception.
- ForwardSecrecyRuntimeException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
-
Instantiates a new forward secrecy runtime exception.
- ForwardSecrecyUtility - Class in org.refcodes.forwardsecrecy
-
The Class ForwardSecrecyUtility.
- fromBase64(String) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts base64-encoded string of bytes into the original byte array.
- fromBytes(byte[]) - Method in class edu.vt.middleware.crypt.util.AbstractEncodingConverter
-
Converts a byte array to a formatted/encoded string.
- fromBytes(byte[]) - Method in interface edu.vt.middleware.crypt.util.Converter
-
Converts a byte array to a formatted/encoded string.
- fromBytes(byte[], int, int) - Method in class edu.vt.middleware.crypt.util.AbstractEncodingConverter
-
Converts a byte array to a formatted/encoded string.
- fromBytes(byte[], int, int) - Method in interface edu.vt.middleware.crypt.util.Converter
-
Converts a byte array to a formatted/encoded string.
- fromBytes(byte[], int, int) - Method in class edu.vt.middleware.crypt.util.HexConverter
-
Converts a byte array to a formatted/encoded string.
- fromHex(String) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts hexadecimal string of bytes into the original byte array.
- getAlgorithm() - Method in class edu.vt.middleware.crypt.AbstractAlgorithm
-
Gets the algorithm name.
- getAlgorithm() - Method in interface edu.vt.middleware.crypt.Algorithm
-
Gets the algorithm name.
- getAlgorithmParameterSpec() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Gets the algorithm parameter specification for this algorithm.
- getAlgorithmParameterSpec() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
-
Gets the algorithm parameter specification for this algorithm.
- getBlockSize() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Gets the block size of the encryption algorithm cipher in bytes.
- getBlockSize() - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Gets the block size of the encryption algorithm cipher in bytes.
- getBuffer() - Method in class edu.vt.middleware.crypt.io.DirectByteArrayOutputStream
-
Gets the internal byte buffer.
- getByteDelimiter() - Method in class edu.vt.middleware.crypt.util.HexConverter
-
Gets the byte delmiter string.
- getCertificateFactory(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This creates a CertificateFactory
using the supplied type
name.
- getChunkSize() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Gets the chunk size for buffers using in stream-based encryption and
decryption operations.
- getChunkSize() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
-
Gets the chunk size for buffers using in stream-based encryption and
decryption operations.
- getCipher() - Method in interface org.refcodes.forwardsecrecy.CipherVersion
-
Returns the cipher attribute.
- getCipher() - Method in class org.refcodes.forwardsecrecy.CipherVersionImpl
-
Returns the cipher attribute.
- getCipher(String, String, String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This finds a Cipher
using the known providers and the
supplied parameters.
- getCipherMode() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Gets the cipher mode indicating whether this instance is currently
initialized for encryption or decryption.
- getCipherMode() - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Gets the cipher mode indicating whether this instance is currently
initialized for encryption or decryption.
- getCipherVersions() - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Returns the currently available cipher versions.
- getCipherVersions() - Method in interface org.refcodes.forwardsecrecy.DecryptionService
-
Returns the currently available cipher versions.
- getCipherVersions(String, String, String) - Method in interface org.refcodes.forwardsecrecy.DecryptionServer
-
Returns the currently available cipher versions.
- getCipherVersions(String, String, String) - Method in class org.refcodes.forwardsecrecy.InMemoryDecryptionServer
-
Returns the currently available cipher versions.
- getCipherVersions(String, String, String) - Method in class org.refcodes.forwardsecrecy.PublicKeyDecryptionServerWrapper
-
Returns the currently available cipher versions.
- getDecodeBufferCapacity() - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Gets the encoder that decodes encoded character data in the input stream
to raw bytes.
- getDecodeBufferCapacity() - Method in class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
Gets the encoder that decodes encoded character data in the input stream
to raw bytes.
- getDecodeBufferCapacity() - Method in class edu.vt.middleware.crypt.io.HexFilterInputStream
-
Gets the encoder that decodes encoded character data in the input stream
to raw bytes.
- getDefaultCharset() - Static method in class edu.vt.middleware.crypt.util.Convert
-
Gets the default charset used for character/byte conversions.
- getDigest() - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Gets the underlying object that performs digest computation.
- getEncoder() - Method in class edu.vt.middleware.crypt.util.AbstractEncodingConverter
-
Gets the encoder instance that does the work of byte-char/char-byte
encoding.
- getEncoder() - Method in class edu.vt.middleware.crypt.util.Base64Converter
-
Gets the encoder instance that does the work of byte-char/char-byte
encoding.
- getEncoder() - Method in class edu.vt.middleware.crypt.util.HexConverter
-
Gets the encoder instance that does the work of byte-char/char-byte
encoding.
- getKeyFactory(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This finds a KeyFactory
using the known providers and the
supplied algorithm parameter.
- getKeyGenerator(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This finds a KeyGenerator
using the known providers and the
supplied algorithm parameter.
- getKeyPairGenerator(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This finds a KeyPairGenerator
using the known providers and
the supplied algorithm parameter.
- getKeyStore() - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This creates a KeyStore
using the default keystore type.
- getKeyStore(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This creates a KeyStore
using the supplied type name.
- getMessageDigest(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This creates a MessageDigest
using the supplied algorithm
name.
- getMode() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Gets the encryption mode.
- getMode() - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Gets the encryption mode.
- getPadding() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Gets the encryption padding method.
- getPadding() - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Gets the encryption padding method.
- getRandomByteSize() - Method in class edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
-
Gets the number of random bytes used for calculations that need random
data.
- getRandomByteSize() - Method in interface edu.vt.middleware.crypt.Randomizable
-
Gets the number of random bytes used for calculations that need random
data.
- getRandomData(int) - Method in class edu.vt.middleware.crypt.AbstractAlgorithm
-
Gets random bytes from the random provider of this instance in the amount
specified.
- getRandomData(int) - Method in interface edu.vt.middleware.crypt.Algorithm
-
Gets random bytes from the random provider of this instance in the amount
specified.
- getRandomSalt() - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
- getSecretKeyFactory(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This finds a SecretKeyFactory
using the known providers and
the supplied algorithm parameter.
- getSignature(String, String, String) - Static method in class edu.vt.middleware.crypt.CryptProvider
-
This finds a Signature
using the known providers and the
supplied parameters.
- getUniversalId() - Method in class org.refcodes.forwardsecrecy.CipherVersionImpl
- MD2 - Class in edu.vt.middleware.crypt.digest
-
MD2
contains functions for hashing data using the MD2 algorithm.
- MD2() - Constructor for class edu.vt.middleware.crypt.digest.MD2
-
Creates an uninitialized instance of an MD2 digest.
- MD2(boolean) - Constructor for class edu.vt.middleware.crypt.digest.MD2
-
Creates a new MD2 digest that may optionally be initialized with random
data.
- MD2(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.MD2
-
Creates a new MD2 digest and initializes it with the given salt.
- MD4 - Class in edu.vt.middleware.crypt.digest
-
MD4
contains functions for hashing data using the MD4 algorithm.
- MD4() - Constructor for class edu.vt.middleware.crypt.digest.MD4
-
Creates an uninitialized instance of an MD4 digest.
- MD4(boolean) - Constructor for class edu.vt.middleware.crypt.digest.MD4
-
Creates a new MD4 digest that may optionally be initialized with random
data.
- MD4(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.MD4
-
Creates a new MD4 digest and initializes it with the given salt.
- MD5 - Class in edu.vt.middleware.crypt.digest
-
MD5
contains functions for hashing data using the MD5 algorithm.
- MD5() - Constructor for class edu.vt.middleware.crypt.digest.MD5
-
Creates an uninitialized instance of an MD5 digest.
- MD5(boolean) - Constructor for class edu.vt.middleware.crypt.digest.MD5
-
Creates a new MD5 digest that may optionally be initialized with random
data.
- MD5(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.MD5
-
Creates a new MD5 digest and initializes it with the given salt.
- MESSAGE_LENGTH - Static variable in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
- mode - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Mode used for encryption and decryption.
- MODE - Static variable in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
-
Mode used for encryption and decryption.
- newInstance(String) - Static method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
-
Creates a new instance that uses a cipher of the given name.
- newInstance(String) - Static method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Creates a new digest algorithm instance from its name, e.g.
- newInstance(String) - Static method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Creates a new instance that uses the given signature algorithm to compute
and verify signatures.
- newInstance(String, String) - Static method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Creates a new instance that uses the given signature algorithm and digest
algorithm to compute and verify signatures.
- next() - Method in class org.refcodes.forwardsecrecy.AbstractCipherVersionGenerator
-
Generator method to be implemented by subclasses.
- next() - Method in class org.refcodes.forwardsecrecy.AbstractEncryptionService
-
Generator method to be implemented by subclasses.
- next() - Method in interface org.refcodes.forwardsecrecy.CipherVersionGenerator
-
Generator method to be implemented by subclasses.
- nextCipherVersion() - Method in interface org.refcodes.forwardsecrecy.EncryptionProvider
-
Forces a next valid cipher to be requested and used.
- nextCipherVersion() - Method in class org.refcodes.forwardsecrecy.EncryptionProviderImpl
-
Forces a next valid cipher to be requested and used.
- NoCipherUidException - Exception in org.refcodes.forwardsecrecy
-
The Class NoCipherUidException.
- NoCipherUidException(String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
-
Instantiates a new no cipher Universal-TID exception.
- NoCipherUidException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
-
Instantiates a new no cipher Universal-TID exception.
- NoCipherUidException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
-
Instantiates a new no cipher Universal-TID exception.
- NoCipherUidException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
-
Instantiates a new no cipher Universal-TID exception.
- NoCipherUidException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
-
Instantiates a new no cipher Universal-TID exception.
- NoCipherUidException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
-
Instantiates a new no cipher Universal-TID exception.
- padding - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Padding used for encryption and decryption.
- PADDING - Static variable in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
-
Padding used for encryption and decryption.
- position - Variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Position in decoded byte buffer.
- PublicKeyDecryptionServerWrapper - Class in org.refcodes.forwardsecrecy
-
Wraps a decryption server and provides asymmetric encryption support.
- PublicKeyDecryptionServerWrapper(String, String, String, DecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionServerWrapper
-
Constructs the service with the required configuration.
- PublicKeyDecryptionServerWrapper(String, String, String, DecryptionServer, CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionServerWrapper
-
Constructs the service with the required configuration.
- PublicKeyDecryptionServerWrapper(String, String, DecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionServerWrapper
-
Constructs the service with the required configuration.
- PublicKeyDecryptionServerWrapper(String, String, DecryptionServer, CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionServerWrapper
-
Constructs the service with the required configuration.
- PublicKeyDecryptionService - Class in org.refcodes.forwardsecrecy
-
- PublicKeyDecryptionService(String, String, String, DecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyDecryptionService(String, String, String, DecryptionServer, CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyDecryptionService(String, String, DecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyDecryptionService(String, String, DecryptionServer, CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyEncryptionService - Class in org.refcodes.forwardsecrecy
-
This Encryption-Service uses a public key for an asymmetric encryption
algorithm in order to encrypt any ciphers being generated before them ciphers
are passed to the Encryption-Server which persists them cipher versions with
the cipher UID and the encrypted cipher.
- PublicKeyEncryptionService(String, String, EncryptionServer) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyEncryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyEncryptionService(String, String, EncryptionServer, CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyEncryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyEncryptionService(String, String, EncryptionServer, CipherVersionGenerator<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyEncryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyEncryptionService(String, String, EncryptionServer, CipherVersionGenerator<CipherVersion>, CipherVersionFactory<CipherVersion>) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyEncryptionService
-
Constructs the service with the required services and configuration.
- RANDOM_BYTE_ARRAY_SIZE - Static variable in class edu.vt.middleware.crypt.CryptProvider
-
Default size of random byte array.
- randomByteSize - Variable in class edu.vt.middleware.crypt.AbstractAlgorithm
-
Number of bytes used for random data needs.
- randomByteSize - Variable in class edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
-
Number of bytes used for random data needs.
- Randomizable - Interface in edu.vt.middleware.crypt
-
Describes algorithms that support initialization with an arbitrary amount of
random data.
- randomProvider - Variable in class edu.vt.middleware.crypt.AbstractAlgorithm
-
DatagramsDestination of secure random data.
- read() - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
- read(byte[]) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
- read(byte[], int, int) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
- readPrivateKey(File, String) - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
- readPublicKey(File) - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
- remove() - Method in class org.refcodes.forwardsecrecy.AbstractCipherVersionGenerator
- remove() - Method in class org.refcodes.forwardsecrecy.AbstractEncryptionService
- RipeMD128 - Class in edu.vt.middleware.crypt.digest
-
RipeMD128
contains functions for hashing data using the
RipeMD128 algorithm.
- RipeMD128() - Constructor for class edu.vt.middleware.crypt.digest.RipeMD128
-
Creates an uninitialized instance of an RipeMD128 digest.
- RipeMD128(boolean) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD128
-
Creates a new RipeMD128 digest that may optionally be initialized with
random data.
- RipeMD128(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD128
-
Creates a new RipeMD128 digest and initializes it with the given salt.
- RipeMD160 - Class in edu.vt.middleware.crypt.digest
-
RipeMD160
contains functions for hashing data using the
RipeMD160 algorithm.
- RipeMD160() - Constructor for class edu.vt.middleware.crypt.digest.RipeMD160
-
Creates an uninitialized instance of an RipeMD160 digest.
- RipeMD160(boolean) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD160
-
Creates a new RipeMD160 digest that may optionally be initialized with
random data.
- RipeMD160(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD160
-
Creates a new RipeMD160 digest and initializes it with the given salt.
- RipeMD256 - Class in edu.vt.middleware.crypt.digest
-
RipeMD256
contains functions for hashing data using the
RipeMD256 algorithm.
- RipeMD256() - Constructor for class edu.vt.middleware.crypt.digest.RipeMD256
-
Creates an uninitialized instance of an RipeMD256 digest.
- RipeMD256(boolean) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD256
-
Creates a new RipeMD256 digest that may optionally be initialized with
random data.
- RipeMD256(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD256
-
Creates a new RipeMD256 digest and initializes it with the given salt.
- RipeMD320 - Class in edu.vt.middleware.crypt.digest
-
RipeMD320
contains functions for hashing data using the
RipeMD320 algorithm.
- RipeMD320() - Constructor for class edu.vt.middleware.crypt.digest.RipeMD320
-
Creates an uninitialized instance of an RipeMD320 digest.
- RipeMD320(boolean) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD320
-
Creates a new RipeMD320 digest that may optionally be initialized with
random data.
- RipeMD320(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.RipeMD320
-
Creates a new RipeMD320 digest and initializes it with the given salt.
- RSA - Class in edu.vt.middleware.crypt.asymmetric
-
RSA
contains functions for encrypting and decrypting using the
RSA algorithm.
- RSA() - Constructor for class edu.vt.middleware.crypt.asymmetric.RSA
-
Creates a default RSA asymmetric encryption algorithm that uses OAEP
padding.
- RSASignature - Class in edu.vt.middleware.crypt.signature
-
- RSASignature() - Constructor for class edu.vt.middleware.crypt.signature.RSASignature
-
Creates a new RSA signature class that uses a SHA-1 for message digest
computation.
- RSASignature(DigestAlgorithm) - Constructor for class edu.vt.middleware.crypt.signature.RSASignature
-
Creates a new RSA signature class that uses the given digest algorithm
for message digest computation.
- salt - Variable in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Random data used to initialize digest.
- setByteDelimiter(String) - Method in class edu.vt.middleware.crypt.util.HexConverter
-
Sets the byte delimiter string.
- setCipherVersionsExpireTimeInMs(long) - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Injection method for setting the the expire time (in milliseconds) after
which once loaded cipher versions expire.
- setDigest(Digest) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Sets the internal object responsible for digest computation.
- setKey(Key) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Sets the key used for encryption/decryption.
- setKey(Key) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Sets the key used for encryption/decryption.
- setRandomByteSize(int) - Method in class edu.vt.middleware.crypt.AbstractRandomizableAlgorithm
-
Sets the number of random bytes used for calculations that need random
data.
- setRandomByteSize(int) - Method in interface edu.vt.middleware.crypt.Randomizable
-
Sets the number of random bytes used for calculations that need random
data.
- setRandomProvider(SecureRandom) - Method in class edu.vt.middleware.crypt.AbstractAlgorithm
-
Sets the source of random data for cryptographic operations needing a
random data source, such as generating a random salt value.
- setRandomProvider(SecureRandom) - Method in interface edu.vt.middleware.crypt.Algorithm
-
Sets the source of random data for cryptographic operations needing a
random data source, such as generating a random salt value.
- setSalt(byte[]) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
-
Sets the salt used to randomize the digest prior to digestion.
- setSignKey(PrivateKey) - Method in class edu.vt.middleware.crypt.signature.DSASignature
-
Sets the private key used for signing.
- setSignKey(PrivateKey) - Method in class edu.vt.middleware.crypt.signature.ECDSASignature
-
Sets the private key used for signing.
- setSignKey(PrivateKey) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Sets the private key used for signing.
- setSignKey(PrivateKey) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Sets the private key used for signing.
- setVerifyKey(PublicKey) - Method in class edu.vt.middleware.crypt.signature.DSASignature
-
Sets the public key used for verification.
- setVerifyKey(PublicKey) - Method in class edu.vt.middleware.crypt.signature.ECDSASignature
-
Sets the public key used for verification.
- setVerifyKey(PublicKey) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Sets the public key used for verification.
- setVerifyKey(PublicKey) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Sets the public key used for verification.
- SHA1 - Class in edu.vt.middleware.crypt.digest
-
SHA1
contains functions for hashing data using the SHA-1
algorithm.
- SHA1() - Constructor for class edu.vt.middleware.crypt.digest.SHA1
-
Creates an uninitialized instance of an SHA1 digest.
- SHA1(boolean) - Constructor for class edu.vt.middleware.crypt.digest.SHA1
-
Creates a new SHA1 digest that may optionally be initialized with random
data.
- SHA1(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.SHA1
-
Creates a new SHA1 digest and initializes it with the given salt.
- SHA256 - Class in edu.vt.middleware.crypt.digest
-
SHA256
contains functions for hashing data using the SHA-256
algorithm.
- SHA256() - Constructor for class edu.vt.middleware.crypt.digest.SHA256
-
Creates an uninitialized instance of an SHA256 digest.
- SHA256(boolean) - Constructor for class edu.vt.middleware.crypt.digest.SHA256
-
Creates a new SHA256 digest that may optionally be initialized with
random data.
- SHA256(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.SHA256
-
Creates a new SHA256 digest and initializes it with the given salt.
- SHA384 - Class in edu.vt.middleware.crypt.digest
-
SHA384
contains functions for hashing data using the SHA-384
algorithm.
- SHA384() - Constructor for class edu.vt.middleware.crypt.digest.SHA384
-
Creates an uninitialized instance of an SHA384 digest.
- SHA384(boolean) - Constructor for class edu.vt.middleware.crypt.digest.SHA384
-
Creates a new SHA384 digest that may optionally be initialized with
random data.
- SHA384(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.SHA384
-
Creates a new SHA384 digest and initializes it with the given salt.
- SHA512 - Class in edu.vt.middleware.crypt.digest
-
SHA512
contains functions for hashing data using the SHA-512
algorithm.
- SHA512() - Constructor for class edu.vt.middleware.crypt.digest.SHA512
-
Creates an uninitialized instance of an SHA512 digest.
- SHA512(boolean) - Constructor for class edu.vt.middleware.crypt.digest.SHA512
-
Creates a new SHA512 digest that may optionally be initialized with
random data.
- SHA512(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.SHA512
-
Creates a new SHA512 digest and initializes it with the given salt.
- sign(byte[]) - Method in class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Signs the given data and returns the signature as a byte array.
- sign(byte[]) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Signs the given data and returns the signature as a byte array.
- sign(byte[]) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Signs the given data and returns the signature as a byte array.
- sign(byte[], Converter) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Signs the given data and returns the signature as a string using the
conversion strategy provided by the given converter.
- sign(InputStream) - Method in class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Computes the signature of the data in the given input stream by
processing in chunks.
- sign(InputStream) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Computes the signature of the data in the given input stream by
processing in chunks.
- sign(InputStream) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Computes the signature of the data in the given input stream by
processing in chunks.
- sign(InputStream, Converter) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Computes the signature of the data in the given input stream by
processing in chunks.
- SignatureAlgorithm - Class in edu.vt.middleware.crypt.signature
-
SignatureAlgorithm
provides message signing and verification
operations.
- SignatureAlgorithm(String) - Constructor for class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Creates a new instance of a the given signature algorithm.
- SignatureVerificationException - Exception in org.refcodes.forwardsecrecy
-
The Class SignatureVerificationException.
- SignatureVerificationException(String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
-
Instantiates a new signature verification exception.
- SignatureVerificationException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
-
Instantiates a new signature verification exception.
- SignatureVerificationException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
-
Instantiates a new signature verification exception.
- SignatureVerificationException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
-
Instantiates a new signature verification exception.
- SignatureVerificationException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
-
Instantiates a new signature verification exception.
- SignatureVerificationException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
-
Instantiates a new signature verification exception.
- signer - Variable in class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Signer that implements DSA algorithm.
- signKey - Variable in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Private key used for signing.
- TeePrintStream - Class in edu.vt.middleware.crypt.io
-
Works like the Unix tee
utility by writing to two streams
simultaneously, where one is typically STDOUT or STDERR.
- TeePrintStream(OutputStream, OutputStream) - Constructor for class edu.vt.middleware.crypt.io.TeePrintStream
-
Creates a tee stream that writes to both of the given streams
simultaneously.
- Tiger - Class in edu.vt.middleware.crypt.digest
-
Tiger
contains functions for hashing data using the Tiger
algorithm.
- Tiger() - Constructor for class edu.vt.middleware.crypt.digest.Tiger
-
Creates an uninitialized instance of an Tiger digest.
- Tiger(boolean) - Constructor for class edu.vt.middleware.crypt.digest.Tiger
-
Creates a new Tiger digest that may optionally be initialized with random
data.
- Tiger(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.Tiger
-
Creates a new Tiger digest and initializes it with the given salt.
- toAsciiBytes(String) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts a string to bytes in the ASCII character set.
- toBase64(byte[]) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts a byte array into a base-64 encoded string without any line
breaks.
- toBytes(char[]) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts a character array to a byte array in the default character set.
- toBytes(String) - Method in class edu.vt.middleware.crypt.util.AbstractEncodingConverter
-
Converts a formatted/encoded string to raw bytes.
- toBytes(String) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts a string to bytes in the default character set.
- toBytes(String) - Method in interface edu.vt.middleware.crypt.util.Converter
-
Converts a formatted/encoded string to raw bytes.
- toBytes(String) - Method in class edu.vt.middleware.crypt.util.HexConverter
-
Converts a formatted/encoded string to raw bytes.
- toBytes(String[]) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Convers an array of strings into a byte array produced by concatenating
the byte representation of each string in the default character set.
- toCipherUidPrefix(String) - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
Expects a text with a prefixed cipher UID.
- toDecrypted(byte[], int, int, byte[], int) - Method in class org.refcodes.forwardsecrecy.DecryptionProviderImpl
- toDecrypted(String) - Method in interface org.refcodes.forwardsecrecy.DecryptionProvider
-
Encrypts a text with the latest known valid cipher.
- toDecrypted(String) - Method in class org.refcodes.forwardsecrecy.DecryptionProviderImpl
-
Encrypts a text with the latest known valid cipher.
- toDecryptedCipherVersion(CV) - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Hook factory method to be implemented by subclasses.
- toDecryptedCipherVersion(CV) - Method in class org.refcodes.forwardsecrecy.LoopbackDecryptionService
-
- toDecryptedCipherVersion(CV) - Method in class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
To decrypted cipher version.
- toEncrypted(byte[], int, int, byte[], int) - Method in class org.refcodes.forwardsecrecy.EncryptionProviderImpl
- toEncrypted(String) - Method in interface org.refcodes.forwardsecrecy.EncryptionProvider
- toEncrypted(String) - Method in class org.refcodes.forwardsecrecy.EncryptionProviderImpl
- toEncryptedCipherVersion(CV) - Method in class org.refcodes.forwardsecrecy.AbstractEncryptionService
-
Hook factory method to be implemented by subclasses.
- toEncryptedCipherVersion(CV) - Method in class org.refcodes.forwardsecrecy.LoopbackEncryptionService
-
Deprecated.
- toEncryptedCipherVersion(CV) - Method in class org.refcodes.forwardsecrecy.PublicKeyEncryptionService
-
To encrypted cipher version.
- toEncryptedTextBody(String) - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
Expects a text with a prefixed cipher UID.
- toHex(byte[]) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts a byte array into a hexadecimal string representation of the
bytes.
- toSignature(String) - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Creates a signature for the given message.
- toSignature(String) - Method in class org.refcodes.forwardsecrecy.LoopbackDecryptionService
-
Deprecated.
Creates a signature for the given message.
- toSignature(String) - Method in class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Creates a signature for the given message.
- toString() - Method in class edu.vt.middleware.crypt.AbstractAlgorithm
- toString() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
- toString(byte[]) - Static method in class edu.vt.middleware.crypt.util.Convert
-
Converts a byte array to a string in the default encoding.