Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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
-
Constructor for the
AbstractCipherVersionGenerator
. - AbstractDecryptionService - Class in org.refcodes.forwardsecrecy
-
Abstract base implementation for non abstract
DecryptionService
implementations. - AbstractDecryptionService(String, DecryptionServer, long) - 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
-
Abstract base implementation for non abstract
EncryptionService
implementations. - 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
-
Adds a
CipherVersion
to theEncryptionServer
. - 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
-
Adds a
CipherVersion
to theEncryptionServer
. - 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.
B
- Base64Converter - Class in edu.vt.middleware.crypt.util
-
Converts bytes to base-64 encoded strings and vice versa.
- Base64Converter() - Constructor for class edu.vt.middleware.crypt.util.Base64Converter
- Base64FilterInputStream - Class in edu.vt.middleware.crypt.io
-
Converts an input stream of base-64 encoded character bytes into raw bytes.
- Base64FilterInputStream(InputStream) - Constructor for class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
Creates a base-64 filter input stream around the given input stream.
- Base64FilterInputStream(InputStream, int) - Constructor for class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
Creates a base-64 filter input stream around the given input stream.
- Base64FilterOutputStream - Class in edu.vt.middleware.crypt.io
-
Encodes raw bytes into base-64 encoded character bytes in the wrapped output stream.
- Base64FilterOutputStream(OutputStream) - Constructor for class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
Creates a base-64 filter output stream around the given output stream.
- Base64FilterOutputStream(OutputStream, int) - Constructor for class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
/** Creates a base-64 filter output stream around the given output stream.
- byteBuffer - Variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Holds bytes encoded bytes read from input stream.
C
- 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
-
Either
Cipher.ENCRYPT_MODE
orCipher.DECRYPT_MODE
. - CipherUidAlreadyInUseException - Exception in org.refcodes.forwardsecrecy
- CipherUidAlreadyInUseException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
- CipherUidAlreadyInUseException(String, String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
- CipherUidAlreadyInUseException(String, String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
- CipherUidAlreadyInUseException(String, String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
- CipherUidAlreadyInUseException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
- CipherUidAlreadyInUseException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
- 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; theCipherVersionFactory
can be replaced with a custom implementation instantiatingCipherVersion
(sub-)types with the additional required attributes or functionality. - CipherVersionFactoryImpl - Class in org.refcodes.forwardsecrecy
-
Default implementation of a
CipherVersionFactory
creatingCipherVersion
instances. - 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
generatingCipherVersion
instances can be replaced with a customCipherVersionGenerator
using its own approach generating ciphers and cipher UIDs (CipherVersion
instances). - CipherVersionGeneratorImpl - Class in org.refcodes.forwardsecrecy
-
Implementation if the
AbstractCipherVersionGenerator
for the usage of plainCipherVersion
instances. - CipherVersionGeneratorImpl() - Constructor for class org.refcodes.forwardsecrecy.CipherVersionGeneratorImpl
-
Constructs a
CipherVersionGenerator
using theCipherVersionFactoryImpl
for creating itsCipherVersion
instances. - 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.
- create(String, String) - Method in interface org.refcodes.forwardsecrecy.CipherVersionFactory
-
Factory method to be implemented by subclasses.
- create(String, String) - Method in class org.refcodes.forwardsecrecy.CipherVersionFactoryImpl
-
Factory method to be implemented by subclasses.
- 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.
- createMessage() - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Creates a aMessage 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 aMessage 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 aMessage 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 aMessage 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 aMessage. - CryptException(String, Throwable) - Constructor for exception edu.vt.middleware.crypt.CryptException
-
This creates a new
CryptException
with the supplied aMessage and aCause. - CryptException(Throwable) - Constructor for exception edu.vt.middleware.crypt.CryptException
-
This creates a new
CryptException
with the supplied aCause. - CryptProvider - Class in edu.vt.middleware.crypt
-
CryptProvider
contains methods for finding cryptographic objects using a set of providers.
D
- 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.
- DecryptCipherRuntimeException - Exception in org.refcodes.forwardsecrecy
-
The Class
DecryptCipherRuntimeException
. - DecryptCipherRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.DecryptCipherRuntimeException
- DecryptCipherRuntimeException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.DecryptCipherRuntimeException
- DecryptCipherRuntimeException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.DecryptCipherRuntimeException
- DecryptCipherRuntimeException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.DecryptCipherRuntimeException
- DecryptCipherRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.DecryptCipherRuntimeException
- DecryptCipherRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.DecryptCipherRuntimeException
- 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
-
This class is a basic implementation of the
DecryptionProvider
interface. - DecryptionProviderImpl(DecryptionService) - Constructor for class org.refcodes.forwardsecrecy.DecryptionProviderImpl
-
Constructs the
DecryptionProvider
using AES as implemented by theBouncyCastleProvider
. - DecryptionProviderImpl(DecryptionService, Provider, String) - Constructor for class org.refcodes.forwardsecrecy.DecryptionProviderImpl
-
Constructs the
DecryptionProvider
with the givenDecryptionService
and with the specified JCEProvider
as well as the according JCE algorithm. - DecryptionServer - Interface in org.refcodes.forwardsecrecy
-
The
DecryptionServer
containsCipherVersion
instances assigned to a namespace. - DecryptionService - Interface in org.refcodes.forwardsecrecy
-
A
DecryptionService
is bound to a single namespace and provides cipher versions required for decrypting text by theDecryptionProvider
. - 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 aMessage 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 aMessage 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
-
Extends
ByteArrayOutputStream
by allowing direct access to the internal byte buffer. - 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.
- dispose() - Method in class org.refcodes.forwardsecrecy.DecryptionProviderImpl
- dispose() - Method in class org.refcodes.forwardsecrecy.EncryptionProviderImpl
- 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 aMessage 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 aMessage digest computation.
E
- ECDSASignature - Class in edu.vt.middleware.crypt.signature
-
Implements the ECDSA algorithm.
- ECDSASignature() - Constructor for class edu.vt.middleware.crypt.signature.ECDSASignature
-
Creates a new ECDSA signature instance that uses SHA-1 for computation of aMessage digests.
- ECDSASignature(DigestAlgorithm) - Constructor for class edu.vt.middleware.crypt.signature.ECDSASignature
-
Creates a new ECDSA signature instance that uses the given digest algorithm for aMessage digest computation.
- edu.vt.middleware.crypt - package edu.vt.middleware.crypt
- edu.vt.middleware.crypt.asymmetric - package edu.vt.middleware.crypt.asymmetric
- edu.vt.middleware.crypt.digest - package edu.vt.middleware.crypt.digest
- edu.vt.middleware.crypt.io - package edu.vt.middleware.crypt.io
- edu.vt.middleware.crypt.signature - package edu.vt.middleware.crypt.signature
- edu.vt.middleware.crypt.util - package edu.vt.middleware.crypt.util
- encrypt(byte[]) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Encrypts the given plaintext bytes into a byte array of ciphertext using the encryption key.
- encrypt(byte[]) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Encrypts the given plaintext bytes into a byte array of ciphertext using the encryption key.
- encrypt(byte[], Converter) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Encrypts the given plaintext bytes into a ciphertext string using the conversion strategy provided by the given converter.
- encrypt(byte[], Converter) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Encrypts the given plaintext bytes into a ciphertext string using the conversion strategy provided by the given converter.
- encrypt(InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Encrypts the data in the given plaintext input stream into ciphertext in the output stream.
- encrypt(InputStream, OutputStream) - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Encrypts the data in the given plaintext input stream into ciphertext in the output stream.
- EncryptCipherRuntimeException - Exception in org.refcodes.forwardsecrecy
-
The Class
EncryptCipherRuntimeException
. - EncryptCipherRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.EncryptCipherRuntimeException
- EncryptCipherRuntimeException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.EncryptCipherRuntimeException
- EncryptCipherRuntimeException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.EncryptCipherRuntimeException
- EncryptCipherRuntimeException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.EncryptCipherRuntimeException
- EncryptCipherRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.EncryptCipherRuntimeException
- EncryptCipherRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.EncryptCipherRuntimeException
- EncryptionAlgorithm - Interface in edu.vt.middleware.crypt
-
Describes operations common to both symmetric and asymmetric encryption algorithms.
- EncryptionProvider - Interface in org.refcodes.forwardsecrecy
-
The
EncryptionProvider
is bound to a namespace and is being used by the business logic to encrypt data. - EncryptionProviderImpl - Class in org.refcodes.forwardsecrecy
-
This class is a basic implementation of the
EncryptionProvider
interface. - EncryptionProviderImpl(EncryptionService) - Constructor for class org.refcodes.forwardsecrecy.EncryptionProviderImpl
-
Constructs the
EncryptionProvider
using AES as implemented by theBouncyCastleProvider
. - EncryptionProviderImpl(EncryptionService, Provider, String) - Constructor for class org.refcodes.forwardsecrecy.EncryptionProviderImpl
-
Constructs the
EncryptionProvider
with the givenEncryptionService
and with the specified JCEProvider
as well as the according JCE algorithm. - EncryptionServer - Interface in org.refcodes.forwardsecrecy
-
The
EncryptionServer
takesCipherVersion
instances generated by anEncryptionService
for a provided namespace. - EncryptionService - Interface in org.refcodes.forwardsecrecy
-
An
EncryptionService
is bound to a single namespace and creates uniqueCipherVersion
instances for that namespace. - equals(Object) - Method in class org.refcodes.forwardsecrecy.CipherVersionImpl
- EXPIRE_TIME_IMMEDIATELY - Static variable in class org.refcodes.forwardsecrecy.AbstractDecryptionService
- EXPIRE_TIME_NEVER - Static variable in class org.refcodes.forwardsecrecy.AbstractDecryptionService
F
- fillBuffer() - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
-
Reads characters from the input reader and decodes them to fill
AbstractEncodingFilterInputStream.decodeBuffer
. - fillBuffer() - Method in class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
Reads characters from the input reader and decodes them to fill
AbstractEncodingFilterInputStream.decodeBuffer
. - fillBuffer() - Method in class edu.vt.middleware.crypt.io.HexFilterInputStream
-
Reads characters from the input reader and decodes them to fill
AbstractEncodingFilterInputStream.decodeBuffer
. - 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.
- ForwardSecrecyCipherException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- ForwardSecrecyCipherException(String, String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- ForwardSecrecyCipherException(String, String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- ForwardSecrecyCipherException(String, String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- ForwardSecrecyCipherException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- ForwardSecrecyCipherException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- ForwardSecrecyDecryptionException - Exception in org.refcodes.forwardsecrecy
-
The Class
ForwardSecrecyDecryptionException
. - ForwardSecrecyDecryptionException(String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
- ForwardSecrecyDecryptionException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
- ForwardSecrecyDecryptionException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
- ForwardSecrecyDecryptionException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
- ForwardSecrecyDecryptionException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
- ForwardSecrecyDecryptionException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException
- ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException - Exception in org.refcodes.forwardsecrecy
- ForwardSecrecyDecryptionUidException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- ForwardSecrecyDecryptionUidException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- ForwardSecrecyDecryptionUidException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- ForwardSecrecyDecryptionUidException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- ForwardSecrecyDecryptionUidException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- ForwardSecrecyDecryptionUidException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- ForwardSecrecyException - Exception in org.refcodes.forwardsecrecy
-
The Class
ForwardSecrecyException
. - ForwardSecrecyException(String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
- ForwardSecrecyException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
- ForwardSecrecyException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
- ForwardSecrecyException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
- ForwardSecrecyException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
- ForwardSecrecyException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyException
- ForwardSecrecyException.ForwardSecrecyCipherException - Exception in org.refcodes.forwardsecrecy
- ForwardSecrecyRuntimeException - Exception in org.refcodes.forwardsecrecy
-
The Class
ForwardSecrecyRuntimeException
. - ForwardSecrecyRuntimeException(String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
- ForwardSecrecyRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
- ForwardSecrecyRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
- ForwardSecrecyRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
- ForwardSecrecyRuntimeException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
- ForwardSecrecyRuntimeException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException
- ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException - Exception in org.refcodes.forwardsecrecy
- ForwardSecrecyUidRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- ForwardSecrecyUidRuntimeException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- ForwardSecrecyUidRuntimeException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- ForwardSecrecyUidRuntimeException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- ForwardSecrecyUidRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- ForwardSecrecyUidRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- 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.
G
- 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.
- getCipherVersionsExpireTimeMillis() - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Returns the the expire time (in milliseconds) after which once loaded cipher versions expire.
- 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.
- getNamespace() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- 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.
- getPatternArguments() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- getPatternArguments() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- getPatternArguments() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
- 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
-
Gets a random salt in the amount specified by
AbstractRandomizableAlgorithm.getRandomByteSize()
. - 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
- getUniversalId() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- getUniversalId() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- getUniversalId() - Method in exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
-
n
H
- hasEncryptionPattern(String) - Static method in class org.refcodes.forwardsecrecy.ForwardSecrecyUtility
-
Returns true in case the given text provided the characteristics of an encrypted text as of the cipher and cipher UID pattern. ------------------------------------------------------------------------- CAUTION: A plain text may have the same characteristics, an encrypted text must have these characteristics!
- hashCode() - Method in class org.refcodes.forwardsecrecy.CipherVersionImpl
- hasNext() - Method in class org.refcodes.forwardsecrecy.AbstractCipherVersionGenerator
- hasNext() - Method in class org.refcodes.forwardsecrecy.AbstractEncryptionService
- HexConverter - Class in edu.vt.middleware.crypt.util
-
Converts bytes to HEX and vice versa.
- HexConverter() - Constructor for class edu.vt.middleware.crypt.util.HexConverter
-
Creates a new instance.
- HexConverter(boolean) - Constructor for class edu.vt.middleware.crypt.util.HexConverter
-
Creates a new instance that optionally handled delimited bytes in the string input/output.
- HexFilterInputStream - Class in edu.vt.middleware.crypt.io
-
Decodes hexadecimal character bytes in the wrapped input stream into raw bytes.
- HexFilterInputStream(InputStream) - Constructor for class edu.vt.middleware.crypt.io.HexFilterInputStream
-
Creates a hex filter input stream around the given input stream.
- HexFilterOutputStream - Class in edu.vt.middleware.crypt.io
-
Encodes raw bytes into hexadecimal characters in the wrapped output stream.
- HexFilterOutputStream(OutputStream) - Constructor for class edu.vt.middleware.crypt.io.HexFilterOutputStream
-
Creates a hex filter output stream around the given output stream.
I
- init(boolean, CipherParameters) - Method in class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Initialize the signer.
- init(boolean, CipherParameters) - Method in class edu.vt.middleware.crypt.signature.ECDSASignature
-
Initialize the signer.
- init(boolean, CipherParameters) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Initialize the signer.
- init(int) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Initializes
AbstractEncryptionAlgorithm.cipher
for either encryption or decryption. - initCipher() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Initializes the underlying
Cipher
object usingAbstractAlgorithm.algorithm
,AbstractEncryptionAlgorithm.mode
, andAbstractEncryptionAlgorithm.padding
. - initDecrypt() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Initializes this instance for decryption operations.
- initDecrypt() - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Initializes this instance for decryption operations.
- initEncrypt() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Initializes this instance for encryption operations.
- initEncrypt() - Method in interface edu.vt.middleware.crypt.EncryptionAlgorithm
-
Initializes this instance for encryption operations.
- initSign() - Method in class edu.vt.middleware.crypt.signature.DSASignature
-
Initialize the signature for the
sign(byte[])
operation. - initSign() - Method in class edu.vt.middleware.crypt.signature.ECDSASignature
-
Initialize the signature for the
sign(byte[])
operation. - initSign() - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Initialize the signature for the
sign(byte[])
operation. - initSign() - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Initialize the signature for the
sign(byte[])
operation. - initVerify() - Method in class edu.vt.middleware.crypt.signature.DSASignature
-
Initialize the signature for the
verify(byte[], byte[])
operation. - initVerify() - Method in class edu.vt.middleware.crypt.signature.ECDSASignature
-
Initialize the signature for the
verify(byte[], byte[])
operation. - initVerify() - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Initialize the signature for the
verify(byte[], byte[])
operation. - initVerify() - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Initialize the signature for the
verify(byte[], byte[])
operation. - InMemoryDecryptionServer - Class in org.refcodes.forwardsecrecy
-
The
InMemoryDecryptionServer
is a non-persisting implementation of theDecryptionServer
managing theCipherVersion
instances in memory only. - InMemoryDecryptionServer() - Constructor for class org.refcodes.forwardsecrecy.InMemoryDecryptionServer
- InMemoryEncryptionServer - Class in org.refcodes.forwardsecrecy
-
The
InMemoryEncryptionServer
is a non-persisting implementation of theEncryptionServer
managing theCipherVersion
instances in memory only. - InMemoryEncryptionServer(InMemoryDecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.InMemoryEncryptionServer
-
Constructs the server with the provided decryption server.
K
- key - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
-
Key used for encryption or decryption.
L
- LINE_LENGTH_64 - Static variable in class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
Wrap lines at 64 characters.
- LINE_LENGTH_64 - Static variable in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
Wrap lines at 64 characters.
- LINE_LENGTH_76 - Static variable in class edu.vt.middleware.crypt.io.Base64FilterInputStream
-
Wrap lines at 76 characters.
- LINE_LENGTH_76 - Static variable in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
Wrap lines at 76 characters.
- LINE_TERMINATOR - Static variable in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
Line termination character.
- LoopbackDecryptionService - Class in org.refcodes.forwardsecrecy
-
Deprecated.
- LoopbackDecryptionService(String, InMemoryDecryptionServer) - Constructor for class org.refcodes.forwardsecrecy.LoopbackDecryptionService
-
Deprecated.To prevent accidental use in productive environment this insecure implementation of the
DecryptionService
has been marked as being deprecated; please use only for testing purposes. - LoopbackDecryptionService(String, InMemoryDecryptionServer, long) - Constructor for class org.refcodes.forwardsecrecy.LoopbackDecryptionService
-
Deprecated.To prevent accidental use in productive environment this insecure implementation of the
DecryptionService
has been marked as being deprecated; please use only for testing purposes. - LoopbackEncryptionService - Class in org.refcodes.forwardsecrecy
-
Deprecated.To prevent accidental use in productive environment this insecure implementation of the
EncryptionService
has been marked as being deprecated; please use only for testing purposes. - LoopbackEncryptionService(String, EncryptionServer) - Constructor for class org.refcodes.forwardsecrecy.LoopbackEncryptionService
-
Deprecated.To prevent accidental use in productive environment this insecure implementation of the
EncryptionService
has been marked as being deprecated; please use only for testing purposes.
M
- 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.
N
- 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
- NoCipherUidException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
- NoCipherUidException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
- NoCipherUidException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
- NoCipherUidException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
- NoCipherUidException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.NoCipherUidException
O
- org.refcodes.forwardsecrecy - module org.refcodes.forwardsecrecy
- org.refcodes.forwardsecrecy - package org.refcodes.forwardsecrecy
-
This artifacts provides you means to produce high throughput of symmetric encryption of data securing it with an asymmetric encryption approach - giving you the speed of symmetric encryption and the security of asymmetric (public/private-key) encryption.
P
- 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
-
The
DecryptionService
retrievesCipherVersion
instances from theDecryptionServer
and is decrypting the ciphers contained in theCipherVersion
instances with a private key. - 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, long) - Constructor for class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Constructs the service with the required services and configuration.
- PublicKeyDecryptionService(String, String, String, DecryptionServer, CipherVersionFactory<CipherVersion>, long) - 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, long) - 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.
- PublicKeyDecryptionService(String, String, DecryptionServer, CipherVersionFactory<CipherVersion>, long) - 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.
R
- 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
-
Implements the RSASSA-PKCS1-v1_5 signature algorithm described in http://www.ietf.org/rfc/rfc2437.txt.
- RSASignature() - Constructor for class edu.vt.middleware.crypt.signature.RSASignature
-
Creates a new RSA signature class that uses a SHA-1 for aMessage 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 aMessage digest computation.
S
- 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.
- setCipherVersionsExpireTimeMillis(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 aMessage 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.
- SignatureException - Exception in org.refcodes.forwardsecrecy
-
The Class
SignatureException
. - SignatureException(String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException
- SignatureException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException
- SignatureException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException
- SignatureException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException
- SignatureException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException
- SignatureException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException
- SignatureException.SignatureRuntimeException - Exception in org.refcodes.forwardsecrecy
-
The Class
SignatureException.SignatureRuntimeException
. - SignatureRuntimeException(String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException.SignatureRuntimeException
- SignatureRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException.SignatureRuntimeException
- SignatureRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException.SignatureRuntimeException
- SignatureRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException.SignatureRuntimeException
- SignatureRuntimeException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException.SignatureRuntimeException
- SignatureRuntimeException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureException.SignatureRuntimeException
- SignatureVerificationException - Exception in org.refcodes.forwardsecrecy
-
The Class
SignatureVerificationException
. - SignatureVerificationException(String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
- SignatureVerificationException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
- SignatureVerificationException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
- SignatureVerificationException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
- SignatureVerificationException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
- SignatureVerificationException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException
- SignatureVerificationException.SignatureVerificationRuntimeException - Exception in org.refcodes.forwardsecrecy
- SignatureVerificationRuntimeException(String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException.SignatureVerificationRuntimeException
- SignatureVerificationRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException.SignatureVerificationRuntimeException
- SignatureVerificationRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException.SignatureVerificationRuntimeException
- SignatureVerificationRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException.SignatureVerificationRuntimeException
- SignatureVerificationRuntimeException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException.SignatureVerificationRuntimeException
- SignatureVerificationRuntimeException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.SignatureVerificationException.SignatureVerificationRuntimeException
- 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.
T
- 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
-
Deprecated.To prevent accidental use in productive environment this insecure implementation of the
DecryptionService
has been marked as being deprecated; please use only for testing purposes. - 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 aMessage.
- toSignature(String) - Method in class org.refcodes.forwardsecrecy.LoopbackDecryptionService
-
Deprecated.Creates a signature for the given aMessage.
- toSignature(String) - Method in class org.refcodes.forwardsecrecy.PublicKeyDecryptionService
-
Creates a signature for the given aMessage.
- 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.
U
- UnexpectedForwardSecrecyRuntimeException - Exception in org.refcodes.forwardsecrecy
-
This exception is the base runtime exception for the directory artifact.
- UnexpectedForwardSecrecyRuntimeException(String) - Constructor for exception org.refcodes.forwardsecrecy.UnexpectedForwardSecrecyRuntimeException
- UnexpectedForwardSecrecyRuntimeException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.UnexpectedForwardSecrecyRuntimeException
- UnexpectedForwardSecrecyRuntimeException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.UnexpectedForwardSecrecyRuntimeException
- UnexpectedForwardSecrecyRuntimeException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.UnexpectedForwardSecrecyRuntimeException
- UnexpectedForwardSecrecyRuntimeException(Throwable) - Constructor for exception org.refcodes.forwardsecrecy.UnexpectedForwardSecrecyRuntimeException
- UnexpectedForwardSecrecyRuntimeException(Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.UnexpectedForwardSecrecyRuntimeException
- UnknownCipherUidException - Exception in org.refcodes.forwardsecrecy
-
The Class
UnknownCipherUidException
. - UnknownCipherUidException(String, String) - Constructor for exception org.refcodes.forwardsecrecy.UnknownCipherUidException
- UnknownCipherUidException(String, String, String) - Constructor for exception org.refcodes.forwardsecrecy.UnknownCipherUidException
- UnknownCipherUidException(String, String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.UnknownCipherUidException
- UnknownCipherUidException(String, String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.UnknownCipherUidException
- UnknownCipherUidException(String, Throwable) - Constructor for exception org.refcodes.forwardsecrecy.UnknownCipherUidException
- UnknownCipherUidException(String, Throwable, String) - Constructor for exception org.refcodes.forwardsecrecy.UnknownCipherUidException
V
- verify(byte[], byte[]) - Method in class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Verifies the signature of the given data matches the given signature.
- verify(byte[], byte[]) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Verifies the signature of the given data matches the given signature.
- verify(byte[], byte[]) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Verifies the signature of the given data matches the given signature.
- verify(byte[], String, Converter) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Verifies the signature of the given data matches the given signature.
- verify(InputStream, byte[]) - Method in class edu.vt.middleware.crypt.signature.AbstractDSASignature
-
Verifies the signature of the given data matches the given signature.
- verify(InputStream, byte[]) - Method in class edu.vt.middleware.crypt.signature.RSASignature
-
Verifies the signature of the given data matches the given signature.
- verify(InputStream, byte[]) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Verifies the signature of the given data matches the given signature.
- verify(InputStream, String, Converter) - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Verifies the signature of the data in the given input stream matches the given signature.
- verifyKey - Variable in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
-
Public key used for verification.
W
- Whirlpool - Class in edu.vt.middleware.crypt.digest
-
Implementation of Whirlpool aMessage digest algorithm.
- Whirlpool() - Constructor for class edu.vt.middleware.crypt.digest.Whirlpool
-
Creates an uninitialized instance of an Whirlpool digest.
- Whirlpool(boolean) - Constructor for class edu.vt.middleware.crypt.digest.Whirlpool
-
Creates a new Whirlpool digest that may optionally be initialized with random data.
- Whirlpool(byte[]) - Constructor for class edu.vt.middleware.crypt.digest.Whirlpool
-
Creates a new Whirlpool digest and initializes it with the given salt.
- withCipherVersionsExpireTimeMillis(long) - Method in class org.refcodes.forwardsecrecy.AbstractDecryptionService
-
Builder method for the
AbstractDecryptionService.setCipherVersionsExpireTimeMillis(long)
method. - write(byte[]) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterOutputStream
- write(byte[], int, int) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterOutputStream
- write(byte[], int, int) - Method in class edu.vt.middleware.crypt.io.TeePrintStream
- write(int) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterOutputStream
- write(int) - Method in class edu.vt.middleware.crypt.io.TeePrintStream
- writeEncoded(byte[], int, int) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterOutputStream
-
Encode the given raw bytes and write the result to the wrapped output stream.
- writeEncoded(byte[], int, int) - Method in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
-
Encode the given raw bytes and write the result to the wrapped output stream.
- writeEncoded(byte[], int, int) - Method in class edu.vt.middleware.crypt.io.HexFilterOutputStream
-
Encode the given raw bytes and write the result to the wrapped output stream.
_
- _namespace - Variable in exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- _uId - Variable in exception org.refcodes.forwardsecrecy.ForwardSecrecyDecryptionException.ForwardSecrecyDecryptionUidException
- _uId - Variable in exception org.refcodes.forwardsecrecy.ForwardSecrecyException.ForwardSecrecyCipherException
- _uId - Variable in exception org.refcodes.forwardsecrecy.ForwardSecrecyRuntimeException.ForwardSecrecyUidRuntimeException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DecryptionService
has been marked as being deprecated; please use only for testing purposes.