A B C D E F G H I K L M N O P R S T U V W X

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
 
AbstractCli - Class in edu.vt.middleware.crypt
Abstract base class for all CLI handlers.
AbstractCli() - Constructor for class edu.vt.middleware.crypt.AbstractCli
 
AbstractCryptTask - Class in edu.vt.middleware.crypt.tasks
AbstractCryptTask provides common methods for crypt ant tasks.
AbstractCryptTask() - Constructor for class edu.vt.middleware.crypt.tasks.AbstractCryptTask
 
AbstractEncodedCredentialReader<T> - Class in edu.vt.middleware.crypt.io
Base class for credential readers that handle credentials that can be described as a byte array.
AbstractEncodedCredentialReader() - Constructor for class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
 
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.
AbstractEncryptionCli - Class in edu.vt.middleware.crypt
Abstract base class for CLI handler of encryption operations.
AbstractEncryptionCli() - Constructor for class edu.vt.middleware.crypt.AbstractEncryptionCli
 
AbstractEncryptionScheme - Class in edu.vt.middleware.crypt.pbe
Abstract base class for password-based encryption schemes based on salt data and iterated hashing as the basis of the key derivation function.
AbstractEncryptionScheme() - Constructor for class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
 
AbstractList<T> - Class in edu.vt.middleware.crypt.x509.types
Base class for all types that simply contain collections of other types.
AbstractList() - Constructor for class edu.vt.middleware.crypt.x509.types.AbstractList
 
AbstractPKCSKeyGenerator - Class in edu.vt.middleware.crypt.pbe
Base class for all PKCS key generators that use a key derivation function that performs iterative hashing operations on a salted password.
AbstractPKCSKeyGenerator() - Constructor for class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
 
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
 
AbstractVariableKeySizeEncryptionScheme - Class in edu.vt.middleware.crypt.pbe
Base class for all encryption schemes that use a variable-length key to perform encryption, e.g.
AbstractVariableKeySizeEncryptionScheme() - Constructor for class edu.vt.middleware.crypt.pbe.AbstractVariableKeySizeEncryptionScheme
 
AccessDescription - Class in edu.vt.middleware.crypt.x509.types
Representation of the AccessDescription type described in section 4.2.2.1 of RFC 2459.
AccessDescription(AccessMethod, GeneralName) - Constructor for class edu.vt.middleware.crypt.x509.types.AccessDescription
Creates a new instance with the given access method and location.
AccessDescriptionList - Class in edu.vt.middleware.crypt.x509.types
Representation of the SEQUENCE of AccessDescription types that is the value of the AuthorityInformationAccess extension field defined in section 4.2.2.1 of RFC 2459.
AccessDescriptionList(List<AccessDescription>) - Constructor for class edu.vt.middleware.crypt.x509.types.AccessDescriptionList
Constructs a new instance from the given list of access descriptions.
AccessDescriptionList(AccessDescription[]) - Constructor for class edu.vt.middleware.crypt.x509.types.AccessDescriptionList
Constructs a new instance from the given array of access descriptions.
AccessMethod - Enum in edu.vt.middleware.crypt.x509.types
Enumeration of supported OIDs for the accessMethod field of the AccessDescription type described in section 4.2.2.1 of RFC 2459.
addProvider(Provider, String) - Static method in class edu.vt.middleware.crypt.CryptProvider
This will add an additional security provider.
AES - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using AES cipher.
AES() - Constructor for class edu.vt.middleware.crypt.symmetric.AES
Creates a default AES symmetric encryption algorithm using CBC mode and PKCS5 padding.
AES(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.AES
Creates a default AES symmetric encryption algorithm using the given mode and padding style.
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.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.AES
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.Blowfish
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.CAST5
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.CAST6
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.DES
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.DESede
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.RC2
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.RC4
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.RC5
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.RC6
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.Rijndael
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.Serpent
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.Skipjack
Algorithm name.
ALGORITHM - Static variable in class edu.vt.middleware.crypt.symmetric.Twofish
Algorithm name.
algorithm - Variable in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Algorithm name.
AlgorithmSpec - Class in edu.vt.middleware.crypt.symmetric
Describes a symmetric cipher algorithm in terms of a (name, mode, padding) tuple.
AlgorithmSpec(String) - Constructor for class edu.vt.middleware.crypt.symmetric.AlgorithmSpec
Creates a new instance for the given cipher algorithm name.
AlgorithmSpec(String, String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.AlgorithmSpec
Creates a new instance for the given cipher algorithm name.
ASCII_CHARSET - Static variable in class edu.vt.middleware.crypt.util.Convert
ASCII character set used for all encoding methods.
asInt(DEREncodable) - Static method in class edu.vt.middleware.crypt.util.DERHelper
Extracts the integer value from a DERInteger.
asOctets(DEREncodable) - Static method in class edu.vt.middleware.crypt.util.DERHelper
Extracts the octet string (byte array) from a DEROctetString.
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.
AsymmetricCli - Class in edu.vt.middleware.crypt.asymmetric
Command line interface for asymmetric encryption operations.
AsymmetricCli() - Constructor for class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
 
AttributeType - Enum in edu.vt.middleware.crypt.x509.types
Describes the registered values of AttributeType that may appear in a RelativeDistinguishedName (RDN) as defined in section 2 of RFC 2253.
AttributeTypeAndValue - Class in edu.vt.middleware.crypt.x509.types
Representation of AttributeTypeAndValue type described in section 2 of RFC 2253.
AttributeTypeAndValue(String, String) - Constructor for class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
Creates a new instance with the given type OID and value.
AttributeTypeAndValue(AttributeType, String) - Constructor for class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
Creates a new instance with the given well-known attribute type and value.
AuthorityKeyIdentifier - Class in edu.vt.middleware.crypt.x509.types
Representation of the AuthorityKeyIdentifier type defined in section 4.2.1.1 of RFC 2459.
AuthorityKeyIdentifier() - Constructor for class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
Creates an empty authority key identifier.
AuthorityKeyIdentifier(KeyIdentifier) - Constructor for class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
Creates a new instance with the given key identifier.
AuthorityKeyIdentifier(KeyIdentifier, GeneralNameList, Integer) - Constructor for class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
Creates a new instance with all fields defined.

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.
BASE_64_ENCODING - Static variable in class edu.vt.middleware.crypt.AbstractCli
Name of encoding option value for Base-64 encoding.
BasicConstraints - Class in edu.vt.middleware.crypt.x509.types
Representation of the BasicConstraints type defined in section 4.2.1.10 of RFC 2459.
BasicConstraints(boolean) - Constructor for class edu.vt.middleware.crypt.x509.types.BasicConstraints
Creates a new instance with no path length constraint.
BasicConstraints(boolean, int) - Constructor for class edu.vt.middleware.crypt.x509.types.BasicConstraints
Creates a new instance with the given path length constraint.
BITS_IN_BYTE - Static variable in class edu.vt.middleware.crypt.x509.types.BitString
Number of bits in a byte.
BitString - Class in edu.vt.middleware.crypt.x509.types
Represents a string of bits encoded into octets in network byte order.
BitString() - Constructor for class edu.vt.middleware.crypt.x509.types.BitString
 
Blowfish - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using Blowfish cipher.
Blowfish() - Constructor for class edu.vt.middleware.crypt.symmetric.Blowfish
Creates a default CAST5 symmetric encryption algorithm using CBC mode and PKCS5 padding.
Blowfish(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.Blowfish
Creates a default Blowfish symmetric encryption algorithm using the given mode and padding style.
byteBuffer - Variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
Holds bytes encoded bytes read from input stream.

C

CAST5 - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using CAST5 cipher.
CAST5() - Constructor for class edu.vt.middleware.crypt.symmetric.CAST5
Creates a default CAST5 symmetric encryption algorithm using CBC mode and PKCS5 padding.
CAST5(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.CAST5
Creates a default CAST5 symmetric encryption algorithm using the given mode and padding style.
CAST6 - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using CAST6 cipher.
CAST6() - Constructor for class edu.vt.middleware.crypt.symmetric.CAST6
Creates a default CAST6 symmetric encryption algorithm using CBC mode and PKCS5 padding.
CAST6(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.CAST6
Creates a default CAST5 symmetric encryption algorithm using the given mode and padding style.
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 - Variable in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Cipher used for encryption and decryption.
cipherMode - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
Either Cipher.ENCRYPT_MODE or Cipher.DECRYPT_MODE.
close() - Method in class edu.vt.middleware.crypt.io.Base64FilterOutputStream
closeStream(InputStream) - Method in class edu.vt.middleware.crypt.AbstractCli
Attempts to close the given input stream.
closeStream(OutputStream) - Method in class edu.vt.middleware.crypt.AbstractCli
Attempts to close the given output stream.
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.
createAccessDescriptionList(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a AccessDescriptionList object from DER data.
createAlgorithm() - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Creates a new symmetric algorithm cipher and initializes it using task properties.
createAuthorityKeyIdentifier(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a AuthorityKeyIdentifier object from DER data.
createBasicConstraints(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a BasicConstraints object from DER data.
createDistributionPointList(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a DistributionPointList object from DER data.
createGeneralName(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a GeneralName object from DER data.
createGeneralNameList(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a GeneralNameList object from DER data.
createInstance(DEREncodable, ExtensionType) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates an instance of a VT Crypt X.509v3 extension type from the corresponding Bouncy Castle extension type.
createKeyIdentifier(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a KeyIdentifier object from DER data.
createKeyPurposeIdList(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a KeyPurposeIdList object from DER data.
createKeyUsage(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a KeyUsage object from DER data.
createNoticeReference(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a NoticeReference object from DER data.
createPolicyInformation(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a PolicyInformation object from DER data.
createPolicyInformationList(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a PolicyInformationList object from DER data.
createPolicyQualifierInfo(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a PolicyQualifierInfo object from DER data.
createUserNotice(DEREncodable) - Static method in class edu.vt.middleware.crypt.x509.ExtensionFactory
Creates a UserNotice object from DER data.
CredentialReader<T> - Interface in edu.vt.middleware.crypt.io
Reads a security credential (e.g.
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(Throwable) - Constructor for exception edu.vt.middleware.crypt.CryptException
This creates a new CryptException with the supplied cause.
CryptException(String, Throwable) - Constructor for exception edu.vt.middleware.crypt.CryptException
This creates a new CryptException with the supplied message and cause.
CryptProvider - Class in edu.vt.middleware.crypt
CryptProvider contains methods for finding cryptographic objects using a set of providers.
CryptReader - Class in edu.vt.middleware.crypt.util
Helper class for performing I/O read operations on cryptographic data.
CryptReader() - Constructor for class edu.vt.middleware.crypt.util.CryptReader
Protected constructor of utility class.
CryptWriter - Class in edu.vt.middleware.crypt.util
Helper class for performing I/O write operations on cryptographic data.
CryptWriter() - Constructor for class edu.vt.middleware.crypt.util.CryptWriter
Protected constructor of utility class.

D

decode(byte[]) - Method in class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
Decodes an encoded representation of a credential into a corresponding object.
decode(byte[]) - Method in class edu.vt.middleware.crypt.io.PrivateKeyCredentialReader
Decodes an encoded representation of a credential into a corresponding object.
decode(byte[]) - Method in class edu.vt.middleware.crypt.io.PublicKeyCredentialReader
Decodes an encoded representation of a credential into a corresponding object.
decode(DERSequence) - Static method in class edu.vt.middleware.crypt.pkcs.PBEParameter
Decodes a DER sequence of PBE parameters into an instance of this class.
decode(DERSequence) - Static method in class edu.vt.middleware.crypt.pkcs.PBKDF2Parameters
Decodes a DER sequence of PBKDF2 parameters into an instance of this class.
decode(byte[]) - Method in class edu.vt.middleware.crypt.signature.DSASignature
Produces the r,s integer pair of a DSA signature from a DER-encoded byte representation.
decode(byte[]) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Decodes a PEM-encoded cryptographic object into the raw bytes of its ASN.1 encoding.
decode(String) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Decodes a PEM-encoded cryptographic object into the raw bytes of its ASN.1 encoding.
decodeBuffer - Variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
Buffer containing decoded bytes.
decodeCert(String) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Decodes the given certificate from PEM format.
decodeKey(String) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Decodes the given public key from PEM format.
decodeKey(String, char[]) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Decodes the given private key from PEM format.
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(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(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(EncryptionAlgorithm, InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.AbstractEncryptionCli
Decrypt the given ciphertext input stream into the output stream using the given encryption cipher algorithm.
decrypt(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Perform a decryption operation using data specified on the command line.
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(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.
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(char[], byte[]) - Method in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Decrypts the given ciphertext bytes into a byte array of plaintext using a decryption key based on the given password.
decrypt(char[], InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Decrypts the data in the given ciphertext input stream into plaintext in the output stream.
decrypt(char[], byte[]) - Method in interface edu.vt.middleware.crypt.pbe.EncryptionScheme
Decrypts the given ciphertext bytes into a byte array of plaintext using a decryption key based on the given password.
decrypt(char[], InputStream, OutputStream) - Method in interface edu.vt.middleware.crypt.pbe.EncryptionScheme
Decrypts the data in the given ciphertext input stream into plaintext in the output stream.
decrypt(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Perform a decryption operation using data specified on the command line.
DecryptPropertyTask - Class in edu.vt.middleware.crypt.tasks
DecryptPropertyTask will decrypt an ant property using a symmetric algorithm.
DecryptPropertyTask() - Constructor for class edu.vt.middleware.crypt.tasks.DecryptPropertyTask
 
DEFAULT_BYTE_DELIMITER - Static variable in class edu.vt.middleware.crypt.util.HexConverter
Default byte delimiter.
DEFAULT_CERTIFICATE_TYPE - Static variable in class edu.vt.middleware.crypt.util.CryptReader
X.509 certificate type.
DEFAULT_CHARSET - Static variable in class edu.vt.middleware.crypt.util.Convert
Default character set.
DEFAULT_ITERATION_COUNT - Static variable in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Default number of iterations taken from examples in PKCS#5v2.
DEFAULT_KEY_ALGORITHM - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Default key algorithm name.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.asymmetric.RSA
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.AES
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Blowfish
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.CAST5
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.CAST6
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.DES
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.DESede
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.RC4
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.RC5
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.RC6
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Rijndael
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Serpent
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Skipjack
Default key size for this algorithm in bits.
DEFAULT_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Twofish
Default key size for this algorithm in bits.
DEFAULT_MODE - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Default mode used for encryption and decryption.
DEFAULT_PADDING - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Default padding used for encryption and decryption.
DEK_INFO - Static variable in class edu.vt.middleware.crypt.util.PemHelper
Decryption infor tag for PEM-encoded private key in OpenSSL format.
DERHelper - Class in edu.vt.middleware.crypt.util
Utility class with methods to facilitate common operations on BouncyCastle DEREncodable objects.
DES - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using DES cipher.
DES() - Constructor for class edu.vt.middleware.crypt.symmetric.DES
Creates a default DES symmetric encryption algorithm using CBC mode and PKCS5 padding.
DES(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.DES
Creates a default DES symmetric encryption algorithm using the given mode and padding style.
DESede - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using Triple-DES cipher.
DESede() - Constructor for class edu.vt.middleware.crypt.symmetric.DESede
Creates a default Triple-DES symmetric encryption algorithm using CBC mode and PKCS5 padding.
DESede(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.DESede
Creates a default Triple-DES symmetric encryption algorithm using the given mode and padding style.
digest - Variable in class edu.vt.middleware.crypt.digest.DigestAlgorithm
Digest instance used for digest computation.
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.
digest(CommandLine) - Method in class edu.vt.middleware.crypt.digest.DigestCli
Compute a digest of a data stream from options defined on command line.
digest - Variable in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
Message digest used to compute encoded message for signing.
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.
DigestCli - Class in edu.vt.middleware.crypt.digest
Command line interface for digest operations.
DigestCli() - Constructor for class edu.vt.middleware.crypt.digest.DigestCli
 
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.
dispatch(CommandLine) - Method in class edu.vt.middleware.crypt.AbstractCli
Dispatch command line data to the handler that can perform the operation requested on the command line.
dispatch(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Dispatch command line data to the handler that can perform the operation requested on the command line.
dispatch(CommandLine) - Method in class edu.vt.middleware.crypt.digest.DigestCli
Dispatch command line data to the handler that can perform the operation requested on the command line.
dispatch(CommandLine) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Dispatch command line data to the handler that can perform the operation requested on the command line.
dispatch(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Dispatch command line data to the handler that can perform the operation requested on the command line.
dispatch(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Dispatch command line data to the handler that can perform the operation requested on the command line.
DistributionPoint - Class in edu.vt.middleware.crypt.x509.types
Representation of the DistributionPoint type defined in section 4.2.1.14 of RFC 2459.
DistributionPoint() - Constructor for class edu.vt.middleware.crypt.x509.types.DistributionPoint
Creates a new instance with no data.
DistributionPoint(String, ReasonFlags, GeneralNameList) - Constructor for class edu.vt.middleware.crypt.x509.types.DistributionPoint
Creates a new instance where the distribution point is known by a name relative to the CRL issuer name(s).
DistributionPoint(GeneralNameList, ReasonFlags, GeneralNameList) - Constructor for class edu.vt.middleware.crypt.x509.types.DistributionPoint
Creates a new instance with the given data.
DistributionPointList - Class in edu.vt.middleware.crypt.x509.types
Representation of the SEQUENCE of DistributionPoint types that are the value of the CRLDistributionPoints extension field described in section 4.2.1.14 of RFC 2459.
DistributionPointList(List<DistributionPoint>) - Constructor for class edu.vt.middleware.crypt.x509.types.DistributionPointList
Constructs a new instance from the given list of distribution points.
DistributionPointList(DistributionPoint[]) - Constructor for class edu.vt.middleware.crypt.x509.types.DistributionPointList
Constructs a new instance from the given array of distribution points.
DNFormatter - Interface in edu.vt.middleware.crypt.x509
Strategy pattern interface for producing a string representation of an X.500 distinguished name.
DNUtils - Class in edu.vt.middleware.crypt.x509
Utility class with convenience methods for common operations performed on X.500 distinguished names.
doExport(CommandLine) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Exports a certificate or key pair from the keystore.
doImport(CommandLine) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Imports a certificate or key pair into the keystore.
DSA_ID - Static variable in class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
DSA algorithm OID.
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.

E

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.pbe - package edu.vt.middleware.crypt.pbe
 
edu.vt.middleware.crypt.pkcs - package edu.vt.middleware.crypt.pkcs
 
edu.vt.middleware.crypt.signature - package edu.vt.middleware.crypt.signature
 
edu.vt.middleware.crypt.symmetric - package edu.vt.middleware.crypt.symmetric
 
edu.vt.middleware.crypt.tasks - package edu.vt.middleware.crypt.tasks
 
edu.vt.middleware.crypt.util - package edu.vt.middleware.crypt.util
 
edu.vt.middleware.crypt.x509 - package edu.vt.middleware.crypt.x509
 
edu.vt.middleware.crypt.x509.types - package edu.vt.middleware.crypt.x509.types
 
encode(BigInteger, BigInteger) - Method in class edu.vt.middleware.crypt.signature.DSASignature
Produces DER-encoded byte array output from the raw DSA signature output parameters, r and s.
encodeCert(Certificate) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Encodes the given certificate to PEM format.
encodeKey(PublicKey) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Encodes the given public key to PEM format.
encodeKey(PrivateKey, char[], SecureRandom) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Encodes the given private key to PEM format.
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[], 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(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(EncryptionAlgorithm, InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.AbstractEncryptionCli
Encrypt the given plaintext input stream into the output stream using the given encryption cipher algorithm.
encrypt(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Perform an encryption operation using data specified on the command line.
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 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 interface edu.vt.middleware.crypt.EncryptionAlgorithm
Encrypts the data in the given plaintext input stream into ciphertext in the output stream.
encrypt(char[], byte[]) - Method in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Encrypts the given plaintext bytes into a byte array of ciphertext using an encryption key derived from the password.
encrypt(char[], InputStream, OutputStream) - Method in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Encrypts the data in the given plaintext input stream into ciphertext in the output stream.
encrypt(char[], byte[]) - Method in interface edu.vt.middleware.crypt.pbe.EncryptionScheme
Encrypts the given plaintext bytes into a byte array of ciphertext using an encryption key derived from the password.
encrypt(char[], InputStream, OutputStream) - Method in interface edu.vt.middleware.crypt.pbe.EncryptionScheme
Encrypts the data in the given plaintext input stream into ciphertext in the output stream.
encrypt(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Perform an encryption operation using data specified on the command line.
EncryptionAlgorithm - Interface in edu.vt.middleware.crypt
Describes operations common to both symmetric and asymmetric encryption algorithms.
EncryptionScheme - Interface in edu.vt.middleware.crypt.pbe
Describes a password-based encryption scheme.
EncryptPropertyTask - Class in edu.vt.middleware.crypt.tasks
EncryptPropertyTask will encrypt an ant property using a symmetric algorithm.
EncryptPropertyTask() - Constructor for class edu.vt.middleware.crypt.tasks.EncryptPropertyTask
 
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.AbstractList
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.AccessDescription
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.BasicConstraints
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.BitString
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.DistributionPoint
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.GeneralName
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.KeyIdentifier
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.NoticeReference
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.PolicyInformation
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
equals(Object) - Method in class edu.vt.middleware.crypt.x509.types.UserNotice
ESCAPE_CHAR - Static variable in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
Escape character.
ESCAPE_CHARSET - Static variable in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
Set of characters in the value that MUST be escaped in the string representation.
execute() - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
See @link{org.apache.tools.ant.Task}.
execute() - Method in class edu.vt.middleware.crypt.tasks.DecryptPropertyTask
See @link{org.apache.tools.ant.Task}.
execute() - Method in class edu.vt.middleware.crypt.tasks.EncryptPropertyTask
See @link{org.apache.tools.ant.Task}.
ExtensionFactory - Class in edu.vt.middleware.crypt.x509
Creates X.509v3 extension types in the VT Crypt namespace from BouncyCastle ASN1Encodable types.
ExtensionReader - Class in edu.vt.middleware.crypt.x509
Reads X.509v3 extended properties from an X509Certificate object.
ExtensionReader(X509Certificate) - Constructor for class edu.vt.middleware.crypt.x509.ExtensionReader
Creates a new instance that can read extension fields from the given X.509 certificate.
ExtensionType - Enum in edu.vt.middleware.crypt.x509
Enumeration of X.509v3 extension fields defined in section 4.2 of RFC 2459.

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.
FOOTER_END - Static variable in class edu.vt.middleware.crypt.util.PemHelper
PEM encoding footer start string.
format(X500Principal) - Method in interface edu.vt.middleware.crypt.x509.DNFormatter
Produces a string representation of the given X.500 principal.
format(X500Principal) - Method in class edu.vt.middleware.crypt.x509.LDAPv3DNFormatter
Produces a string representation of the given X.500 principal.
fromASN1Set(ASN1Set) - Static method in class edu.vt.middleware.crypt.x509.types.RelativeDistinguishedName
Creates a new instance from an ASN.1 SET of SEQUENCE representing the AttributeTypeAndValue type of section 2 of RFC 2253.
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[], int, int) - 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 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.
fromName(String) - Static method in enum edu.vt.middleware.crypt.x509.ExtensionType
Gets the extension by name.
fromName(String) - Static method in enum edu.vt.middleware.crypt.x509.types.AttributeType
Gets the attribute type whose name is the given string.
fromOid(String) - Static method in enum edu.vt.middleware.crypt.pkcs.PBES1Algorithm
Gets the PBE algorithm for the given object identifier.
fromOid(String) - Static method in enum edu.vt.middleware.crypt.pkcs.PBES2Algorithm
Gets the PBE algorithm for the given object identifier.
fromOid(String) - Static method in enum edu.vt.middleware.crypt.x509.ExtensionType
Gets the extension by OID.
fromOid(String) - Static method in enum edu.vt.middleware.crypt.x509.types.AttributeType
Gets the attribute type whose OID is the given string.
fromTagNumber(int) - Static method in enum edu.vt.middleware.crypt.x509.types.GeneralNameType
Gets a name type from the value of the tag in the CHOICE element definition.

G

GeneralName - Class in edu.vt.middleware.crypt.x509.types
Representation of the GeneralName type defined in section 4.2.1.7 of RFC 2459.
GeneralName(String, GeneralNameType) - Constructor for class edu.vt.middleware.crypt.x509.types.GeneralName
Creates a new instance with the given name and type.
GeneralNameList - Class in edu.vt.middleware.crypt.x509.types
Representation of the GeneralNames type defined in section 4.2.1.7 of RFC 2459, which simply stores a list of GeneralName items.
GeneralNameList(List<GeneralName>) - Constructor for class edu.vt.middleware.crypt.x509.types.GeneralNameList
Constructs a new instance from the given list of names.
GeneralNameList(GeneralName[]) - Constructor for class edu.vt.middleware.crypt.x509.types.GeneralNameList
Constructs a new instance from the given array of names.
GeneralNameType - Enum in edu.vt.middleware.crypt.x509.types
Representation of the options in the CHOICE element describing various categories of the GeneralName type defined in section 4.2.1.7 of RFC 2459.
generate(char[], int) - Method in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Generates a symmetric key from a password for use in password-based encryption schemes.
generate(char[], int) - Method in interface edu.vt.middleware.crypt.pbe.KeyGenerator
Generates a symmetric key from a password for use in password-based encryption schemes.
generate(char[], int) - Method in class edu.vt.middleware.crypt.pbe.OpenSSLKeyGenerator
Generates a symmetric key from a password for use in password-based encryption schemes.
generate() - Method in class edu.vt.middleware.crypt.pkcs.PBES2CipherGenerator
Generates a symmetric cipher algorithm from decoded state data.
generateKey(String, int, SecureRandom) - Static method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Generates a new secret key for encryption/decryption operations on a cipher of the given algorithm name.
generateKey() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Generates a secret key of the default key size for encryption and decryption operations with this instance and others that use the same algorithm.
generateKey(int) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Generates a secret key of the given size for encryption and decryption operations with this instance and others that use the same algorithm.
generateKeys(String, int, SecureRandom) - Static method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
Generates a public/private key pair using the given cipher algorithm.
generateKeys() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
Generates a public/private key pair of the default length suitable for the cipher used for encryption on this instance.
generateKeys(int) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
Generates a public/private key pair of the given length suitable for the cipher used for encryption on this instance.
generatePBEKey(SymmetricAlgorithm, CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Generates a PBE key from command line options including a password.
genKey(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Generate a new encryption key to using command line arguments.
genKeyPair(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Generate a new encryption public/private key pair using CLI arguments.
getAccessLocation() - Method in class edu.vt.middleware.crypt.x509.types.AccessDescription
 
getAccessMethod() - Method in class edu.vt.middleware.crypt.x509.types.AccessDescription
 
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.
getAlgorithmParameterSpec() - Method in class edu.vt.middleware.crypt.symmetric.RC2
Gets the algorithm parameter specification for this algorithm.
getAlgorithmParameterSpec() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets the algorithm parameter specification for this algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.AES
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.Blowfish
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.CAST5
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.CAST6
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.DES
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.DESede
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.RC4
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.RC5
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.RC6
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.Rijndael
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.Serpent
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.Skipjack
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAllowedKeyLengths() - Method in class edu.vt.middleware.crypt.symmetric.Twofish
Gets an array of key lengths that are acceptable for the cipher algorithm.
getAttributeValue(X500Principal, AttributeType) - Static method in class edu.vt.middleware.crypt.x509.DNUtils
Gets the value of the first occurrence of the given attribute in the DN.
getAttributeValue(X500Principal, String) - Static method in class edu.vt.middleware.crypt.x509.DNUtils
Gets the value of the first occurrence of the given attribute in the DN.
getAttributeValues(X500Principal, AttributeType) - Static method in class edu.vt.middleware.crypt.x509.DNUtils
Gets the values of the given attribute contained in the DN.
getAttributeValues(X500Principal, String) - Static method in class edu.vt.middleware.crypt.x509.DNUtils
Gets the values of the given attribute contained in the DN.
getAuthorityCertIssuer() - Method in class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
 
getAuthorityCertSerialNumber() - Method in class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
 
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.
getByOid(String) - Static method in enum edu.vt.middleware.crypt.x509.types.AccessMethod
Gets an access method by its OID.
getByOid(String) - Static method in enum edu.vt.middleware.crypt.x509.types.KeyPurposeId
Gets a key purpose identifier by its OID.
getByteDelimiter() - Method in class edu.vt.middleware.crypt.util.HexConverter
Gets the byte delmiter string.
getBytes(int) - Static method in class edu.vt.middleware.crypt.x509.types.BitString
Gets a byte representation of a bit string encoded as a Java integer.
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.
getChunkSize() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets the chunk size for buffers using in stream-based encryption and decryption operations.
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.
getCN(X500Principal) - Static method in class edu.vt.middleware.crypt.x509.DNUtils
Gets the CN attribute from the given X.500 distinguished name.
getCommandName() - Method in class edu.vt.middleware.crypt.AbstractCli
Gets the name of the command for which this class provides a CLI interface.
getCommandName() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Gets the name of the command for which this class provides a CLI interface.
getCommandName() - Method in class edu.vt.middleware.crypt.digest.DigestCli
Gets the name of the command for which this class provides a CLI interface.
getCommandName() - Method in class edu.vt.middleware.crypt.KeyStoreCli
Gets the name of the command for which this class provides a CLI interface.
getCommandName() - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Gets the name of the command for which this class provides a CLI interface.
getCommandName() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Gets the name of the command for which this class provides a CLI interface.
getCRLIssuer() - Method in class edu.vt.middleware.crypt.x509.types.DistributionPoint
 
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.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricAlgorithm
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.asymmetric.RSA
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.AES
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Blowfish
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.CAST5
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.CAST6
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.DES
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.DESede
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.RC4
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.RC5
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.RC6
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Rijndael
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Serpent
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Skipjack
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets the default key length for this algorithm.
getDefaultKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Twofish
Gets the default key length for this algorithm.
getDigest() - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
Gets the underlying object that performs digest computation.
getDigest() - Method in enum edu.vt.middleware.crypt.pkcs.PBES1Algorithm
 
getDistributionPoint() - Method in class edu.vt.middleware.crypt.x509.types.DistributionPoint
 
getEffectiveBits(int) - Static method in class edu.vt.middleware.crypt.symmetric.RC2
Gets the number of effective bits for a given RC2Version code.
getEffectiveKeyBits() - Method in class edu.vt.middleware.crypt.symmetric.RC2
Gets the effective key size in bits.
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.
getExplicitText() - Method in class edu.vt.middleware.crypt.x509.types.UserNotice
 
getIdentifier() - Method in class edu.vt.middleware.crypt.x509.types.KeyIdentifier
 
getInputStream(CommandLine) - Method in class edu.vt.middleware.crypt.AbstractCli
Get an input stream containing data to be signed or verified based on CLI arguments.
getInputStream(CommandLine, String) - Method in class edu.vt.middleware.crypt.AbstractCli
Get an input stream containing data to be signed or verified based on CLI arguments.
getInputStream(CommandLine) - Method in class edu.vt.middleware.crypt.AbstractEncryptionCli
Get an input stream containing data to be encrypted or decrypted based on CLI arguments.
getItems() - Method in class edu.vt.middleware.crypt.x509.types.AbstractList
getItems() - Method in interface edu.vt.middleware.crypt.x509.types.List
 
getIterationCount() - Method in class edu.vt.middleware.crypt.pkcs.PBEParameter
 
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.
getKeyIdentifier() - Method in class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
 
getKeyPairGenerator(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
This finds a KeyPairGenerator using the known providers and the supplied algorithm parameter.
getKeySize() - Method in enum edu.vt.middleware.crypt.pkcs.PBES2Algorithm
 
getKeySize() - Method in class edu.vt.middleware.crypt.pkcs.PBES2CipherGenerator
Gets the key size defined for this algorithm, if any.
getKeyStore(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
This creates a KeyStore using the supplied type name.
getKeyStore() - Static method in class edu.vt.middleware.crypt.CryptProvider
This creates a KeyStore using the default keystore type.
getLength() - Method in class edu.vt.middleware.crypt.pkcs.PBKDF2Parameters
Gets the length of the derived key.
getMask() - Method in enum edu.vt.middleware.crypt.x509.types.KeyUsageBits
 
getMask() - Method in enum edu.vt.middleware.crypt.x509.types.Reasons
 
getMaxKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Blowfish
Gets the maximum key length for this algorithm.
getMaxKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets the maximum key length for this algorithm.
getMessageDigest(String) - Static method in class edu.vt.middleware.crypt.CryptProvider
This creates a MessageDigest using the supplied algorithm name.
getMinKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.Blowfish
Gets the minimum key length for this algorithm.
getMinKeyLength() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets the minimum key length for this algorithm.
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.
getMode() - Method in class edu.vt.middleware.crypt.symmetric.AlgorithmSpec
Gets the cipher mode.
getName() - Method in class edu.vt.middleware.crypt.symmetric.AlgorithmSpec
Gets the cipher algorithm name.
getName() - Method in enum edu.vt.middleware.crypt.x509.types.AttributeType
 
getName() - Method in class edu.vt.middleware.crypt.x509.types.GeneralName
 
getNoticeNumbers() - Method in class edu.vt.middleware.crypt.x509.types.NoticeReference
 
getNoticeRef() - Method in class edu.vt.middleware.crypt.x509.types.UserNotice
 
getOctets() - Method in class edu.vt.middleware.crypt.x509.types.BitString
 
getOid() - Method in enum edu.vt.middleware.crypt.pkcs.PBES1Algorithm
 
getOid() - Method in enum edu.vt.middleware.crypt.pkcs.PBES2Algorithm
 
getOid() - Method in enum edu.vt.middleware.crypt.x509.ExtensionType
 
getOid() - Method in enum edu.vt.middleware.crypt.x509.types.AccessMethod
 
getOid() - Method in enum edu.vt.middleware.crypt.x509.types.AttributeType
 
getOid() - Method in enum edu.vt.middleware.crypt.x509.types.KeyPurposeId
 
getOrganization() - Method in class edu.vt.middleware.crypt.x509.types.NoticeReference
 
getOutputStream(CommandLine) - Method in class edu.vt.middleware.crypt.AbstractEncryptionCli
Get an output stream containing data to be encrypted or decrypted based on CLI arguments.
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.
getPadding() - Method in class edu.vt.middleware.crypt.symmetric.AlgorithmSpec
Gets the cipher padding scheme.
getPathLengthConstraint() - Method in class edu.vt.middleware.crypt.x509.types.BasicConstraints
 
getPBEScheme(SymmetricAlgorithm, CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Gets a password-based encryption scheme based on command line arguments.
getPolicyIdentifier() - Method in class edu.vt.middleware.crypt.x509.types.PolicyInformation
 
getPolicyQualifierId() - Method in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
 
getPolicyQualifiers() - Method in class edu.vt.middleware.crypt.x509.types.PolicyInformation
 
getQualifier() - Method in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
 
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.
getRandomIV() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Gets a random initialization vector whose size is equal to the underlying cipher's block size.
getRandomSalt() - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
Gets a random salt in the amount specified by AbstractRandomizableAlgorithm.getRandomByteSize().
getReasons() - Method in class edu.vt.middleware.crypt.x509.types.DistributionPoint
 
getReasons() - Method in class edu.vt.middleware.crypt.x509.types.ReasonFlags
Gets a collection of the bits set for this instance.
getSalt() - Method in class edu.vt.middleware.crypt.pkcs.PBEParameter
 
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.
getSpec() - Method in enum edu.vt.middleware.crypt.pkcs.PBES1Algorithm
 
getSpec() - Method in enum edu.vt.middleware.crypt.pkcs.PBES2Algorithm
 
getType() - Method in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
 
getType() - Method in class edu.vt.middleware.crypt.x509.types.GeneralName
 
getUses() - Method in class edu.vt.middleware.crypt.x509.types.KeyUsage
Gets a collection of the bits set for this instance.
getValue() - Method in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
 
getVersion(int) - Static method in class edu.vt.middleware.crypt.symmetric.RC2
Gets the RC2Version code for a given effective bits value.

H

hashCode() - Method in class edu.vt.middleware.crypt.x509.types.AbstractList
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.AccessDescription
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.BasicConstraints
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.BitString
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.DistributionPoint
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.GeneralName
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.KeyIdentifier
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.NoticeReference
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.PolicyInformation
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
hashCode() - Method in class edu.vt.middleware.crypt.x509.types.UserNotice
hasIV() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Determines whether the cipher has been provided with iv data.
hasNext() - Method in class edu.vt.middleware.crypt.x509.RDNSequenceIterator
HEADER_BEGIN - Static variable in class edu.vt.middleware.crypt.util.PemHelper
PEM encoding header start string.
HEX_ENCODING - Static variable in class edu.vt.middleware.crypt.AbstractCli
Name of encoding option value for hexadecimal encoding.
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(int) - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
Initializes AbstractEncryptionAlgorithm.cipher for either encryption or decryption.
init(boolean, CipherParameters) - Method in class edu.vt.middleware.crypt.signature.DSASignature
Initialize the signer.
init(boolean, CipherParameters) - Method in class edu.vt.middleware.crypt.signature.RSASignature
Initialize the signer.
initCipher() - Method in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
Initializes the underlying Cipher object using AbstractAlgorithm.algorithm, AbstractEncryptionAlgorithm.mode, and AbstractEncryptionAlgorithm.padding.
initCipher(char[]) - Method in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Initializes the cipher with the given PBE derived key bytes.
initCipher(char[]) - Method in class edu.vt.middleware.crypt.pbe.AbstractVariableKeySizeEncryptionScheme
Initializes the cipher with the given PBE derived key bytes.
initCipher(char[]) - Method in class edu.vt.middleware.crypt.pbe.PBES1EncryptionScheme
Initializes the cipher with the given PBE derived key bytes.
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.
initOptions() - Method in class edu.vt.middleware.crypt.AbstractCli
Initialize CLI options.
initOptions() - Method in class edu.vt.middleware.crypt.AbstractEncryptionCli
Initialize CLI options.
initOptions() - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Initialize CLI options.
initOptions() - Method in class edu.vt.middleware.crypt.digest.DigestCli
Initialize CLI options.
initOptions() - Method in class edu.vt.middleware.crypt.KeyStoreCli
Initialize CLI options.
initOptions() - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Initialize CLI options.
initOptions() - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Initialize CLI options.
initSign() - Method in class edu.vt.middleware.crypt.signature.DSASignature
Initialize the signature for the SignatureAlgorithm.sign(byte[]) operation.
initSign() - Method in class edu.vt.middleware.crypt.signature.RSASignature
Initialize the signature for the SignatureAlgorithm.sign(byte[]) operation.
initSign() - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
Initialize the signature for the SignatureAlgorithm.sign(byte[]) operation.
initVerify() - Method in class edu.vt.middleware.crypt.signature.DSASignature
Initialize the signature for the SignatureAlgorithm.verify(byte[], byte[]) operation.
initVerify() - Method in class edu.vt.middleware.crypt.signature.RSASignature
Initialize the signature for the SignatureAlgorithm.verify(byte[], byte[]) operation.
initVerify() - Method in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
Initialize the signature for the SignatureAlgorithm.verify(byte[], byte[]) operation.
INT_BYTE_SIZE - Static variable in class edu.vt.middleware.crypt.x509.types.BitString
Number of bytes in a Java int.
intValue() - Method in class edu.vt.middleware.crypt.x509.types.BitString
 
IOHelper - Class in edu.vt.middleware.crypt.io
Utility class with methods for common IO operations.
isBase64Char(byte) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Determines whether the given byte represents an ASCII character in the character set for base64 encoding.
isCA() - Method in class edu.vt.middleware.crypt.x509.types.BasicConstraints
 
isCritical() - Method in enum edu.vt.middleware.crypt.x509.ExtensionType
 
isPem(byte[]) - Static method in class edu.vt.middleware.crypt.util.PemHelper
Determines whether the data in the given byte array is base64-encoded data of PEM encoding.
isValidKeyLength(int) - Method in class edu.vt.middleware.crypt.symmetric.Blowfish
Determines whether the given key size in bits is valid for this symmetric cipher algorithm.
isValidKeyLength(int) - Method in class edu.vt.middleware.crypt.symmetric.RC4
Determines whether the given key size in bits is valid for this symmetric cipher algorithm.
isValidKeyLength(int) - Method in class edu.vt.middleware.crypt.symmetric.RC5
Determines whether the given key size in bits is valid for this symmetric cipher algorithm.
isValidKeyLength(int) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Determines whether the given key size in bits is valid for this symmetric cipher algorithm.
items - Variable in class edu.vt.middleware.crypt.x509.types.AbstractList
Items in collection.
iterationCount - Variable in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Key derifcation function iteration count.
iterationCount - Variable in class edu.vt.middleware.crypt.pkcs.PBEParameter
Number of iterations of mixing function.
iterator() - Method in class edu.vt.middleware.crypt.x509.RDNSequenceIterator
iv - Variable in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Initialization vector used for encryption.
iv - Variable in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Initialization vector for encryption/decryption.
IV_LENGTH - Static variable in class edu.vt.middleware.crypt.pbe.PBES1EncryptionScheme
Number of bytes (octets) in IV.

K

key - Variable in class edu.vt.middleware.crypt.AbstractEncryptionAlgorithm
Key used for encryption or decryption.
KEY_ENCRYPTION_ALGORITHM - Static variable in class edu.vt.middleware.crypt.util.PemHelper
Encryption algorithm used for password-protected private keys.
KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.pbe.PBES1EncryptionScheme
Number of bytes (octets) in derived key.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.AES
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.Blowfish
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.CAST5
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.CAST6
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.DES
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.DESede
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.RC4
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.RC6
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.Rijndael
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.Serpent
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.Skipjack
Available key lengths in bits.
KEY_LENGTHS - Static variable in class edu.vt.middleware.crypt.symmetric.Twofish
Available key lengths in bits.
KeyGenerator - Interface in edu.vt.middleware.crypt.pbe
Generates secret keys from passwords for password-based encryption schemes.
KeyIdentifier - Class in edu.vt.middleware.crypt.x509.types
Friendly representation of an OCTET STRING representing key identifier data as described in section 4.2.1.1 of RFC 2459.
KeyIdentifier(byte[]) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyIdentifier
Creates a new key identifier with the given identifier bytes.
KeyIdentifier(String) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyIdentifier
Creates a new key identifier with the given key identifier fingerprint.
KeyPurposeId - Enum in edu.vt.middleware.crypt.x509.types
Represents the KeyPurposeId type described in section 4.2.1.13 of RFC 2459, which is used to indicate extended key usage.
KeyPurposeIdList - Class in edu.vt.middleware.crypt.x509.types
Represents the sequence of KeyPurposeId types that are contained in the ExtendedKeyUsage extension field described in section 4.2.1.13 of RFC 2459.
KeyPurposeIdList(List<KeyPurposeId>) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyPurposeIdList
Constructs a new instance from the given list of key purpose identifiers.
KeyPurposeIdList(KeyPurposeId[]) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyPurposeIdList
Constructs a new instance from the given array of key purpose identifiers.
KeyStoreCli - Class in edu.vt.middleware.crypt
Command line interface for keystore operations.
KeyStoreCli() - Constructor for class edu.vt.middleware.crypt.KeyStoreCli
 
KeyUsage - Class in edu.vt.middleware.crypt.x509.types
Representation of the KeyUsage type defined in section 4.2.1.3 of RFC 2459.
KeyUsage(byte[]) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyUsage
Creates a new instance with the given bit string, where each bit is one of the constants defined in the KeyUsageBits enumeration.
KeyUsage(int) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyUsage
Creates a new instance from OR-ing KeyUsageBits bitmask values.
KeyUsage(KeyUsageBits[]) - Constructor for class edu.vt.middleware.crypt.x509.types.KeyUsage
Creates a new instance that has all the given KeyUsageBits set.
KeyUsageBits - Enum in edu.vt.middleware.crypt.x509.types
Representation of the bit meanings in the KeyUsage BIT STRING type defined in section 4.2.1.3 of RFC 2459.

L

LDAPv3DNFormatter - Class in edu.vt.middleware.crypt.x509
Produces a string representation of an X.500 distinguished name using the process described in section 2 of RFC 2253, LADPv3 Distinguished Names.
LDAPv3DNFormatter() - Constructor for class edu.vt.middleware.crypt.x509.LDAPv3DNFormatter
 
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.
list(CommandLine) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Lists keystore contents on STDOUT.
List<T> - Interface in edu.vt.middleware.crypt.x509.types
Interface describing a type that is simply a collection of other types.
logger - Variable in class edu.vt.middleware.crypt.AbstractAlgorithm
Logger instance.
logger - Variable in class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
Logger instance.

M

main(String[]) - Static method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
CLI entry point method.
main(String[]) - Static method in class edu.vt.middleware.crypt.digest.DigestCli
CLI entry point method.
main(String[]) - Static method in class edu.vt.middleware.crypt.KeyStoreCli
CLI entry point method.
main(String[]) - Static method in class edu.vt.middleware.crypt.signature.SignatureCli
CLI entry point method.
main(String[]) - Static method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
CLI entry point method.
MAX_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Blowfish
Maximum key length in bits.
MAX_TAG_NUMBER - Static variable in enum edu.vt.middleware.crypt.x509.types.GeneralNameType
Maximum tag number for items in CHOICE definition.
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.
MIN_KEY_LENGTH - Static variable in class edu.vt.middleware.crypt.symmetric.Blowfish
Minimum key length in bits.
MIN_TAG_NUMBER - Static variable in enum edu.vt.middleware.crypt.x509.types.GeneralNameType
Minimum tag number for items in CHOICE definition.
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.
mode - Variable in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Mode used for encryption and decryption.

N

newAlgorithm(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Creates a new asymmetric encryption algorithm instance based on CLI options.
newAlgorithm(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Creates a new symmetric encryption algorithm instance based on CLI options.
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.
newInstance(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Creates a new signature algorithm instance based on command line args.
newInstance(String) - Static method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Creates a new instance that uses a cipher of the given algorithm and the default mode and padding.
newInstance(AlgorithmSpec) - Static method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Creates a new instance from an algorithm specification.
newInstance(String, String, String) - Static method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Creates a new instance that uses a cipher of the given algorithm.
newInstance(AlgorithmSpec, AlgorithmParameterSpec) - Static method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Creates a new instance from an algorithm specification and cipher initialization parameters.
newParamGenerator() - Method in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Creates a new BC parameter generator instance.
newParamGenerator() - Method in class edu.vt.middleware.crypt.pbe.PBKDF1KeyGenerator
Creates a new BC parameter generator instance.
newParamGenerator() - Method in class edu.vt.middleware.crypt.pbe.PBKDF2KeyGenerator
Creates a new BC parameter generator instance.
newParamGenerator() - Method in class edu.vt.middleware.crypt.pbe.PKCS12KeyGenerator
Creates a new BC parameter generator instance.
next() - Method in class edu.vt.middleware.crypt.x509.RDNSequenceIterator
NoticeReference - Class in edu.vt.middleware.crypt.x509.types
Representation of the NoticeReference type defined in section 4.2.1.5 of RFC 2459.
NoticeReference(String, int[]) - Constructor for class edu.vt.middleware.crypt.x509.types.NoticeReference
Creates a new notice reference with the supplied parameters.

O

octets - Variable in class edu.vt.middleware.crypt.x509.types.BitString
Octets used to encode bit string.
OpenSSLEncryptionScheme - Class in edu.vt.middleware.crypt.pbe
Password-based encryption scheme used by OpenSSL for encrypting private keys.
OpenSSLEncryptionScheme(SymmetricAlgorithm, byte[], int) - Constructor for class edu.vt.middleware.crypt.pbe.OpenSSLEncryptionScheme
Creates a new instance using the given parameters.
OpenSSLEncryptionScheme(String, byte[]) - Constructor for class edu.vt.middleware.crypt.pbe.OpenSSLEncryptionScheme
Creates a new instance from an algorithm identifier string and salt data.
OpenSSLKeyGenerator - Class in edu.vt.middleware.crypt.pbe
Implements a password generation function compatible with the enc operation of OpenSSL in PBE mode.
OpenSSLKeyGenerator() - Constructor for class edu.vt.middleware.crypt.pbe.OpenSSLKeyGenerator
Performs key generation without a salt value.
OpenSSLKeyGenerator(byte[]) - Constructor for class edu.vt.middleware.crypt.pbe.OpenSSLKeyGenerator
Creates a new key generator with the given salt bytes.
OPT_ALG - Static variable in class edu.vt.middleware.crypt.digest.DigestCli
Digest algorithm option.
OPT_ALG - Static variable in class edu.vt.middleware.crypt.signature.SignatureCli
Signature algorithm option.
OPT_ALIAS - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying alias for keystore entry to import/export.
OPT_CERT - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying certificate file to import/export.
OPT_CIPHER - Static variable in class edu.vt.middleware.crypt.AbstractEncryptionCli
Cipher option.
OPT_DECRYPT - Static variable in class edu.vt.middleware.crypt.AbstractEncryptionCli
Decrypt operation option.
OPT_DIGEST - Static variable in class edu.vt.middleware.crypt.signature.SignatureCli
Message digest used to produce encoded message to sign.
OPT_DIGEST - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Digest algorithm used with PBE modes that allow it.
OPT_ENCODING - Static variable in class edu.vt.middleware.crypt.AbstractEncryptionCli
Cihpertext encoding format.
OPT_ENCODING - Static variable in class edu.vt.middleware.crypt.digest.DigestCli
Output encoding format.
OPT_ENCODING - Static variable in class edu.vt.middleware.crypt.signature.SignatureCli
Output encoding format.
OPT_ENCRYPT - Static variable in class edu.vt.middleware.crypt.AbstractEncryptionCli
Encrypt operation option.
OPT_EXAMPLE - Static variable in class edu.vt.middleware.crypt.AbstractCli
Example option.
OPT_EXPORT - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for exporting keypair from keystore.
OPT_GENKEY - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Generate key option.
OPT_GENKEYPAIR - Static variable in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Generate key pair option.
OPT_IMPORT - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for importing keypair into keystore.
OPT_INFILE - Static variable in class edu.vt.middleware.crypt.AbstractCli
Input file option.
OPT_ITERATIONS - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Iteration count for PBE key generation.
OPT_IV - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Cipher initialization vector option.
OPT_KEY - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying key file to import/export.
OPT_KEY - Static variable in class edu.vt.middleware.crypt.signature.SignatureCli
Path to key used for signing or verification.
OPT_KEY - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Cipher key option.
OPT_KEYALG - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying key cipher algorithm.
OPT_KEYSIZE - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Cipher key size.
OPT_LIST - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for listing keystore contents.
OPT_MODE - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Cipher mode option.
OPT_OUTFILE - Static variable in class edu.vt.middleware.crypt.AbstractEncryptionCli
Output file option.
OPT_PADDING - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Cipher padding option.
OPT_PASS - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying keystore password.
OPT_PBE - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Trigger password-based encryption key generation.
OPT_PRIVKEYPATH - Static variable in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Output path of private key for keypair generation option.
OPT_SALT - Static variable in class edu.vt.middleware.crypt.digest.DigestCli
Salt for digest initialization.
OPT_SALT - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Salt for PBE key generation.
OPT_SCHEME - Static variable in class edu.vt.middleware.crypt.symmetric.SymmetricCli
PBE key generation strategy, e.g.
OPT_SIGN - Static variable in class edu.vt.middleware.crypt.signature.SignatureCli
Sign operation option.
OPT_STORE - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying keystore file.
OPT_TAIL - Static variable in class edu.vt.middleware.crypt.AbstractEncryptionCli
Tail output option.
OPT_TYPE - Static variable in class edu.vt.middleware.crypt.KeyStoreCli
Option for specifying keystore type.
OPT_VERIFY - Static variable in class edu.vt.middleware.crypt.signature.SignatureCli
Verify operation option.
options - Variable in class edu.vt.middleware.crypt.AbstractCli
Command line options.

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.
padding - Variable in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Padding used for encryption and decryption.
paramSpec - Variable in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Cipher-specific initialization parameters provided to factory methods.
PBEParameter - Class in edu.vt.middleware.crypt.pkcs
Describes the PBEParameter type defined in PKCS#5.
PBEParameter(byte[], int) - Constructor for class edu.vt.middleware.crypt.pkcs.PBEParameter
Creates a new PBE parameter with given values.
PBES1Algorithm - Enum in edu.vt.middleware.crypt.pkcs
Password-based encryption algorithms defined in PKCS#5 for PBES1 scheme.
PBES1EncryptionScheme - Class in edu.vt.middleware.crypt.pbe
Implements the PBES1 encryption scheme defined in PKCS#5v2.
PBES1EncryptionScheme(PBES1Algorithm, PBEParameter) - Constructor for class edu.vt.middleware.crypt.pbe.PBES1EncryptionScheme
Creates a new instance with the given parameters.
PBES1EncryptionScheme(SymmetricAlgorithm, DigestAlgorithm, PBEParameter) - Constructor for class edu.vt.middleware.crypt.pbe.PBES1EncryptionScheme
Creates a new instance with the given parameters.
PBES2Algorithm - Enum in edu.vt.middleware.crypt.pkcs
Supported password-based encryption algorithms for PKCS#5 PBES2 encryption scheme.
PBES2CipherGenerator - Class in edu.vt.middleware.crypt.pkcs
Creates SymmetricAlgorithm from ASN.1 encoded data describing the encryptionScheme value defined in PKCS#5v2.
PBES2CipherGenerator(DERSequence) - Constructor for class edu.vt.middleware.crypt.pkcs.PBES2CipherGenerator
Creates a new cipher generator from DER-encoded data describing the cipher.
PBES2EncryptionScheme - Class in edu.vt.middleware.crypt.pbe
Implements the PBES2 encryption scheme defined in PKCS#5v2.
PBES2EncryptionScheme(SymmetricAlgorithm, PBKDF2Parameters) - Constructor for class edu.vt.middleware.crypt.pbe.PBES2EncryptionScheme
Creates a new instance with the given parameters.
PBKDF1KeyGenerator - Class in edu.vt.middleware.crypt.pbe
Implements the PBKDF1 key generation function defined in PKCS#5v2.
PBKDF1KeyGenerator(DigestAlgorithm, byte[]) - Constructor for class edu.vt.middleware.crypt.pbe.PBKDF1KeyGenerator
Creates a new instance that uses the given digest for the pseudorandom function.
PBKDF1KeyGenerator(DigestAlgorithm, byte[], int) - Constructor for class edu.vt.middleware.crypt.pbe.PBKDF1KeyGenerator
Creates a new instance that uses the given digest for the pseudorandom function.
PBKDF2KeyGenerator - Class in edu.vt.middleware.crypt.pbe
Implements the PBKDF2 key generation function defined in PKCS#5v2.
PBKDF2KeyGenerator(byte[]) - Constructor for class edu.vt.middleware.crypt.pbe.PBKDF2KeyGenerator
Creates a new instance that uses SHA1 hash for pseudorandom function to generate derived keys.
PBKDF2KeyGenerator(byte[], int) - Constructor for class edu.vt.middleware.crypt.pbe.PBKDF2KeyGenerator
Creates a new instance that uses SHA1 hash for pseudorandom function to generate derived keys.
PBKDF2Parameters - Class in edu.vt.middleware.crypt.pkcs
Describes the PBKDF2-params type defined in PKCS#5v2.
PBKDF2Parameters(byte[], int) - Constructor for class edu.vt.middleware.crypt.pkcs.PBKDF2Parameters
Creates a new PBKDF2 parameter with given values.
PBKDF2Parameters(byte[], int, int) - Constructor for class edu.vt.middleware.crypt.pkcs.PBKDF2Parameters
Creates a new PBKDF2 parameter with given values.
PEM_SUFFIX - Static variable in class edu.vt.middleware.crypt.AbstractCli
Suffix of files using PEM encoding.
PemHelper - Class in edu.vt.middleware.crypt.util
Helper class provides operations for encoding/decoding cryptographic keys and certificates to PEM format.
PemHelper() - Constructor for class edu.vt.middleware.crypt.util.PemHelper
Hidden constructor of utility class.
performAction(String[]) - Method in class edu.vt.middleware.crypt.AbstractCli
Parses command line options and invokes the proper handler to perform the requested action, or the default action if no action is specified.
PKCS12EncryptionScheme - Class in edu.vt.middleware.crypt.pbe
Implements the password-based encryption scheme in section B of PKCS#12.
PKCS12EncryptionScheme(SymmetricAlgorithm, DigestAlgorithm, PBEParameter, int) - Constructor for class edu.vt.middleware.crypt.pbe.PKCS12EncryptionScheme
Creates a new instance with the given parameters.
PKCS12KeyGenerator - Class in edu.vt.middleware.crypt.pbe
Implements the password-based key generation function defined in section B of PKCS#12.
PKCS12KeyGenerator(DigestAlgorithm, byte[], int) - Constructor for class edu.vt.middleware.crypt.pbe.PKCS12KeyGenerator
Creates a new instance that uses the given digest for the pseudorandom function.
POLICY_QUALIFIER_ID_CPS - Static variable in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
OID for policy qualifier containing CPS URI.
POLICY_QUALIFIER_ID_UNOTICE - Static variable in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
OID for policy qualifier containing user notice.
PolicyInformation - Class in edu.vt.middleware.crypt.x509.types
Representation of the PolicyInformation type defined in section 4.2.1.5 of RFC 2459.
PolicyInformation(String) - Constructor for class edu.vt.middleware.crypt.x509.types.PolicyInformation
Creates a new instance with the given OID and no qualifiers defined.
PolicyInformation(String, PolicyQualifierInfo[]) - Constructor for class edu.vt.middleware.crypt.x509.types.PolicyInformation
Creates a new instance with the given OID and qualifiers.
PolicyInformationList - Class in edu.vt.middleware.crypt.x509.types
Stores a list of PolicyInformation objects that could represent the data in the CertificatePolicies extension field defined in section 4.2.1.5 of RFC 2459.
PolicyInformationList(List<PolicyInformation>) - Constructor for class edu.vt.middleware.crypt.x509.types.PolicyInformationList
Constructs a new instance from the given list of policies.
PolicyInformationList(PolicyInformation[]) - Constructor for class edu.vt.middleware.crypt.x509.types.PolicyInformationList
Constructs a new instance from the given array of policies.
PolicyQualifierInfo - Class in edu.vt.middleware.crypt.x509.types
Representation of the PolicyQualifierInfo type defined in section 4.2.1.5 of RFC 2459.
PolicyQualifierInfo(String) - Constructor for class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
Creates a new policy qualifier containing a CPS URI.
PolicyQualifierInfo(UserNotice) - Constructor for class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
Creates a new policy qualifier containing a user notice.
position - Variable in class edu.vt.middleware.crypt.io.AbstractEncodingFilterInputStream
Position in decoded byte buffer.
printCertificate(Certificate) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Prints a string representation of the given certificate to STDOUT.
printExamples() - Method in class edu.vt.middleware.crypt.AbstractCli
Prints CLI usage examples.
printHelp() - Method in class edu.vt.middleware.crypt.AbstractCli
Prints CLI help text.
privateKey - Variable in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Private key to read.
PrivateKeyCredentialReader - Class in edu.vt.middleware.crypt.io
Reads encoded private keys in PKCS#8 or OpenSSL "traditional" format.
PrivateKeyCredentialReader() - Constructor for class edu.vt.middleware.crypt.io.PrivateKeyCredentialReader
 
PROC_TYPE - Static variable in class edu.vt.middleware.crypt.util.PemHelper
Procedure type tag for PEM-encoded private key in OpenSSL format.
propertyName - Variable in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
Property name to set.
PublicKeyCredentialReader - Class in edu.vt.middleware.crypt.io
Reads encoded public keys in X.509 public key format.
PublicKeyCredentialReader() - Constructor for class edu.vt.middleware.crypt.io.PublicKeyCredentialReader
 

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
Provider of secure random data.
RC2 - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using RC2 cipher.
RC2() - Constructor for class edu.vt.middleware.crypt.symmetric.RC2
Creates a default RC2 symmetric encryption algorithm using CBC mode and PKCS5 padding.
RC2(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.RC2
Creates a default RC2 symmetric encryption algorithm using the given mode and padding style.
RC4 - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using RC4 cipher.
RC4() - Constructor for class edu.vt.middleware.crypt.symmetric.RC4
Creates a RC4 symmetric encryption algorithm.
RC4(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.RC4
Creates a RC4 symmetric encryption algorithm.
RC5 - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using RC5 cipher.
RC5() - Constructor for class edu.vt.middleware.crypt.symmetric.RC5
Creates a default RC5 symmetric encryption algorithm using CBC mode and PKCS5 padding.
RC5(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.RC5
Creates a default RC5 symmetric encryption algorithm using the given mode and padding style.
RC6 - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using RC6 cipher.
RC6() - Constructor for class edu.vt.middleware.crypt.symmetric.RC6
Creates a default RC6 symmetric encryption algorithm using CBC mode and PKCS5 padding.
RC6(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.RC6
Creates a default RC6 symmetric encryption algorithm using the given mode and padding style.
RDNSequenceIterator - Class in edu.vt.middleware.crypt.x509
Iterates over an ASN.1 encoded RelativeDistinguishedName sequence in reverse order as specified in section 2.1 of RFC 2253 for converting an ASN.1 representation of an RDN sequence to a string.
RDNSequenceIterator(byte[]) - Constructor for class edu.vt.middleware.crypt.x509.RDNSequenceIterator
Creates a new instance from the bytes comprising an encoded ASN.1 sequence of RDN types.
RDNSequenceIterator(ASN1Sequence) - Constructor for class edu.vt.middleware.crypt.x509.RDNSequenceIterator
Creates a new instance from an ASN.1 sequence of RDNs.
read(File) - Method in class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
Reads a credential, commonly in encoded format, from the given file.
read(InputStream) - Method in class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
Reads a credential, commonly in encoded format, from the given input stream.
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
read(File) - Method in interface edu.vt.middleware.crypt.io.CredentialReader
Reads a credential, commonly in encoded format, from the given file.
read(InputStream) - Method in interface edu.vt.middleware.crypt.io.CredentialReader
Reads a credential, commonly in encoded format, from the given input stream.
read(InputStream) - Static method in class edu.vt.middleware.crypt.io.IOHelper
Reads all data from a stream of unknown length.
read(FileChannel) - Static method in class edu.vt.middleware.crypt.io.IOHelper
Reads all data from the given file channel.
read(File, char[]) - Method in class edu.vt.middleware.crypt.io.PrivateKeyCredentialReader
Reads an encrypted private key in PKCS#8 or OpenSSL "traditional" format from a file into a PrivateKey object.
read(InputStream, char[]) - Method in class edu.vt.middleware.crypt.io.PrivateKeyCredentialReader
Reads an encrypted private key in PKCS#8 or OpenSSL "traditional" format from a file into a PrivateKey object.
read(File) - Method in class edu.vt.middleware.crypt.io.SecretKeyCredentialReader
Reads a credential, commonly in encoded format, from the given file.
read(InputStream) - Method in class edu.vt.middleware.crypt.io.SecretKeyCredentialReader
Reads a credential, commonly in encoded format, from the given input stream.
read(File) - Method in class edu.vt.middleware.crypt.io.X509CertificateCredentialReader
Reads a credential, commonly in encoded format, from the given file.
read(InputStream) - Method in class edu.vt.middleware.crypt.io.X509CertificateCredentialReader
Reads a credential, commonly in encoded format, from the given input stream.
read(File) - Method in class edu.vt.middleware.crypt.io.X509CertificatesCredentialReader
Reads a credential, commonly in encoded format, from the given file.
read(InputStream) - Method in class edu.vt.middleware.crypt.io.X509CertificatesCredentialReader
Reads a credential, commonly in encoded format, from the given input stream.
read(String) - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the extension given by OID or name as defined in section 4.2 of RFC 2459.
read(ExtensionType) - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the given certificate extension field.
readAll() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Attempts to read all extensions defined in section 4.2 of RFC 2459 and returns a map of all extensions defined on the certificate.
readAuthorityInformationAccess() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the AuthorityInformationAccess extension field of the certificate.
readAuthorityKeyIdentifier() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the AuthorityKeyIdentifier extension field of the certificate.
readBasicConstraints() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the BasicConstraints extension field of the certificate.
readCertificate(File) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a PEM or DER-encoded certificate of the default type from a file into a Certificate object.
readCertificate(File, String) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a PEM or DER-encoded certificate of the given type from a file into a Certificate object.
readCertificate(InputStream) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a PEM or DER-encoded certificate of the default type from an input stream into a Certificate object.
readCertificate(InputStream, String) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a PEM or DER-encoded certificate of the default type from an input stream into a Certificate object.
readCertificateChain(File) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a certificate chain of the default certificate type from a file containing data in any of the formats supported by CryptReader.readCertificateChain(InputStream, String).
readCertificateChain(File, String) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a certificate chain of the given type from a file containing data in any of the formats supported by CryptReader.readCertificateChain(InputStream, String).
readCertificateChain(InputStream) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a certificate chain of the default certificate type from an input stream containing data in any of the formats supported by CryptReader.readCertificateChain(InputStream, String).
readCertificateChain(InputStream, String) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a certificate chain of the default certificate type from an input stream containing data in any of the following formats: Sequence of DER-encoded certificates Concatenation of PEM-encoded certificates PKCS#7 certificate chain
readCertificatePolicies() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the CertificatePolicies extension field of the certificate.
readCRLDistributionPoints() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the CRLDistributionPoints extension field of the certificate.
readExtendedKeyUsage() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the ExtendedKeyUsage extension field of the certificate.
readIssuerAlternativeName() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the IssuerAlternativeName extension field of the certificate.
readKey(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Creates a symmetric key from a file defined by CLI arguments.
readKeyStore(CommandLine) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Reads a keystore from disk using command line arguments.
readKeyUsage() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the KeyUsage extension field of the certificate.
readPrivateKey(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Creates a private key from a file defined by CLI arguments.
readPrivateKey(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Creates a private key from a file defined by CLI arguments.
readPrivateKey(File) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a DER-encoded private key in PKCS#8 or OpenSSL "traditional" format from a file into a PrivateKey object.
readPrivateKey(InputStream) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a DER-encoded private key in PKCS#8 or OpenSSL "traditional" format from an input stream into a PrivateKey object.
readPrivateKey(File, char[]) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads an encrypted private key in PKCS#8 or OpenSSL "traditional" format from a file into a PrivateKey object.
readPrivateKey(InputStream, char[]) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads an encrypted private key in PKCS#8 or OpenSSL "traditional" format from a file into a PrivateKey object.
readPublicKey(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Creates a public key from a file defined by CLI arguments.
readPublicKey(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Creates a public key from a file defined by CLI arguments.
readPublicKey(File) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a DER-encoded X.509 public key from an input stream into a PublicKey object.
readPublicKey(InputStream) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads a DER-encoded X.509 public key from an input stream into a PublicKey object.
readSecretKey(File, String) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads the raw bytes of a symmetric encryption key from a file.
readSecretKey(InputStream, String) - Static method in class edu.vt.middleware.crypt.util.CryptReader
Reads the raw bytes of a symmetric encryption key from an input stream.
readSignature(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Reads a cryptographic signature from a file, possibly in encoded format, and returns the result as the raw signature bytes.
readSubjectAlternativeName() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the SubjectAlternativeName extension field of the certificate.
readSubjectKeyIdentifier() - Method in class edu.vt.middleware.crypt.x509.ExtensionReader
Reads the value of the SubjectKeyIdentifier extension field of the certificate.
ReasonFlags - Class in edu.vt.middleware.crypt.x509.types
Representation of the ReasonFlags type defined in section 4.2.1.14 of RFC 2459.
ReasonFlags(byte[]) - Constructor for class edu.vt.middleware.crypt.x509.types.ReasonFlags
Creates a new instance with the given bit string, where each bit is one of the constants defined in the Reasons enumeration.
ReasonFlags(int) - Constructor for class edu.vt.middleware.crypt.x509.types.ReasonFlags
Creates a new instance from OR-ing Reasons bitmask values.
ReasonFlags(Reasons[]) - Constructor for class edu.vt.middleware.crypt.x509.types.ReasonFlags
Creates a new instance that has all the given Reasons bits set.
Reasons - Enum in edu.vt.middleware.crypt.x509.types
Definitions of the meanings of the bits in the ReasonFlags BIT STRING defined in section 4.2.1.14 of RFC 2459.
RelativeDistinguishedName - Class in edu.vt.middleware.crypt.x509.types
Representation of RelativeDistinguishedName type described in section 2 of RFC 2253.
RelativeDistinguishedName(List<AttributeTypeAndValue>) - Constructor for class edu.vt.middleware.crypt.x509.types.RelativeDistinguishedName
Creates a new instance with the given list of values.
RelativeDistinguishedName(AttributeTypeAndValue[]) - Constructor for class edu.vt.middleware.crypt.x509.types.RelativeDistinguishedName
Creates a new instance with the given array of values.
RelativeDistinguishedName(AttributeTypeAndValue) - Constructor for class edu.vt.middleware.crypt.x509.types.RelativeDistinguishedName
Creates a new instance with a single value.
remove() - Method in class edu.vt.middleware.crypt.x509.RDNSequenceIterator
Not supported.
Rijndael - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using Rijndael cipher.
Rijndael() - Constructor for class edu.vt.middleware.crypt.symmetric.Rijndael
Creates a default Rijndael symmetric encryption algorithm using CBC mode and PKCS5 padding.
Rijndael(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.Rijndael
Creates a default Rijndael symmetric encryption algorithm using the given mode and padding style.
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.
RSA_ID - Static variable in class edu.vt.middleware.crypt.io.AbstractEncodedCredentialReader
RSA algorithm OID.
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 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.

S

salt - Variable in class edu.vt.middleware.crypt.digest.DigestAlgorithm
Random data used to initialize digest.
salt - Variable in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Key derifcation function salt.
salt - Variable in class edu.vt.middleware.crypt.pkcs.PBEParameter
Digest salt value.
SecretKeyCredentialReader - Class in edu.vt.middleware.crypt.io
Reads symmetric algorithm secret keys.
SecretKeyCredentialReader(String) - Constructor for class edu.vt.middleware.crypt.io.SecretKeyCredentialReader
Creates a new instance that can read keys for the given symmetric cipher algorithm.
SEPARATOR_CHAR - Static variable in class edu.vt.middleware.crypt.x509.LDAPv3DNFormatter
Separator character relative distinguished name components.
SEPARATOR_CHAR - Static variable in class edu.vt.middleware.crypt.x509.types.RelativeDistinguishedName
Separator character between AttributeTypeAndValue items making up RDN.
Serpent - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using Serpent cipher.
Serpent() - Constructor for class edu.vt.middleware.crypt.symmetric.Serpent
Creates a default Serpent symmetric encryption algorithm using CBC mode and PKCS5 padding.
Serpent(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.Serpent
Creates a default Serpent symmetric encryption algorithm using the given mode and padding style.
setAlgorithm(String) - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
This sets the algorithm used for decryption.
setByteDelimiter(String) - Method in class edu.vt.middleware.crypt.util.HexConverter
Sets the byte delimiter string.
setCipher(SymmetricAlgorithm) - Method in class edu.vt.middleware.crypt.pbe.AbstractEncryptionScheme
Sets the symmetric algorithm cipher.
setDigest(Digest) - Method in class edu.vt.middleware.crypt.digest.DigestAlgorithm
Sets the internal object responsible for digest computation.
setEffectiveKeyBits(int) - Method in class edu.vt.middleware.crypt.symmetric.RC2
Sets the effective key size in bits.
setGenerator(KeyGenerator) - Method in class edu.vt.middleware.crypt.pbe.AbstractVariableKeySizeEncryptionScheme
Sets the key generator.
setIterationCount(int) - Method in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Gets the key derivation function iteration count.
setIV(byte[]) - Method in class edu.vt.middleware.crypt.symmetric.RC4
Sets the encryption initialization vector.
setIV(byte[]) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Sets the encryption initialization vector.
setIv(String) - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
This sets the initialization vector used for encryption/decryption.
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.
setKeyLength(int) - Method in class edu.vt.middleware.crypt.pbe.AbstractVariableKeySizeEncryptionScheme
Sets the derived key length in bits.
setLength(int) - Method in class edu.vt.middleware.crypt.pkcs.PBKDF2Parameters
Sets the length of the derived key.
setMode(String) - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
This sets the mode used for decryption.
setName(String) - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
This sets the name of the property to set with the decrypted value.
setPadding(String) - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
This sets the padding used for decryption.
setPrivateKey(File) - Method in class edu.vt.middleware.crypt.tasks.AbstractCryptTask
This sets the private key used for 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.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.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.DSASignature
Signs the given data and returns the signature as a byte array.
sign(InputStream) - Method in class edu.vt.middleware.crypt.signature.DSASignature
Computes the signature of the data in the given input stream by processing in chunks.
sign(byte[]) - Method in class edu.vt.middleware.crypt.signature.RSASignature
Signs the given data and returns the signature as a byte array.
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(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.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.
sign(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Perform a signature operation on input data.
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.
SignatureCli - Class in edu.vt.middleware.crypt.signature
Command line interface for cryptographic signature operations.
SignatureCli() - Constructor for class edu.vt.middleware.crypt.signature.SignatureCli
 
signKey - Variable in class edu.vt.middleware.crypt.signature.SignatureAlgorithm
Private key used for signing.
Skipjack - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using Skipjack cipher.
Skipjack() - Constructor for class edu.vt.middleware.crypt.symmetric.Skipjack
Creates a default Skipjack symmetric encryption algorithm using CBC mode and PKCS5 padding.
Skipjack(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.Skipjack
Creates a default Skipjack symmetric encryption algorithm using the given mode and padding style.
SymmetricAlgorithm - Class in edu.vt.middleware.crypt.symmetric
Provides symmetric encryption and decryption operations using a secret key.
SymmetricAlgorithm(String, String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.SymmetricAlgorithm
Creates a new instance that uses a cipher of the given algorithm.
SymmetricCli - Class in edu.vt.middleware.crypt.symmetric
Command line interface for symmetric encryption operations.
SymmetricCli() - Constructor for class edu.vt.middleware.crypt.symmetric.SymmetricCli
 

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[]) - Method in class edu.vt.middleware.crypt.pbe.AbstractPKCSKeyGenerator
Converts password characters to bytes in implementation-dependent fashion.
toBytes(char[]) - Method in class edu.vt.middleware.crypt.pbe.PBKDF1KeyGenerator
Converts password characters to bytes in implementation-dependent fashion.
toBytes(char[]) - Method in class edu.vt.middleware.crypt.pbe.PBKDF2KeyGenerator
Converts password characters to bytes in implementation-dependent fashion.
toBytes(char[]) - Method in class edu.vt.middleware.crypt.pbe.PKCS12KeyGenerator
Converts password characters to bytes in implementation-dependent fashion.
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
Convers an array of strings into a byte array produced by concatenating the byte representation of each string in the default character set.
toBytes(String) - Static method in class edu.vt.middleware.crypt.util.Convert
Converts a string to bytes in the default character set.
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 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.
toDERObject(byte[], boolean) - Static method in class edu.vt.middleware.crypt.util.DERHelper
Attempts to create a Bouncy Castle DERObject from a byte array representing ASN.1 encoded data.
toHex(byte[]) - Static method in class edu.vt.middleware.crypt.util.Convert
Converts a byte array into a hexadecimal string representation of the bytes.
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.
toString() - Method in class edu.vt.middleware.crypt.x509.types.AbstractList
Provides a string representation of all the items in the collection.
toString() - Method in class edu.vt.middleware.crypt.x509.types.AccessDescription
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.AttributeTypeAndValue
Follows the guidelines of RFC 2253 section 2.3 for producing the string representation of the AttributeTypeAndValue type.
toString() - Method in class edu.vt.middleware.crypt.x509.types.AuthorityKeyIdentifier
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.BasicConstraints
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.DistributionPoint
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.GeneralName
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.KeyIdentifier
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.KeyUsage
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.NoticeReference
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.PolicyInformation
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.PolicyQualifierInfo
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.ReasonFlags
 
toString() - Method in class edu.vt.middleware.crypt.x509.types.RelativeDistinguishedName
Follows the guidelines of RFC 2253 section 2.2 for producing the string representation of the RelativeDistinguishedName type.
toString() - Method in class edu.vt.middleware.crypt.x509.types.UserNotice
 
Twofish - Class in edu.vt.middleware.crypt.symmetric
Provider of symmetric encryption/decryption operations using Twofish cipher.
Twofish() - Constructor for class edu.vt.middleware.crypt.symmetric.Twofish
Creates a default Twofish symmetric encryption algorithm using CBC mode and PKCS5 padding.
Twofish(String, String) - Constructor for class edu.vt.middleware.crypt.symmetric.Twofish
Creates a default Twofish symmetric encryption algorithm using the given mode and padding style.

U

UNSIGNED_BYTE_MASK - Static variable in class edu.vt.middleware.crypt.x509.types.BitString
Unsigned byte bitmask.
UserNotice - Class in edu.vt.middleware.crypt.x509.types
Representation of the UserNotice type defined in section 4.2.1.5 of RFC 2459.
UserNotice() - Constructor for class edu.vt.middleware.crypt.x509.types.UserNotice
Creates an empty user notice.
UserNotice(NoticeReference) - Constructor for class edu.vt.middleware.crypt.x509.types.UserNotice
Creates a new instance with the given notice reference.
UserNotice(String) - Constructor for class edu.vt.middleware.crypt.x509.types.UserNotice
Creates a new instance with the given explicit display text.
UserNotice(NoticeReference, String) - Constructor for class edu.vt.middleware.crypt.x509.types.UserNotice
Creates a new instance with the given notice reference and explicit display text.

V

validateOptions(CommandLine) - Method in class edu.vt.middleware.crypt.asymmetric.AsymmetricCli
Validates the existence of required options for an operation.
validateOptions(CommandLine) - Method in class edu.vt.middleware.crypt.KeyStoreCli
Validates the existence of required options for an operation.
validateOptions(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Validates the existence of required options for an operation.
validateOptions(CommandLine) - Method in class edu.vt.middleware.crypt.symmetric.SymmetricCli
Validates the existence of required options for an operation.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.pkcs.PBES1Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.pkcs.PBES2Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.ExtensionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.types.AccessMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.types.AttributeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.types.GeneralNameType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.types.KeyPurposeId
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.types.KeyUsageBits
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.vt.middleware.crypt.x509.types.Reasons
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.vt.middleware.crypt.pkcs.PBES1Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.pkcs.PBES2Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.ExtensionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.types.AccessMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.types.AttributeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.types.GeneralNameType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.types.KeyPurposeId
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.types.KeyUsageBits
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.vt.middleware.crypt.x509.types.Reasons
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[]) - Method in class edu.vt.middleware.crypt.signature.DSASignature
Verifies the signature of the given data matches the given signature.
verify(InputStream, byte[]) - Method in class edu.vt.middleware.crypt.signature.DSASignature
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(InputStream, 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.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.
verify(CommandLine) - Method in class edu.vt.middleware.crypt.signature.SignatureCli
Perform a verification operation on input data.
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 message 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.
write(int) - Method in class edu.vt.middleware.crypt.io.AbstractEncodingFilterOutputStream
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(int) - Method in class edu.vt.middleware.crypt.io.TeePrintStream
write(byte[], int, 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.
writeEncodedCertificate(Certificate, File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied certificate to the file using its native encoding.
writeEncodedCertificate(Certificate, OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied certificate to the output stream using its native encoding.
writeEncodedCertificates(Certificate[], File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied certificates in sequence to the file using their native encoding.
writeEncodedCertificates(Certificate[], OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied certificates in sequence to the output stream using their native encoding.
writeEncodedKey(Key, File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied key to the file using its native encoding.
writeEncodedKey(Key, OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied key to the output stream using its native encoding.
writePemCertificate(Certificate, File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied certificate to the supplied file in PEM format.
writePemCertificate(Certificate, OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied certificate to the supplied output stream in PEM format.
writePemCertificates(Certificate[], File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the concatenation of the given certificates in PEM format to the given file.
writePemCertificates(Certificate[], OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the concatenation of the given certificates in PEM format to the given output stream.
writePemKey(PublicKey, File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied public key to the supplied file in PEM format.
writePemKey(PublicKey, OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied public key to the supplied output stream in PEM format.
writePemKey(PrivateKey, char[], SecureRandom, File) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied private key to the supplied file in encrypted PEM format.
writePemKey(PrivateKey, char[], SecureRandom, OutputStream) - Static method in class edu.vt.middleware.crypt.util.CryptWriter
Writes the supplied private key to the supplied output stream in PEM format.

X

X509CertificateCredentialReader - Class in edu.vt.middleware.crypt.io
Reads X.509 certificates from encoded representation.
X509CertificateCredentialReader() - Constructor for class edu.vt.middleware.crypt.io.X509CertificateCredentialReader
 
X509CertificatesCredentialReader - Class in edu.vt.middleware.crypt.io
Reads collections of encoded X.509 certificates from a resource.
X509CertificatesCredentialReader() - Constructor for class edu.vt.middleware.crypt.io.X509CertificatesCredentialReader
 

A B C D E F G H I K L M N O P R S T U V W X

Copyright © 2003-2011 Virginia Tech. All Rights Reserved.