Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractBaseNDecoder - Class in org.cryptacular.codec
-
Base decoder class for encoding schemes described in RFC 3548.
- AbstractBaseNDecoder(byte[]) - Constructor for class org.cryptacular.codec.AbstractBaseNDecoder
-
Creates a new instance with given parameters.
- AbstractBaseNDecoder(byte[], boolean) - Constructor for class org.cryptacular.codec.AbstractBaseNDecoder
-
Creates a new instance with given parameters.
- AbstractBaseNEncoder - Class in org.cryptacular.codec
-
Base encoder class for encoding schemes described in RFC 3548.
- AbstractBaseNEncoder(char[], int) - Constructor for class org.cryptacular.codec.AbstractBaseNEncoder
-
Creates a new instance with given parameters.
- AbstractBaseNEncoder(char[], int, boolean) - Constructor for class org.cryptacular.codec.AbstractBaseNEncoder
-
Creates a new instance with given parameters.
- AbstractBlockCipherBean - Class in org.cryptacular.bean
-
Base class for all cipher beans that use block cipher.
- AbstractBlockCipherBean(KeyStore, String, String, Nonce) - Constructor for class org.cryptacular.bean.AbstractBlockCipherBean
-
Creates a new abstract block cipher bean.
- AbstractCipherBean - Class in org.cryptacular.bean
-
Base class for all cipher beans.
- AbstractCipherBean(KeyStore, String, String, Nonce) - Constructor for class org.cryptacular.bean.AbstractCipherBean
-
Creates a new abstract cipher bean.
- AbstractEncryptionScheme - Class in org.cryptacular.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 org.cryptacular.pbe.AbstractEncryptionScheme
- AbstractHashBean - Class in org.cryptacular.bean
-
Abstract base class for all hash beans.
- AbstractHashBean(Spec<Digest>) - Constructor for class org.cryptacular.bean.AbstractHashBean
-
Creates a new abstract hash bean.
- AbstractHashBean(Spec<Digest>, int) - Constructor for class org.cryptacular.bean.AbstractHashBean
-
Creates a new abstract hash bean.
- AbstractOTPGenerator - Class in org.cryptacular.generator
- AbstractOTPGenerator() - Constructor for class org.cryptacular.generator.AbstractOTPGenerator
-
Creates a new abstract OTP generator.
- AbstractOTPGenerator(int) - Constructor for class org.cryptacular.generator.AbstractOTPGenerator
-
Creates a new abstract OTP generator.
- AbstractP12Generator - Class in org.cryptacular.generator
-
Base class for all PKCS12 generation components.
- AbstractP12Generator() - Constructor for class org.cryptacular.generator.AbstractP12Generator
- AbstractPemEncodeType() - Constructor for class org.cryptacular.util.CertUtil.AbstractPemEncodeType
- AbstractPrivateKeyDecoder<T> - Class in org.cryptacular.asn
-
Base class for all private key decoders.
- AbstractPrivateKeyDecoder() - Constructor for class org.cryptacular.asn.AbstractPrivateKeyDecoder
- AbstractWrappedDSAKey<T> - Class in org.cryptacular.adapter
-
Base class for DSA wrapped keys.
- AbstractWrappedDSAKey(T) - Constructor for class org.cryptacular.adapter.AbstractWrappedDSAKey
-
Creates a new instance that wraps the given key.
- AbstractWrappedECKey<T> - Class in org.cryptacular.adapter
-
Base class for wrapped EC keys.
- AbstractWrappedECKey(T) - Constructor for class org.cryptacular.adapter.AbstractWrappedECKey
-
Creates a new instance that wraps the given key.
- AbstractWrappedKey<T> - Class in org.cryptacular.adapter
-
JCE/JDK key base class that wraps a BC native private key.
- AbstractWrappedKey(T) - Constructor for class org.cryptacular.adapter.AbstractWrappedKey
-
Creates a new instance that wraps the given BC key.
- AbstractWrappedRSAKey<T> - Class in org.cryptacular.adapter
-
Base class for RSA wrapped keys.
- AbstractWrappedRSAKey(T) - Constructor for class org.cryptacular.adapter.AbstractWrappedRSAKey
-
Creates a new instance that wraps the given key.
- AEADBlockCipherAdapter - Class in org.cryptacular.adapter
-
Adapts a
AEADBlockCipherAdapter. - AEADBlockCipherAdapter(AEADBlockCipher) - Constructor for class org.cryptacular.adapter.AEADBlockCipherAdapter
-
Creates a new instance that delegates to the given cipher.
- AEADBlockCipherBean - Class in org.cryptacular.bean
-
Cipher bean that performs encryption with a block cipher in AEAD mode (e.g.
- AEADBlockCipherBean(Spec<AEADBlockCipher>, KeyStore, String, String, Nonce) - Constructor for class org.cryptacular.bean.AEADBlockCipherBean
-
Creates a new AEAD block cipher bean.
- AEADBlockCipherSpec - Class in org.cryptacular.spec
-
Describes an AEAD block cipher in terms of a (algorithm, mode) tuple and provides a facility to create a new instance of the cipher via the
AEADBlockCipherSpec.newInstance()method. - AEADBlockCipherSpec(String, String) - Constructor for class org.cryptacular.spec.AEADBlockCipherSpec
-
Creates a new instance from a cipher algorithm and mode.
- AES_128_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
AES-128 in CBC mode.
- AES_192_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
AES-192 in CBC mode.
- AES_256_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
AES-256 in CBC mode.
- AES128 - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
AES-128 CBC cipher.
- AES192 - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
AES-192 CBC cipher.
- AES256 - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
AES-256 CBC cipher.
- AESP12Generator - Class in org.cryptacular.generator
-
Generates PKCS12 containers using the PBES2 algorithm with the AES-256-CBC cipher for encryption, which is the most portable and secure algorithm in use with PKCS12 at this time.
- AESP12Generator() - Constructor for class org.cryptacular.generator.AESP12Generator
-
Creates a new instance that encrypts with AES-256-CBC and SHA256 using 2048 rounds of hashing.
- AESP12Generator(int) - Constructor for class org.cryptacular.generator.AESP12Generator
-
Creates a new instance that encrypts with AES-256-CBC and SHA256 using the given number of hashing rounds.
- AESP12Generator(ASN1ObjectIdentifier, int) - Constructor for class org.cryptacular.generator.AESP12Generator
-
Creates a new instances that uses AES-256-CBC and the given digest algorithm to encrypt data.
- AESP12Generator.PBES2OutputEncryptorBuilder - Class in org.cryptacular.generator
-
Builds an output encryptor based on PBKDF2 domain parameters.
- ALG_NAME_FINDER - Static variable in class org.cryptacular.util.CsrUtil
-
Maps algorithm OIDs onto typical algorithm names like "SHA256withRSA".
- algorithm - Variable in class org.cryptacular.bean.ResourceBasedSecretKeyFactoryBean
-
Key algorithm.
- algorithm - Variable in class org.cryptacular.spec.AEADBlockCipherSpec
-
Cipher algorithm.
- algorithm - Variable in class org.cryptacular.spec.BlockCipherSpec
-
Cipher algorithm.
- algorithm - Variable in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Cipher algorithm.
- algorithm - Variable in class org.cryptacular.spec.DigestSpec
-
Digest algorithm name.
- algorithm - Variable in class org.cryptacular.spec.StreamCipherSpec
-
Cipher algorithm.
- ALGORITHM - Static variable in class org.cryptacular.adapter.AbstractWrappedDSAKey
-
DSA algorithm name.
- ALGORITHM - Static variable in class org.cryptacular.adapter.AbstractWrappedECKey
-
Elliptic curve algorithm name.
- ALGORITHM - Static variable in class org.cryptacular.adapter.AbstractWrappedRSAKey
-
RSA algorithm name.
- algorithmId - Variable in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Algorithm identifier, e.g.
- alias - Variable in class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
-
Alias of keystore entry containing secret key.
- allowsUsage(X509Certificate, KeyPurposeId...) - Static method in class org.cryptacular.util.CertUtil
-
Determines whether the certificate allows the given extended key usages.
- allowsUsage(X509Certificate, KeyUsageBits...) - Static method in class org.cryptacular.util.CertUtil
-
Determines whether the certificate allows the given basic key usages.
- alphabet - Variable in class org.cryptacular.codec.Base64Decoder.Builder
-
Arbitrary alphbet.
- alphabet - Variable in class org.cryptacular.codec.Base64Encoder.Builder
-
Arbitrary alphbet.
- ALPHABET - Static variable in class org.cryptacular.bean.BCryptHashBean
-
Custom base-64 alphabet.
- arraysEqual(byte[], int, byte[], int, int) - Static method in class org.cryptacular.CiphertextHeader
-
Determines if two byte array ranges are equal bytewise.
- ASCII_CHARSET - Static variable in class org.cryptacular.util.ByteUtil
-
ASCII character set.
- ASN1Decoder<T> - Interface in org.cryptacular.asn
-
Strategy interface for converting encoded ASN.1 bytes to an object.
- assertHeadersValid(List<PemHeader>) - Method in class org.cryptacular.pem.PemObject
-
Throws an exception if the headers are not according to their governing RFC format.
- assertLineLength(Format, int) - Static method in class org.cryptacular.pem.PemParser
-
Throws an exception if the data contains rules restricted by their respective RFCs.
- assertNotNullArg(T, String) - Static method in class org.cryptacular.CryptUtil
-
Throws
IllegalArgumentExceptionif the supplied object is null. - assertNotNullArgOr(T, Predicate<T>, String) - Static method in class org.cryptacular.CryptUtil
-
Throws
IllegalArgumentExceptionif the supplied object is null or the supplied predicate returns true. - assertPemHeaderValid(List<PemHeader>, Set<String>, Format, boolean, boolean) - Method in class org.cryptacular.pem.PemObject
-
Checks to make sure a given list of
PemHeaderinstances the names specified are valid. - Attribute - Class in org.cryptacular.x509.dn
-
Simple implementation of the X.501 AttributeTypeAndValue that makes up the RelativeDistinguishedName type described in section 4.1.2.4 of RFC 2459.
- Attribute(String, String) - Constructor for class org.cryptacular.x509.dn.Attribute
-
Creates a new instance of the given type and value.
- Attribute(AttributeType, String) - Constructor for class org.cryptacular.x509.dn.Attribute
-
Creates a new instance of the given type and value.
- attributes - Variable in class org.cryptacular.x509.dn.Attributes
-
Underlying attributes.
- attributes - Variable in class org.cryptacular.x509.dn.RDN
-
RDN attributes.
- Attributes - Class in org.cryptacular.x509.dn
-
Ordered list of
Attributes. - Attributes(List<Attribute>) - Constructor for class org.cryptacular.x509.dn.Attributes
-
Creates a new attributes.
- Attributes(Attribute...) - Constructor for class org.cryptacular.x509.dn.Attributes
-
Creates a new attributes.
- AttributeType - Interface in org.cryptacular.x509.dn
-
Describes values of AttributeType that may appear in a RelativeDistinguishedName (RDN) as defined in section 2 of RFC 2253.
- ATV_SEPARATOR - Static variable in class org.cryptacular.x509.dn.LdapNameFormatter
-
Separator character between ATV components in the same RDN element.
- AuthorityInformationAccess - Enum constant in enum org.cryptacular.x509.ExtensionType
-
AuthorityInfoAccess extension field.
- authorityKeyId(X509Certificate) - Static method in class org.cryptacular.util.CertUtil
-
Gets the authority key identifier of the given certificate in delimited hexadecimal format, e.g.
- AuthorityKeyIdentifier - Enum constant in enum org.cryptacular.x509.ExtensionType
-
AuthorityKeyIdentifier extension field.
B
- b32(byte[]) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes bytes into base 32-encoded string.
- b32(byte[], int) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes bytes into base32-encoded string.
- b32(CharSequence) - Static method in class org.cryptacular.util.CodecUtil
-
Decodes a base32-encoded string into raw bytes.
- b64(byte[]) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes bytes into base 64-encoded string.
- b64(byte[], int) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes bytes into base64-encoded string.
- b64(CharSequence) - Static method in class org.cryptacular.util.CodecUtil
-
Decodes a base64-encoded string into raw bytes.
- backward() - Method in class org.cryptacular.x509.dn.RDNSequence
- BASE32 - Static variable in class org.cryptacular.spec.CodecSpec
-
Base32 encoding specification.
- BASE32_UNPADDED - Static variable in class org.cryptacular.spec.CodecSpec
-
Unpadded base32 encoding specification.
- Base32Codec - Class in org.cryptacular.codec
-
Base 32 encoder/decoder pair.
- Base32Codec() - Constructor for class org.cryptacular.codec.Base32Codec
-
Creates a new instance using the RFC 4328 alphabet,
ABCDEFGHIJKLMNOPQRSTUVWXYZ234567. - Base32Codec(String) - Constructor for class org.cryptacular.codec.Base32Codec
-
Creates a new instance using the given 32-character alphabet.
- Base32Codec(String, boolean) - Constructor for class org.cryptacular.codec.Base32Codec
-
Creates a new instance using the given 32-character alphabet with option to enable/disable padding.
- Base32Decoder - Class in org.cryptacular.codec
-
Stateful base 32 decoder with support for line breaks.
- Base32Decoder() - Constructor for class org.cryptacular.codec.Base32Decoder
-
Creates a new instance using the RFC 4648 alphabet,
ABCDEFGHIJKLMNOPQRSTUVWXYZ234567, for decoding. - Base32Decoder(boolean) - Constructor for class org.cryptacular.codec.Base32Decoder
-
Creates a new instance using the given 32-character alphabet for decoding.
- Base32Decoder(String) - Constructor for class org.cryptacular.codec.Base32Decoder
-
Creates a new instance using the given 32-character alphabet for decoding.
- Base32Decoder(String, boolean) - Constructor for class org.cryptacular.codec.Base32Decoder
-
Creates a new instance using the given 32-character alphabet for decoding.
- Base32Encoder - Class in org.cryptacular.codec
-
Stateful base 32 encoder with support for configurable line breaks.
- Base32Encoder() - Constructor for class org.cryptacular.codec.Base32Encoder
-
Creates a new instance that produces base 32-encoded output in the RFC 4648 alphabet,
ABCDEFGHIJKLMNOPQRSTUVWXYZ234567, with no line breaks in the output. - Base32Encoder(int) - Constructor for class org.cryptacular.codec.Base32Encoder
-
Creates a new instance that produces base 32-encoded output in the RFC 4648 alphabet,
ABCDEFGHIJKLMNOPQRSTUVWXYZ234567, with the given number of characters per line in the output. - Base32Encoder(int, boolean) - Constructor for class org.cryptacular.codec.Base32Encoder
-
Creates a new instance that produces base 32-encoded output in the RFC 4648 alphabet,
ABCDEFGHIJKLMNOPQRSTUVWXYZ234567, with the given number of characters per line in the output. - Base32Encoder(String) - Constructor for class org.cryptacular.codec.Base32Encoder
-
Creates a new instance that produces base 32-encoded output in the given 32-character alphabet with no line breaks in the output.
- Base32Encoder(String, int) - Constructor for class org.cryptacular.codec.Base32Encoder
-
Creates a new instance that produces base 32-encoded output in the given 32-character alphabet with the given number of characters per line in the output.
- Base32Encoder(String, int, boolean) - Constructor for class org.cryptacular.codec.Base32Encoder
-
Creates a new instance that produces base 32-encoded output in the given 32-character alphabet with the given number of characters per line in the output.
- base64(InputStream) - Static method in class org.cryptacular.io.DecodingInputStream
-
Creates a new instance that decodes base64 input from the given stream.
- base64(OutputStream) - Static method in class org.cryptacular.io.EncodingOutputStream
-
Creates a new instance that produces base64 output in the given stream.
- base64(OutputStream, int) - Static method in class org.cryptacular.io.EncodingOutputStream
-
Creates a new instance that produces base64 output in the given stream.
- BASE64 - Static variable in class org.cryptacular.spec.CodecSpec
-
Base64 encoding specification.
- BASE64_UNPADDED - Static variable in class org.cryptacular.spec.CodecSpec
-
Unpadded base64 encoding specification.
- BASE64_URLSAFE - Static variable in class org.cryptacular.spec.CodecSpec
-
URL-safe base64 encoding specification.
- Base64Codec - Class in org.cryptacular.codec
-
Base 64 encoder/decoder pair.
- Base64Codec() - Constructor for class org.cryptacular.codec.Base64Codec
-
Creates a new instance using the base-64 alphabet defined in RFC 4648.
- Base64Codec(String) - Constructor for class org.cryptacular.codec.Base64Codec
-
Creates a new instance using the given 64-character alphabet.
- Base64Codec(String, boolean) - Constructor for class org.cryptacular.codec.Base64Codec
-
Creates a new instance using the given 64-character alphabet with option to enable/disable padding.
- Base64Decoder - Class in org.cryptacular.codec
-
Stateful base 64 decoder with support for line breaks.
- Base64Decoder() - Constructor for class org.cryptacular.codec.Base64Decoder
-
Creates a new instance that decodes base 64-encoded input in the default character set.
- Base64Decoder(boolean) - Constructor for class org.cryptacular.codec.Base64Decoder
-
Creates a new instance that decodes base 64-encoded input in the optional URL-safe character set.
- Base64Decoder(boolean, boolean) - Constructor for class org.cryptacular.codec.Base64Decoder
-
Creates a new instance that decodes base 64-encoded input in the optional URL-safe character set.
- Base64Decoder(String) - Constructor for class org.cryptacular.codec.Base64Decoder
-
Creates a new instance that decodes base-64 character data encoded in the given alphabet.
- Base64Decoder(String, boolean) - Constructor for class org.cryptacular.codec.Base64Decoder
-
Creates a new instance that decodes base-64 character data encoded in the given alphabet.
- Base64Decoder.Builder - Class in org.cryptacular.codec
-
Builder for base-64 decoders.
- Base64Encoder - Class in org.cryptacular.codec
-
Stateful base 64 encoder with support for configurable line breaks.
- Base64Encoder() - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with no line breaks in the default character set.
- Base64Encoder(boolean) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with no line breaks and optional URL-safe character set.
- Base64Encoder(boolean, int) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with the given number of characters per line with the option of URL-safe character set.
- Base64Encoder(boolean, int, boolean) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with the given number of characters per line with the option of URL-safe character set.
- Base64Encoder(int) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with the given number of characters per line in the default character set.
- Base64Encoder(String) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with the given 64-character alphabet.
- Base64Encoder(String, int) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with the given 64-character alphabet with line wrapping at the specified line length;
- Base64Encoder(String, int, boolean) - Constructor for class org.cryptacular.codec.Base64Encoder
-
Creates a new instance that produces base 64-encoded output with the given 64-character alphabet with line wrapping at the specified line length;
- Base64Encoder.Builder - Class in org.cryptacular.codec
-
Builder for base-64 encoders.
- BasicConstraints - Enum constant in enum org.cryptacular.x509.ExtensionType
-
BasicConstraints extension field.
- BCryptHashBean - Class in org.cryptacular.bean
-
HashBeanimplementation that uses the bcrypt algorithm for hashing. - BCryptHashBean() - Constructor for class org.cryptacular.bean.BCryptHashBean
-
Creates a new instance.
- BCryptHashBean(int) - Constructor for class org.cryptacular.bean.BCryptHashBean
-
Creates a new instance that uses the given cost factor when hashing.
- BCryptHashBean(int, String) - Constructor for class org.cryptacular.bean.BCryptHashBean
-
Creates a new instance that uses the given cost factor when hashing.
- BCryptHashBean.BCryptParameters - Class in org.cryptacular.bean
-
Handles encoding and decoding a bcrypt hash of the form
$2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy. - BCryptParameters(CharSequence) - Constructor for class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
Decodes bcrypt parameters from a string.
- BigIntegerCounterNonce - Class in org.cryptacular.generator.sp80038a
-
Uses a
BigIntegerto back a counter in order to produce nonces of arbitrary length. - BigIntegerCounterNonce(BigInteger, int) - Constructor for class org.cryptacular.generator.sp80038a.BigIntegerCounterNonce
-
Creates a new instance with given parameters.
- bitsPerChar - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Number of bits encoding a single character.
- block - Variable in class org.cryptacular.codec.AbstractBaseNDecoder
-
Block of encoded characters.
- block - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Holds a block of bytes to encode.
- BlockCipherAdapter - Interface in org.cryptacular.adapter
-
Adapter for all block cipher types.
- blockCipherSpec - Variable in class org.cryptacular.bean.AEADBlockCipherBean
-
AEAD block cipher specification (algorithm, mode, padding).
- blockCipherSpec - Variable in class org.cryptacular.bean.BufferedBlockCipherBean
-
Block cipher specification (algorithm, mode, padding).
- BlockCipherSpec - Class in org.cryptacular.spec
-
Block cipher specification.
- BlockCipherSpec(String) - Constructor for class org.cryptacular.spec.BlockCipherSpec
-
Creates a new instance that describes the given block cipher algorithm.
- blockLength - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Number of bits in a block.
- blockPos - Variable in class org.cryptacular.codec.AbstractBaseNDecoder
-
Current position in character block.
- blockSize - Variable in enum org.cryptacular.pbe.PBES2Algorithm
-
Cipher block size in bits.
- BufferedBlockCipherAdapter - Class in org.cryptacular.adapter
-
Adapts a
BufferedBlockCipher. - BufferedBlockCipherAdapter(BufferedBlockCipher) - Constructor for class org.cryptacular.adapter.BufferedBlockCipherAdapter
-
Creates a new instance that delegates to the given cipher.
- BufferedBlockCipherBean - Class in org.cryptacular.bean
-
Cipher bean that performs symmetric encryption/decryption using a standard block cipher in a standard mode (e.g.
- BufferedBlockCipherBean(Spec<BufferedBlockCipher>, KeyStore, String, String, Nonce) - Constructor for class org.cryptacular.bean.BufferedBlockCipherBean
-
Creates a buffered block cipher bean.
- BufferedBlockCipherSpec - Class in org.cryptacular.spec
-
Describes a block cipher in terms of a (algorithm, mode, padding) tuple and provides a facility to create a new instance of the cipher via the
BufferedBlockCipherSpec.newInstance()method. - BufferedBlockCipherSpec(String) - Constructor for class org.cryptacular.spec.BufferedBlockCipherSpec
-
Creates a new instance from an algorithm name.
- BufferedBlockCipherSpec(String, String) - Constructor for class org.cryptacular.spec.BufferedBlockCipherSpec
-
Creates a new instance from a cipher algorithm and mode.
- BufferedBlockCipherSpec(String, String, String) - Constructor for class org.cryptacular.spec.BufferedBlockCipherSpec
-
Creates a new instance from the given cipher specifications.
- build() - Method in class org.cryptacular.codec.Base64Decoder.Builder
-
Builds a base-64 decoder with the given options.
- build() - Method in class org.cryptacular.codec.Base64Encoder.Builder
-
Builds a base-64 encoder with the given options.
- build(char[]) - Method in class org.cryptacular.generator.AESP12Generator.PBES2OutputEncryptorBuilder
- Builder() - Constructor for class org.cryptacular.codec.Base64Decoder.Builder
- Builder() - Constructor for class org.cryptacular.codec.Base64Encoder.Builder
- ByteUtil - Class in org.cryptacular.util
-
Utilities for working with bytes.
- ByteUtil() - Constructor for class org.cryptacular.util.ByteUtil
-
Private constructor of utility class.
C
- certificate - Variable in class org.cryptacular.x509.dn.NameReader
-
Certificate to read.
- certificate - Variable in class org.cryptacular.x509.ExtensionReader
-
The X509Certificate whose extension fields will be read.
- CertificatePolicies - Enum constant in enum org.cryptacular.x509.ExtensionType
-
CertificatePolicies extension field.
- CertUtil - Class in org.cryptacular.util
-
Utility class providing convenience methods for common operations on X.509 certificates.
- CertUtil() - Constructor for class org.cryptacular.util.CertUtil
-
Private constructor of utility class.
- CertUtil.AbstractPemEncodeType - Class in org.cryptacular.util
-
Base implementation for PEM encoded types.
- CertUtil.DEREncodeType - Class in org.cryptacular.util
-
DER encode type.
- CertUtil.EncodeType<T> - Interface in org.cryptacular.util
-
Marker interface for encoding types.
- CertUtil.PKCS7EncodeType - Class in org.cryptacular.util
-
PKCS7 encode type.
- CertUtil.X500PrincipalFormat - Enum in org.cryptacular.util
-
Describes the behavior of string formatting of X.500 distinguished names.
- CertUtil.X509EncodeType - Class in org.cryptacular.util
-
X509 encode type.
- charactersPerLine - Variable in class org.cryptacular.codec.Base64Encoder.Builder
-
Number of base-64 characters per line in output.
- charset - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Encoding character set.
- charset - Variable in class org.cryptacular.generator.RandomIdGenerator
-
Identifier character set.
- CHUNK_SIZE - Static variable in class org.cryptacular.util.StreamUtil
-
Buffer size of chunked operations, e.g.
- ChunkHandler - Interface in org.cryptacular.io
-
Callback interface that supports arbitrary processing of data chunks read from an input stream.
- cipher - Variable in class org.cryptacular.generator.sp80038a.EncryptedNonce
-
Block cipher.
- cipher - Variable in class org.cryptacular.pbe.AbstractEncryptionScheme
-
Cipher used for encryption and decryption.
- CipherAdapter - Interface in org.cryptacular.adapter
-
Provides a consistent interface for cipher operations against dissimilar BC cipher types.
- CipherBean - Interface in org.cryptacular.bean
-
Bean that performs encryption/decryption using a symmetric cipher.
- cipherDelegate - Variable in class org.cryptacular.adapter.AEADBlockCipherAdapter
-
All methods delegate to this instance.
- cipherDelegate - Variable in class org.cryptacular.adapter.BufferedBlockCipherAdapter
-
All methods delegate to this instance.
- cipherSpec - Variable in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Cipher algorithm specification.
- cipherSpec - Variable in enum org.cryptacular.pbe.PBES1Algorithm
-
Cipher algorithm specification.
- cipherSpec - Variable in enum org.cryptacular.pbe.PBES2Algorithm
-
Cipher algorithm specification.
- CiphertextHeader - Class in org.cryptacular
-
Cleartext header prepended to ciphertext providing data required for decryption.
- CiphertextHeader(byte[], String) - Constructor for class org.cryptacular.CiphertextHeader
-
Creates a new instance with a nonce and named key.
- CiphertextHeader(byte[], String, Function<String, SecretKey>) - Constructor for class org.cryptacular.CiphertextHeader
-
Creates a new instance with a nonce, named key and key lookup.
- CipherUtil - Class in org.cryptacular.util
-
Utility class that performs encryption and decryption operations using a block cipher.
- CipherUtil() - Constructor for class org.cryptacular.util.CipherUtil
-
Private constructor of utility class.
- classLoader - Variable in class org.cryptacular.io.ClassPathResource
-
Class loader used to get input streams on classpath locations.
- classPath - Variable in class org.cryptacular.io.ClassPathResource
-
Classpath location of resource.
- ClassPathResource - Class in org.cryptacular.io
-
Resource that produces a
InputStreamfrom a classpath resource. - ClassPathResource(String) - Constructor for class org.cryptacular.io.ClassPathResource
-
Creates a new resource that reads from the given classpath location.
- ClassPathResource(String, ClassLoader) - Constructor for class org.cryptacular.io.ClassPathResource
-
Creates a new resource that reads from the given classpath location.
- close() - Method in class org.cryptacular.io.EncodingOutputStream
- closeReader(Reader) - Static method in class org.cryptacular.util.StreamUtil
-
Closes the given reader and swallows exceptions that may arise during the process.
- closeStream(InputStream) - Static method in class org.cryptacular.util.StreamUtil
-
Closes the given stream and swallows exceptions that may arise during the process.
- closeStream(OutputStream) - Static method in class org.cryptacular.util.StreamUtil
-
Closes the given stream and swallows exceptions that may arise during the process.
- closeWriter(Writer) - Static method in class org.cryptacular.util.StreamUtil
-
Closes the given writer and swallows exceptions that may arise during the process.
- Codec - Interface in org.cryptacular.codec
-
Container for an encoder/decoder pair.
- codecSpec - Variable in class org.cryptacular.bean.EncodingHashBean
-
Determines kind of encoding.
- CodecSpec - Class in org.cryptacular.spec
-
Describes a string-to-byte encoding and provides a means to create a new instance of the codec via the
CodecSpec.newInstance()method. - CodecSpec(String) - Constructor for class org.cryptacular.spec.CodecSpec
-
Creates a new instance of the given encoding.
- CodecUtil - Class in org.cryptacular.util
-
Utility class for common encoding conversions.
- CodecUtil() - Constructor for class org.cryptacular.util.CodecUtil
-
Private constructor of utility class.
- CommonName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
CN - RFC 4519 section 2.3.
- commonNames(CertificationRequest) - Static method in class org.cryptacular.util.CsrUtil
-
Gets all the common names from the subject of the certificate request.
- compare(byte[], Object...) - Method in class org.cryptacular.bean.SimpleHashBean
-
Compares a known hash value with the hash of the given data.
- compare(CharSequence, Object...) - Method in class org.cryptacular.bean.BCryptHashBean
-
Compares a bcrypt hash of the form
$2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyywith the computed hash from the given password. - compare(CharSequence, Object...) - Method in class org.cryptacular.bean.EncodingHashBean
-
Compares a known hash value with the hash of the given data.
- compare(T, Object...) - Method in interface org.cryptacular.bean.HashBean
-
Compares a known hash value with the hash of the given data.
- compareHash(Digest, byte[], int, Object...) - Static method in class org.cryptacular.util.HashUtil
-
Determines whether the hash of the given input equals a known value.
- compareHash(Digest, SaltedHash, int, boolean, Object...) - Static method in class org.cryptacular.util.HashUtil
-
Determines whether the salted hash of the given input equals a known hash value.
- compareInternal(byte[], Object...) - Method in class org.cryptacular.bean.AbstractHashBean
-
Compares the hash of the given data against a known hash output.
- computeLength() - Method in class org.cryptacular.CiphertextHeader
- concatenateSalt(boolean) - Method in class org.cryptacular.SaltedHash
-
Gets a byte array containing the concatenation of digest output and salt.
- concatenateSalt(boolean, Encoder) - Method in class org.cryptacular.SaltedHash
-
Gets an encoded string of the concatenation of digest output and salt.
- Constants - Class in org.cryptacular.pem
-
PEM constants.
- Constants() - Constructor for class org.cryptacular.pem.Constants
-
Default constructor
- Converter - Class in org.cryptacular.adapter
-
Static factory with methods to convert from BC type to the corresponding JCE type.
- Converter() - Constructor for class org.cryptacular.adapter.Converter
-
Private constructor of utility class.
- convertPrivateKey(AsymmetricKeyParameter) - Static method in class org.cryptacular.adapter.Converter
-
Produces a
PrivateKeyfrom a BC private key type. - convertPublicKey(AsymmetricKeyParameter) - Static method in class org.cryptacular.adapter.Converter
-
Produces a
PublicKeyfrom a BC public key type. - cost - Variable in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
bcrypt cost.
- costFactor - Variable in class org.cryptacular.bean.BCryptHashBean
-
BCrypt cost factor in the range [4, 31].
- count - Variable in class org.cryptacular.codec.HexDecoder
-
Number of encoded characters processed.
- count - Variable in class org.cryptacular.generator.sp80038d.CounterNonce
-
Invocation count.
- counter - Variable in class org.cryptacular.generator.sp80038a.BigIntegerCounterNonce
-
Counter.
- counter - Variable in class org.cryptacular.generator.sp80038a.LongCounterNonce
-
Counter.
- CounterNonce - Class in org.cryptacular.generator.sp80038d
-
Deterministic nonce generation strategy that uses a counter for the invocation field as described in NIST SP-800-38D, section 8.2.1.
- CounterNonce(byte[], long) - Constructor for class org.cryptacular.generator.sp80038d.CounterNonce
-
Creates a new instance.
- CounterNonce(int, long) - Constructor for class org.cryptacular.generator.sp80038d.CounterNonce
-
Creates a new instance.
- CounterNonce(long, long) - Constructor for class org.cryptacular.generator.sp80038d.CounterNonce
-
Creates a new instance.
- CounterNonce(String, long) - Constructor for class org.cryptacular.generator.sp80038d.CounterNonce
-
Creates a new instance.
- CountryName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
C - RFC 4519 section 2.2.
- critical - Variable in enum org.cryptacular.x509.ExtensionType
-
Whether this extension is critical according to RFC 2459.
- CRLDistributionPoints - Enum constant in enum org.cryptacular.x509.ExtensionType
-
CRLDistributionPoints extension field.
- CRLSign - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
cRLSign bit.
- CryptoException - Exception Class in org.cryptacular
-
Runtime error describing a generic cryptographic problem (e.g.
- CryptoException(String) - Constructor for exception class org.cryptacular.CryptoException
-
Creates a new instance with the given error message.
- CryptoException(String, Throwable) - Constructor for exception class org.cryptacular.CryptoException
-
Creates a new instance with the given error message and cause.
- CryptoException(Throwable) - Constructor for exception class org.cryptacular.CryptoException
-
Creates a new instance with the given cause.
- CryptUtil - Class in org.cryptacular
-
Provides utility methods for this package.
- CryptUtil() - Constructor for class org.cryptacular.CryptUtil
-
Default constructor.
- CsrUtil - Class in org.cryptacular.util
-
PKCS#10 certificate signing request (CSR) utilities.
- CsrUtil() - Constructor for class org.cryptacular.util.CsrUtil
-
Private constructor of utility class.
- currentTime - Variable in class org.cryptacular.generator.TOTPGenerator
-
Current system time.
- currentTime() - Method in class org.cryptacular.generator.TOTPGenerator
- customAlphabet - Variable in class org.cryptacular.codec.Base32Codec
-
Custom alphabet to use.
- customAlphabet - Variable in class org.cryptacular.codec.Base64Codec
-
Custom alphabet to use.
D
- DataEncipherment - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
dataEncipherment bit.
- dataEncryptorBuilder - Variable in class org.cryptacular.generator.LegacyP12Generator
-
Data encryptor builder.
- dataOutputEncryptor(char[]) - Method in class org.cryptacular.generator.AbstractP12Generator
-
Builds a new output encryptor that performs password-based encryption on encrypted data in the P12 file.
- dataOutputEncryptor(char[]) - Method in class org.cryptacular.generator.AESP12Generator
- dataOutputEncryptor(char[]) - Method in class org.cryptacular.generator.LegacyP12Generator
- DecipherOnly - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
decipherOnly bit.
- decode(byte[]) - Static method in class org.cryptacular.pem.PemObject
-
Decodes the supplied bytes into a
PemObject. - decode(byte[]) - Method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Produces an asymmetric key parameter from an encoded representation.
- decode(byte[]) - Static method in class org.cryptacular.util.PemUtil
-
Decodes a PEM-encoded cryptographic object into the raw bytes of its ASN.1 encoding.
- decode(byte[], Object...) - Method in class org.cryptacular.asn.AbstractPrivateKeyDecoder
- decode(byte[], Object...) - Method in interface org.cryptacular.asn.ASN1Decoder
-
Produces an object from an encoded representation.
- decode(byte[], Object...) - Method in class org.cryptacular.asn.PublicKeyDecoder
- decode(byte[], Function<String, SecretKey>) - Static method in class org.cryptacular.CiphertextHeader
-
Creates a header from encrypted data containing a cleartext header prepended to the start.
- decode(InputStream, Function<String, SecretKey>) - Static method in class org.cryptacular.CiphertextHeader
-
Creates a header from encrypted data containing a cleartext header prepended to the start.
- decode(String) - Method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Produces an asymmetric key parameter from an encoded representation.
- decode(String) - Static method in class org.cryptacular.util.PemUtil
-
Decodes one or more PEM-encoded cryptographic objects into the raw bytes of their ASN.1 encoding.
- decode(String, int) - Static method in class org.cryptacular.bean.BCryptHashBean
-
Decodes an input string into a byte array using the configured decoder.
- decode(CharBuffer, ByteBuffer) - Method in class org.cryptacular.codec.AbstractBaseNDecoder
- decode(CharBuffer, ByteBuffer) - Method in interface org.cryptacular.codec.Decoder
-
Decodes characters in input buffer into bytes placed in the output buffer.
- decode(CharBuffer, ByteBuffer) - Method in class org.cryptacular.codec.HexDecoder
- decode(Decoder, CharSequence) - Static method in class org.cryptacular.util.CodecUtil
-
Decodes the given encoded data using the given char-to-byte decoder.
- decodeASN1(byte[]) - Method in class org.cryptacular.asn.AbstractPrivateKeyDecoder
-
Decodes the given raw ASN.1 encoded data into a private key of the type supported by this class.
- decodeASN1(byte[]) - Method in class org.cryptacular.asn.OpenSSLPrivateKeyDecoder
- decodeASN1(byte[]) - Method in class org.cryptacular.asn.PKCS8PrivateKeyDecoder
- decodeCertificate(byte[]) - Static method in class org.cryptacular.util.CertUtil
-
Creates an X.509 certificate from its ASN.1 encoded form.
- decodeCertificateChain(byte[]) - Static method in class org.cryptacular.util.CertUtil
-
Creates an X.509 certificate chain from its ASN.1 encoded form.
- decodeCsr(byte[]) - Static method in class org.cryptacular.util.CsrUtil
-
Decodes DER-encoded PKCS#10 certificate signing request into a structured object.
- decodeCsr(String) - Static method in class org.cryptacular.util.CsrUtil
-
Decodes PEM-encoded PKCS#10 certificate signing request into a structured object.
- decodeHeader(byte[], Function<String, SecretKey>) - Static method in class org.cryptacular.util.CipherUtil
-
Decodes the ciphertext header at the start of the given byte array.
- decodeHeader(InputStream, Function<String, SecretKey>) - Static method in class org.cryptacular.util.CipherUtil
-
Decodes the ciphertext header at the start of the given input stream.
- decodeInternal(byte[]) - Method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Decode the supplied bytes for ssh-rsa and ssh-dss formats.
- decodeInternal(T, Function<String, SecretKey>, Function<T, Integer>, Function<T, Byte>, BiConsumer<T, byte[]>) - Static method in class org.cryptacular.CiphertextHeader
-
Internal header decoding routine.
- decodeMPInt(ByteBuffer) - Method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Decodes a mpint per RFC 4251, section 5 using the current position of the byte buffer.
- decodePrivateKey(byte[]) - Static method in class org.cryptacular.util.KeyPairUtil
-
Decodes an encoded private key in either PKCS#8 or OpenSSL "traditional" format in either DER or PEM encoding.
- decodePrivateKey(byte[], char[]) - Static method in class org.cryptacular.util.KeyPairUtil
-
Decodes an encrypted private key.
- decodePublicKey(byte[]) - Static method in class org.cryptacular.util.KeyPairUtil
-
Decodes public keys formatted in an X.509 SubjectPublicKeyInfo structure in either PEM or DER encoding.
- decoder - Variable in class org.cryptacular.codec.Base32Codec
-
Decoder.
- decoder - Variable in class org.cryptacular.codec.Base64Codec
-
Decoder.
- decoder - Variable in class org.cryptacular.codec.HexCodec
-
Decoder.
- decoder - Variable in class org.cryptacular.io.DecodingInputStream
-
Performs decoding.
- Decoder - Interface in org.cryptacular.codec
-
Describes a potentially stateful character-to-byte decoder.
- decodeString(ByteBuffer) - Method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Decodes a string value per RFC 4251, section 5 using the current position of the byte buffer.
- DECODING_TABLE - Static variable in class org.cryptacular.codec.Base32Decoder
-
Base-32 character decoding table.
- DECODING_TABLE - Static variable in class org.cryptacular.codec.HexDecoder
-
Hex character decoding table.
- DecodingInputStream - Class in org.cryptacular.io
-
Filters read bytes through a
Decodersuch that consumers obtain raw (decoded) bytes from read operations. - DecodingInputStream(InputStream, Decoder) - Constructor for class org.cryptacular.io.DecodingInputStream
-
Creates a new instance that wraps the given stream and performs decoding using the given encoder component.
- decodingTable - Variable in class org.cryptacular.codec.AbstractBaseNDecoder
-
Decoding table.
- decodingTable(String, int) - Static method in class org.cryptacular.codec.AbstractBaseNDecoder
-
Converts the given alphabet into a base-N decoding table.
- decrypt(byte[]) - Method in class org.cryptacular.bean.AbstractCipherBean
- decrypt(byte[]) - Method in interface org.cryptacular.bean.CipherBean
-
Decrypts the input data using a block cipher.
- decrypt(byte[]) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
- decrypt(byte[]) - Method in interface org.cryptacular.pbe.EncryptionScheme
-
Decrypts the given ciphertext into plaintext using the derived key.
- decrypt(InputStream, OutputStream) - Method in class org.cryptacular.bean.AbstractCipherBean
- decrypt(InputStream, OutputStream) - Method in class org.cryptacular.bean.AEADBlockCipherBean
- decrypt(InputStream, OutputStream) - Method in interface org.cryptacular.bean.CipherBean
-
Decrypts the data from the input stream onto the output stream using a symmetric cipher.
- decrypt(InputStream, OutputStream) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
- decrypt(InputStream, OutputStream) - Method in interface org.cryptacular.pbe.EncryptionScheme
-
Decrypts ciphertext from an input stream into plaintext in the output stream.
- decrypt(BlockCipher, SecretKey, byte[]) - Static method in class org.cryptacular.util.CipherUtil
-
Decrypts data using the given block cipher with PKCS5 padding.
- decrypt(BlockCipher, SecretKey, InputStream, OutputStream) - Static method in class org.cryptacular.util.CipherUtil
-
Decrypts data using the given block cipher with PKCS5 padding.
- decrypt(AEADBlockCipher, SecretKey, byte[]) - Static method in class org.cryptacular.util.CipherUtil
-
Decrypts data using an AEAD cipher.
- decrypt(AEADBlockCipher, SecretKey, InputStream, OutputStream) - Static method in class org.cryptacular.util.CipherUtil
-
Decrypts data using an AEAD cipher.
- decrypt(BlockCipherAdapter, byte[], int) - Static method in class org.cryptacular.util.CipherUtil
-
Decrypts the given data.
- decryptKey(byte[], char[]) - Method in class org.cryptacular.asn.AbstractPrivateKeyDecoder
-
Decrypts an encrypted key in either PKCS#8 or OpenSSL "traditional" format.
- decryptKey(byte[], char[]) - Method in class org.cryptacular.asn.OpenSSLPrivateKeyDecoder
- decryptKey(byte[], char[]) - Method in class org.cryptacular.asn.PKCS8PrivateKeyDecoder
- DEFAULT_CHARSET - Static variable in class org.cryptacular.generator.RandomIdGenerator
-
Default character set.
- DEFAULT_CHARSET - Static variable in class org.cryptacular.util.ByteUtil
-
Default character set for bytes is UTF-8.
- DEFAULT_COST - Static variable in class org.cryptacular.bean.BCryptHashBean
-
Default cost.
- DEFAULT_DECODING_TABLE - Static variable in class org.cryptacular.codec.Base64Decoder
-
Default base-64 character decoding table.
- DEFAULT_ENCODING_TABLE - Static variable in class org.cryptacular.codec.Base64Encoder
-
Default base 64 character encoding table.
- DEFAULT_LENGTH - Static variable in class org.cryptacular.generator.sp80038d.CounterNonce
-
Default nonce getLength is 12 bytes.
- DEFAULT_NUMBER_OF_DIGITS - Static variable in class org.cryptacular.generator.AbstractOTPGenerator
-
Default number of digits to generate.
- DEFAULT_START_TIME - Static variable in class org.cryptacular.generator.TOTPGenerator
-
Default start time.
- DEFAULT_TIME_STEP - Static variable in class org.cryptacular.generator.TOTPGenerator
-
Default time step.
- DEFAULT_TYPE - Static variable in class org.cryptacular.bean.KeyStoreFactoryBean
-
Default keystore type, "JCEKS".
- DEFAULT_VERSION - Static variable in class org.cryptacular.bean.BCryptHashBean
-
Default version.
- delegate - Variable in class org.cryptacular.adapter.AbstractWrappedKey
-
Wrapped key.
- delimit - Variable in class org.cryptacular.codec.HexEncoder
-
Flag indicating whether to delimit every two characters with ':' as in key fingerprints, etc.
- DER - Static variable in interface org.cryptacular.util.CertUtil.EncodeType
-
DER encode type.
- DEREncodeType() - Constructor for class org.cryptacular.util.CertUtil.DEREncodeType
- DES - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
DES CBC cipher.
- DES_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
DES in CBC mode.
- DES_EDE3_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Triple DES in CBC mode.
- Description - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
DESCRIPTION - RFC 4519 section 2.5.
- descriptor - Variable in class org.cryptacular.pem.PemObject
-
Descriptorfor this PEM object which includes the RFC governing its format and other relevant data about the data. - Descriptor - Class in org.cryptacular.pem
-
Descriptor for
PemObject - Descriptor(Format, String, String) - Constructor for class org.cryptacular.pem.Descriptor
-
Constructor with RFC format and explanatory text.
- DESede - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
3-DES CBC cipher.
- DIGEST_ID_TO_DIGEST_SPEC_MAP - Static variable in class org.cryptacular.generator.AESP12Generator
-
Map of digest algorithm identifiers to digest specifications.
- DIGEST_ID_TO_HMAC_ID_MAP - Static variable in class org.cryptacular.generator.AESP12Generator
-
Map of digest algorithm identifiers to HMAC algorithm IDs.
- digestAlgorithm - Variable in class org.cryptacular.generator.AESP12Generator
-
Digest algorithm used for all HMAC operations.
- digestSpec - Variable in class org.cryptacular.bean.AbstractHashBean
-
Digest specification.
- digestSpec - Variable in enum org.cryptacular.pbe.PBES1Algorithm
-
Pseudorandom function digest specification.
- DigestSpec - Class in org.cryptacular.spec
-
Describes a message digest function by name and provides a means to create a new instance of the digest via the
DigestSpec.newInstance()method. - DigestSpec(String) - Constructor for class org.cryptacular.spec.DigestSpec
-
Creates a new instance from the given algorithm name.
- DigestSpec(String, int) - Constructor for class org.cryptacular.spec.DigestSpec
-
Constructor for digests that have variable output size, e.g.
- digestSpecification - Variable in class org.cryptacular.generator.TOTPGenerator
-
Digest algorithm specification.
- DigitalSignature - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
digitalSignature bit.
- DirectoryName - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
directoryName choice element.
- DnQualifier - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
DNQUALIFIER - RFC 4519 section 2.8.
- DNSName - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
dNSName choice element.
- doFinal(byte[], int) - Method in class org.cryptacular.adapter.AEADBlockCipherAdapter
- doFinal(byte[], int) - Method in interface org.cryptacular.adapter.BlockCipherAdapter
-
Finish the encryption/decryption operation (e.g.
- doFinal(byte[], int) - Method in class org.cryptacular.adapter.BufferedBlockCipherAdapter
- DomainComponent - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
DC - RFC 4519 section 2.4.
E
- EdiPartyName - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
ediPartyName choice element.
- EmailAddress - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
Email address - PKCS#9 v2.0 section B.3.5.
- EncipherOnly - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
encipherOnly bit.
- encode() - Method in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
Produces an encoded bcrypt hash string from bcrypt parameter data.
- encode() - Method in class org.cryptacular.CiphertextHeader
-
Encodes the header into bytes.
- encode(byte[], int) - Static method in class org.cryptacular.bean.BCryptHashBean
-
Encodes an input byte array into a string using the configured encoder.
- encode(String) - Method in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
Produces an encoded bcrypt hash string from bcrypt parameters and a provided hash string.
- encode(String, StringBuilder) - Static method in class org.cryptacular.x509.dn.LdapNameFormatter
-
Appends the given value to the output using the HEX encoding method described in section 2.4.
- encode(ByteBuffer, CharBuffer) - Method in class org.cryptacular.codec.AbstractBaseNEncoder
- encode(ByteBuffer, CharBuffer) - Method in interface org.cryptacular.codec.Encoder
-
Encodes bytes in input buffer into characters placed in the output buffer.
- encode(ByteBuffer, CharBuffer) - Method in class org.cryptacular.codec.HexEncoder
- encode(X509Certificate) - Method in class org.cryptacular.util.CertUtil.DEREncodeType
- encode(X509Certificate) - Method in interface org.cryptacular.util.CertUtil.EncodeType
-
Encodes the supplied certificate.
- encode(X509Certificate) - Method in class org.cryptacular.util.CertUtil.PKCS7EncodeType
- encode(X509Certificate) - Method in class org.cryptacular.util.CertUtil.X509EncodeType
- encode(SecretKey) - Method in class org.cryptacular.CiphertextHeader
-
Encodes the header into bytes.
- encode(Encoder, byte[]) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes raw bytes using the given encoder.
- encodeCert(X509Certificate, CertUtil.EncodeType<T>) - Static method in class org.cryptacular.util.CertUtil
-
PEM encodes the given certificate with the provided encoding type.
- encodeCsr(PKCS10CertificationRequest) - Static method in class org.cryptacular.util.CsrUtil
-
Encodes a PKCS#10 certificate signing request to PEM-encoded string format.
- encodedKey - Variable in class org.cryptacular.bean.PemBasedPrivateKeyFactoryBean
-
PEM-encoded public key data.
- encodedKey - Variable in class org.cryptacular.bean.PemBasedPublicKeyFactoryBean
-
PEM-encoded public key data.
- encodePem(byte[]) - Method in class org.cryptacular.util.CertUtil.AbstractPemEncodeType
-
Returns a PEM encoding of the supplied DER bytes.
- encoder - Variable in class org.cryptacular.codec.Base32Codec
-
Encoder.
- encoder - Variable in class org.cryptacular.codec.Base64Codec
-
Encoder.
- encoder - Variable in class org.cryptacular.codec.HexCodec
-
Encoder.
- encoder - Variable in class org.cryptacular.io.EncodingOutputStream
-
Performs decoding.
- Encoder - Interface in org.cryptacular.codec
-
Describes a potentially stateful byte-to-character encoder.
- ENCODER - Static variable in class org.cryptacular.x509.dn.LdapNameFormatter
-
Handles hex encoding.
- encoding - Variable in class org.cryptacular.spec.CodecSpec
-
Name of encoding, e.g.
- ENCODING_TABLE - Static variable in class org.cryptacular.codec.Base32Encoder
-
Base 32 character encoding table.
- EncodingException - Exception Class in org.cryptacular
-
Runtime error describing an encoding problem of a cryptographic primitive (e.g.
- EncodingException(String) - Constructor for exception class org.cryptacular.EncodingException
-
Creates a new instance with the given error message.
- EncodingException(String, Throwable) - Constructor for exception class org.cryptacular.EncodingException
-
Creates a new instance with the given error message and cause.
- EncodingException(Throwable) - Constructor for exception class org.cryptacular.EncodingException
-
Creates a new instance with the given cause.
- EncodingHashBean - Class in org.cryptacular.bean
-
Computes a hash in an encoded format, e.g.
- EncodingHashBean(Spec<Codec>, Spec<Digest>) - Constructor for class org.cryptacular.bean.EncodingHashBean
-
Creates a new instance that will not be salted.
- EncodingHashBean(Spec<Codec>, Spec<Digest>, int) - Constructor for class org.cryptacular.bean.EncodingHashBean
-
Creates a new instance that will not be salted.
- EncodingHashBean(Spec<Codec>, Spec<Digest>, int, boolean) - Constructor for class org.cryptacular.bean.EncodingHashBean
-
Creates a new encoding hash bean.
- EncodingOutputStream - Class in org.cryptacular.io
-
Filters written bytes through an
Encodersuch that encoded data is written to the underlying output stream. - EncodingOutputStream(OutputStream, Encoder) - Constructor for class org.cryptacular.io.EncodingOutputStream
-
Creates a new instance that wraps the given stream and performs encoding using the given encoder component.
- encodingTable(String, int) - Static method in class org.cryptacular.codec.AbstractBaseNEncoder
-
Converts the given alphabet into a base-N encoding table.
- encrypt(byte[]) - Method in class org.cryptacular.bean.AbstractCipherBean
- encrypt(byte[]) - Method in interface org.cryptacular.bean.CipherBean
-
Encrypts the input data using a symmetric cipher.
- encrypt(byte[]) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
- encrypt(byte[]) - Method in interface org.cryptacular.pbe.EncryptionScheme
-
Encrypts the given plaintext bytes into a byte array of ciphertext using the derived key.
- encrypt(InputStream, OutputStream) - Method in class org.cryptacular.bean.AbstractCipherBean
- encrypt(InputStream, OutputStream) - Method in class org.cryptacular.bean.AEADBlockCipherBean
- encrypt(InputStream, OutputStream) - Method in interface org.cryptacular.bean.CipherBean
-
Encrypts the data from the input stream onto the output stream using a symmetric cipher.
- encrypt(InputStream, OutputStream) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
- encrypt(InputStream, OutputStream) - Method in interface org.cryptacular.pbe.EncryptionScheme
-
Encrypts the data in the given plaintext input stream into ciphertext in the output stream.
- encrypt(BlockCipher, SecretKey, Nonce, byte[]) - Static method in class org.cryptacular.util.CipherUtil
-
Encrypts data using the given block cipher with PKCS5 padding.
- encrypt(BlockCipher, SecretKey, Nonce, InputStream, OutputStream) - Static method in class org.cryptacular.util.CipherUtil
-
Encrypts data using the given block cipher with PKCS5 padding.
- encrypt(AEADBlockCipher, SecretKey, Nonce, byte[]) - Static method in class org.cryptacular.util.CipherUtil
-
Encrypts data using an AEAD cipher.
- encrypt(AEADBlockCipher, SecretKey, Nonce, InputStream, OutputStream) - Static method in class org.cryptacular.util.CipherUtil
-
Encrypts data using an AEAD cipher.
- encrypt(BlockCipherAdapter, byte[], byte[]) - Static method in class org.cryptacular.util.CipherUtil
-
Encrypts the given data.
- EncryptedNonce - Class in org.cryptacular.generator.sp80038a
-
Nonce generation strategy that produces a random value according to NIST SP-800-38a, appendix C, method 1 (encrypted nonce), suitable for use with any block cipher mode described in that standard except OFB.
- EncryptedNonce(BlockCipher, SecretKey) - Constructor for class org.cryptacular.generator.sp80038a.EncryptedNonce
-
Creates a new instance.
- EncryptedNonce(Spec<BlockCipher>, SecretKey) - Constructor for class org.cryptacular.generator.sp80038a.EncryptedNonce
-
Creates a new instance.
- encryptionAlg - Variable in class org.cryptacular.generator.AESP12Generator.PBES2OutputEncryptorBuilder
-
PBES2 encryption algorithm.
- EncryptionScheme - Interface in org.cryptacular.pbe
-
Describes a password-based encryption scheme.
- escape(String, StringBuilder) - Static method in class org.cryptacular.x509.dn.LdapNameFormatter
-
Appends the given value to the output with proper character escaping.
- ESCAPE_CHAR - Static variable in class org.cryptacular.x509.dn.LdapNameFormatter
-
Escape character.
- explanatoryText - Variable in class org.cryptacular.pem.Descriptor
-
Explanatory text prior to the encapsulation header as defined by RFC 7468 Section 5.2
- ExtendedKeyUsage - Enum constant in enum org.cryptacular.x509.ExtensionType
-
ExtendedKeyUsage extension field.
- ExtensionReader - Class in org.cryptacular.x509
-
Reads X.509v3 extended properties from an
X509Certificateobject. - ExtensionReader(X509Certificate) - Constructor for class org.cryptacular.x509.ExtensionReader
-
Creates a new instance that can read extension fields from the given X.509 certificate.
- ExtensionType - Enum in org.cryptacular.x509
-
Enumeration of X.509v3 extension fields defined in section 4.2 of RFC 2459.
- ExtensionType(String, boolean) - Constructor for enum org.cryptacular.x509.ExtensionType
-
Creates a new type with the given OID value.
F
- FactoryBean<T> - Interface in org.cryptacular.bean
-
Factory bean strategy interface.
- file - Variable in class org.cryptacular.io.FileResource
-
Underlying file resource.
- FileResource - Class in org.cryptacular.io
-
Resource that produces a buffered
FileInputStreamfrom a file. - FileResource(File) - Constructor for class org.cryptacular.io.FileResource
-
Creates a new file resource.
- finalize(ByteBuffer) - Method in class org.cryptacular.codec.AbstractBaseNDecoder
- finalize(ByteBuffer) - Method in interface org.cryptacular.codec.Decoder
-
Performs final output decoding (e.g.
- finalize(ByteBuffer) - Method in class org.cryptacular.codec.HexDecoder
- finalize(CharBuffer) - Method in class org.cryptacular.codec.AbstractBaseNEncoder
- finalize(CharBuffer) - Method in interface org.cryptacular.codec.Encoder
-
Performs final output encoding (e.g.
- finalize(CharBuffer) - Method in class org.cryptacular.codec.HexEncoder
- findEntityCertificate(PrivateKey, X509Certificate...) - Static method in class org.cryptacular.util.CertUtil
-
Finds a certificate whose public key is paired with the given private key.
- findEntityCertificate(PrivateKey, Collection<X509Certificate>) - Static method in class org.cryptacular.util.CertUtil
-
Finds a certificate whose public key is paired with the given private key.
- fixed - Variable in class org.cryptacular.generator.sp80038d.CounterNonce
-
Fixed field value.
- fixed - Variable in class org.cryptacular.generator.sp80038d.RBGNonce
-
Fixed field value.
- flush() - Method in class org.cryptacular.io.EncodingOutputStream
- format - Variable in class org.cryptacular.pem.Descriptor
-
The RFC PEM specification which governs the format of this PEM object.
- format(X500Principal) - Method in class org.cryptacular.x509.dn.LdapNameFormatter
- format(X500Principal) - Method in interface org.cryptacular.x509.dn.NameFormatter
-
Produces a string representation of the given X.500 principal.
- Format - Enum in org.cryptacular.pem
-
Enum to define the RFC governing the PEM format
- Format() - Constructor for enum org.cryptacular.pem.Format
- FORMAT - Static variable in class org.cryptacular.spec.AEADBlockCipherSpec
-
String specification format,
algorithm/mode. - FORMAT - Static variable in class org.cryptacular.spec.BufferedBlockCipherSpec
-
String specification format,
algorithm/mode/padding. - fromAlgorithmId(String) - Static method in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Converts an OID to the corresponding algorithm specification.
- fromName(String) - Static method in enum org.cryptacular.x509.dn.StandardAttributeType
-
Gets the attribute type whose name is the given string.
- fromName(String) - Static method in enum org.cryptacular.x509.ExtensionType
-
Gets the extension by name.
- fromOid(String) - Static method in enum org.cryptacular.pbe.PBES1Algorithm
-
Gets the PBE algorithm for the given object identifier.
- fromOid(String) - Static method in enum org.cryptacular.pbe.PBES2Algorithm
-
Gets the PBE algorithm for the given object identifier.
- fromOid(String) - Static method in enum org.cryptacular.x509.dn.StandardAttributeType
-
Gets the attribute type whose OID is the given string.
- fromOid(String) - Static method in enum org.cryptacular.x509.ExtensionType
-
Gets the extension by OID.
- fromTagNumber(int) - Static method in enum org.cryptacular.x509.GeneralNameType
-
Gets a name type from the value of the tag in the CHOICE element definition.
G
- GeneralNameType - Enum in org.cryptacular.x509
-
Representation of the options in the CHOICE element describing various categories of the
GeneralNametype defined in section 4.2.1.7 of RFC 2459. - GeneralNameType() - Constructor for enum org.cryptacular.x509.GeneralNameType
- generate() - Method in interface org.cryptacular.generator.IdGenerator
-
Generates a random identifier.
- generate() - Method in interface org.cryptacular.generator.Nonce
-
Generates a nonce value.
- generate() - Method in class org.cryptacular.generator.RandomIdGenerator
- generate() - Method in class org.cryptacular.generator.sp80038a.BigIntegerCounterNonce
- generate() - Method in class org.cryptacular.generator.sp80038a.EncryptedNonce
- generate() - Method in class org.cryptacular.generator.sp80038a.LongCounterNonce
- generate() - Method in class org.cryptacular.generator.sp80038a.RBGNonce
- generate() - Method in class org.cryptacular.generator.sp80038d.CounterNonce
- generate() - Method in class org.cryptacular.generator.sp80038d.RBGNonce
- generate(byte[]) - Method in class org.cryptacular.generator.TOTPGenerator
-
Generates the OTP given a per-user key.
- generate(byte[], long) - Method in class org.cryptacular.generator.HOTPGenerator
-
Generates the OTP given a per-user key and invocation count.
- generate(char[], PrivateKey, String, X509Certificate...) - Method in class org.cryptacular.generator.AbstractP12Generator
- generate(char[], PrivateKey, String, X509Certificate...) - Method in interface org.cryptacular.generator.P12Generator
-
Generates a PKCS12 container object that contains the given private key and certificates with the given alias.
- generate(char[], PrivateKey, X509Certificate...) - Method in class org.cryptacular.generator.AbstractP12Generator
- generate(char[], PrivateKey, X509Certificate...) - Method in interface org.cryptacular.generator.P12Generator
-
Generates a PKCS12 container object that contains the given private key and certificates.
- generate(int, BlockCipher) - Static method in class org.cryptacular.generator.SecretKeyGenerator
-
Generates a symmetric encryption key of the given length.
- generate(int, BlockCipher, SecureRandom) - Static method in class org.cryptacular.generator.SecretKeyGenerator
-
Generates a symmetric encryption key of the given length.
- generate(BlockCipher) - Static method in class org.cryptacular.generator.SecretKeyGenerator
-
Generates a symmetric encryption key whose size is equal to the cipher block size.
- generateCsr(KeyPair, String, String...) - Static method in class org.cryptacular.util.CsrUtil
-
Generates a CSR given a key pair, subject DN, and optional subject alternative names.
- generateDSA(SecureRandom, int) - Static method in class org.cryptacular.generator.KeyPairGenerator
-
Generates a DSA key pair.
- generateEC(SecureRandom, int) - Static method in class org.cryptacular.generator.KeyPairGenerator
-
Generates an EC key pair.
- generateEC(SecureRandom, String) - Static method in class org.cryptacular.generator.KeyPairGenerator
-
Generates an EC key pair.
- generateInternal(byte[], long) - Method in class org.cryptacular.generator.AbstractOTPGenerator
-
Internal OTP generation method.
- generateRSA(SecureRandom, int) - Static method in class org.cryptacular.generator.KeyPairGenerator
-
Generates an RSA key pair.
- generateX509Certificate(KeyPair, String, Duration, String) - Static method in class org.cryptacular.util.CertUtil
-
Generates a self-signed certificate.
- generateX509Certificate(KeyPair, String, Date, Date, String) - Static method in class org.cryptacular.util.CertUtil
-
Generates a self-signed certificate.
- GenerationQualifier - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
GenerationQualifier - RFC 4519 section 2.11.
- getAlgorithm() - Method in class org.cryptacular.adapter.AbstractWrappedDSAKey
- getAlgorithm() - Method in class org.cryptacular.adapter.AbstractWrappedECKey
- getAlgorithm() - Method in class org.cryptacular.adapter.AbstractWrappedRSAKey
- getAlgorithm() - Method in class org.cryptacular.bean.ResourceBasedSecretKeyFactoryBean
- getAlgorithm() - Method in class org.cryptacular.spec.AEADBlockCipherSpec
- getAlgorithm() - Method in class org.cryptacular.spec.BlockCipherSpec
- getAlgorithm() - Method in class org.cryptacular.spec.BufferedBlockCipherSpec
- getAlgorithm() - Method in class org.cryptacular.spec.CodecSpec
- getAlgorithm() - Method in class org.cryptacular.spec.DigestSpec
- getAlgorithm() - Method in interface org.cryptacular.spec.Spec
- getAlgorithm() - Method in class org.cryptacular.spec.StreamCipherSpec
- getAlgorithmId() - Method in enum org.cryptacular.pbe.OpenSSLAlgorithm
- getAlias() - Method in class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
- getAll() - Method in class org.cryptacular.x509.dn.Attributes
-
Gets an immutable list of attributes.
- getAttributes() - Method in class org.cryptacular.x509.dn.RDN
- getBitsPerChar() - Method in class org.cryptacular.codec.AbstractBaseNDecoder
- getBitsPerChar() - Method in class org.cryptacular.codec.AbstractBaseNEncoder
- getBitsPerChar() - Method in class org.cryptacular.codec.Base32Decoder
- getBitsPerChar() - Method in class org.cryptacular.codec.Base32Encoder
- getBitsPerChar() - Method in class org.cryptacular.codec.Base64Decoder
- getBitsPerChar() - Method in class org.cryptacular.codec.Base64Encoder
- getBlockCipherSpec() - Method in class org.cryptacular.bean.AEADBlockCipherBean
- getBlockCipherSpec() - Method in class org.cryptacular.bean.BufferedBlockCipherBean
- getBlockCipherSpec() - Method in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Gets the simple block cipher specification corresponding to this instance.
- getBlockLength() - Method in class org.cryptacular.codec.AbstractBaseNDecoder
- getBlockLength() - Method in class org.cryptacular.codec.AbstractBaseNEncoder
- getBlockLength() - Method in class org.cryptacular.codec.Base32Decoder
- getBlockLength() - Method in class org.cryptacular.codec.Base32Encoder
- getBlockLength() - Method in class org.cryptacular.codec.Base64Decoder
- getBlockLength() - Method in class org.cryptacular.codec.Base64Encoder
- getBlockSize() - Method in enum org.cryptacular.pbe.PBES2Algorithm
- getCipherSpec() - Method in enum org.cryptacular.pbe.OpenSSLAlgorithm
- getCipherSpec() - Method in enum org.cryptacular.pbe.PBES1Algorithm
- getCipherSpec() - Method in enum org.cryptacular.pbe.PBES2Algorithm
- getCodecSpec() - Method in class org.cryptacular.bean.EncodingHashBean
- getCost() - Method in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
- getCrtCoefficient() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getDecoder() - Method in class org.cryptacular.codec.Base32Codec
- getDecoder() - Method in class org.cryptacular.codec.Base64Codec
- getDecoder() - Method in interface org.cryptacular.codec.Codec
- getDecoder() - Method in class org.cryptacular.codec.HexCodec
- getDescriptor() - Method in class org.cryptacular.pem.PemObject
-
Returns descriptor on PEM object
- getDigest() - Method in class org.cryptacular.generator.AbstractOTPGenerator
- getDigest() - Method in class org.cryptacular.generator.HOTPGenerator
- getDigest() - Method in class org.cryptacular.generator.TOTPGenerator
- getDigestAlgorithmId() - Method in class org.cryptacular.generator.AbstractP12Generator
- getDigestAlgorithmId() - Method in class org.cryptacular.generator.AESP12Generator
- getDigestAlgorithmId() - Method in class org.cryptacular.generator.LegacyP12Generator
- getDigestSpec() - Method in class org.cryptacular.bean.AbstractHashBean
- getDigestSpec() - Method in class org.cryptacular.generator.AbstractP12Generator
- getDigestSpec() - Method in class org.cryptacular.generator.AESP12Generator
- getDigestSpec() - Method in class org.cryptacular.generator.LegacyP12Generator
- getDigestSpec() - Method in enum org.cryptacular.pbe.PBES1Algorithm
- getDigestSpecification() - Method in class org.cryptacular.generator.TOTPGenerator
- getEncoded() - Method in class org.cryptacular.adapter.AbstractWrappedKey
- getEncodedKey() - Method in class org.cryptacular.bean.PemBasedPrivateKeyFactoryBean
- getEncodedKey() - Method in class org.cryptacular.bean.PemBasedPublicKeyFactoryBean
- getEncoder() - Method in class org.cryptacular.codec.Base32Codec
- getEncoder() - Method in class org.cryptacular.codec.Base64Codec
- getEncoder() - Method in interface org.cryptacular.codec.Codec
- getEncoder() - Method in class org.cryptacular.codec.HexCodec
- getExplanatoryText() - Method in class org.cryptacular.pem.Descriptor
- getFormat() - Method in class org.cryptacular.adapter.AbstractWrappedKey
- getFormat() - Method in class org.cryptacular.pem.Descriptor
- getFormat(String, String, boolean) - Static method in class org.cryptacular.pem.PemParser
-
Determines the RFC governing the format of the PEM file based of the parameters provided.
- getHash() - Method in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
- getHash() - Method in class org.cryptacular.SaltedHash
- getInputStream() - Method in class org.cryptacular.io.ClassPathResource
- getInputStream() - Method in class org.cryptacular.io.FileResource
- getInputStream() - Method in interface org.cryptacular.io.Resource
-
Gets an input stream around the resource.
- getInputStream() - Method in class org.cryptacular.io.URLResource
- getInvocations() - Method in class org.cryptacular.generator.sp80038d.CounterNonce
- getIterations() - Method in class org.cryptacular.bean.AbstractHashBean
- getIterations() - Method in class org.cryptacular.generator.AbstractP12Generator
- getIterations() - Method in class org.cryptacular.generator.AESP12Generator
- getIterations() - Method in class org.cryptacular.generator.LegacyP12Generator
- getKeyAlias() - Method in class org.cryptacular.bean.AbstractCipherBean
- getKeyLength() - Method in class org.cryptacular.spec.KeyedBlockCipherSpec
-
Gets the cipher key length in bits.
- getKeyName() - Method in class org.cryptacular.CiphertextHeader
-
Gets the encryption key name stored in the header.
- getKeySize() - Method in enum org.cryptacular.pbe.PBES2Algorithm
- getKeyStore() - Method in class org.cryptacular.bean.AbstractCipherBean
- getKeyStore() - Method in class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
- getLength() - Method in class org.cryptacular.CiphertextHeader
-
Gets the header length in bytes.
- getLength() - Method in interface org.cryptacular.generator.Nonce
- getLength() - Method in class org.cryptacular.generator.sp80038a.BigIntegerCounterNonce
- getLength() - Method in class org.cryptacular.generator.sp80038a.EncryptedNonce
- getLength() - Method in class org.cryptacular.generator.sp80038a.LongCounterNonce
- getLength() - Method in class org.cryptacular.generator.sp80038a.RBGNonce
- getLength() - Method in class org.cryptacular.generator.sp80038d.CounterNonce
- getLength() - Method in class org.cryptacular.generator.sp80038d.RBGNonce
- getMask() - Method in enum org.cryptacular.x509.KeyUsageBits
- getMaxNonceLength() - Static method in class org.cryptacular.util.NonceUtil
-
Returns the maximum nonce length.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.cryptacular.util.ReflectUtil
-
Gets the method defined on the target class.
- getMode() - Method in class org.cryptacular.spec.AEADBlockCipherSpec
-
Gets the cipher mode.
- getMode() - Method in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Gets the cipher mode.
- getModulus() - Method in class org.cryptacular.adapter.AbstractWrappedRSAKey
- getName() - Method in interface org.cryptacular.x509.dn.AttributeType
- getName() - Method in enum org.cryptacular.x509.dn.StandardAttributeType
- getName() - Method in class org.cryptacular.x509.dn.UnknownAttributeType
- getNonce() - Method in class org.cryptacular.bean.AbstractCipherBean
- getNonce() - Method in class org.cryptacular.CiphertextHeader
-
Gets the bytes of the nonce/IV.
- getNumberOfDigits() - Method in class org.cryptacular.generator.AbstractOTPGenerator
- getOid() - Method in enum org.cryptacular.pbe.PBES1Algorithm
- getOid() - Method in enum org.cryptacular.pbe.PBES2Algorithm
- getOid() - Method in interface org.cryptacular.x509.dn.AttributeType
- getOid() - Method in enum org.cryptacular.x509.dn.StandardAttributeType
- getOid() - Method in class org.cryptacular.x509.dn.UnknownAttributeType
- getOid() - Method in enum org.cryptacular.x509.ExtensionType
- getOutputSize(int) - Method in class org.cryptacular.adapter.AEADBlockCipherAdapter
- getOutputSize(int) - Method in interface org.cryptacular.adapter.BlockCipherAdapter
-
Gets the size of the output buffer required to hold the output of an input buffer of the given size.
- getOutputSize(int) - Method in class org.cryptacular.adapter.BufferedBlockCipherAdapter
- getPadding() - Method in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Gets the cipher padding scheme.
- getPadding(String) - Static method in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Gets an instance of block cipher padding from a padding name string.
- getParams() - Method in class org.cryptacular.adapter.AbstractWrappedDSAKey
- getParams() - Method in class org.cryptacular.adapter.AbstractWrappedECKey
- getPemType(boolean, String) - Static method in class org.cryptacular.pem.PemParser
-
Returns the message type based on the marker format provided.
- getPrimeExponentP() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getPrimeExponentQ() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getPrimeP() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getPrimeQ() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getPrivateExponent() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getPublicExponent() - Method in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
- getPublicExponent() - Method in class org.cryptacular.adapter.WrappedRSAPublicKey
- getResource() - Method in class org.cryptacular.bean.KeyStoreFactoryBean
- getResource() - Method in class org.cryptacular.bean.ResourceBasedPrivateKeyFactoryBean
- getResource() - Method in class org.cryptacular.bean.ResourceBasedPublicKeyFactoryBean
- getResource() - Method in class org.cryptacular.bean.ResourceBasedSecretKeyFactoryBean
- getS() - Method in class org.cryptacular.adapter.WrappedECPrivateKey
- getSalt() - Method in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
- getSalt() - Method in class org.cryptacular.SaltedHash
- getSalt(int) - Method in class org.cryptacular.SaltedHash
-
Gets N bytes of salt.
- getSize() - Method in class org.cryptacular.spec.DigestSpec
- getStartTime() - Method in class org.cryptacular.generator.TOTPGenerator
- getTimeStep() - Method in class org.cryptacular.generator.TOTPGenerator
- getType() - Method in class org.cryptacular.bean.KeyStoreFactoryBean
- getType() - Method in class org.cryptacular.pem.Descriptor
- getType() - Method in class org.cryptacular.util.CertUtil.DEREncodeType
- getType() - Method in interface org.cryptacular.util.CertUtil.EncodeType
-
Returns the type of encoding.
- getType() - Method in class org.cryptacular.util.CertUtil.PKCS7EncodeType
- getType() - Method in class org.cryptacular.util.CertUtil.X509EncodeType
- getType() - Method in class org.cryptacular.x509.dn.Attribute
- getValue() - Method in class org.cryptacular.x509.dn.Attribute
- getValue(AttributeType) - Method in class org.cryptacular.x509.dn.Attributes
-
Gets the first value of the given type that appears in the attribute list.
- getValue(AttributeType) - Method in class org.cryptacular.x509.dn.RDNSequence
-
Gets the first value of the given type that appears in the attribute list of any RDN in the sequence.
- getValues(AttributeType) - Method in class org.cryptacular.x509.dn.Attributes
-
Gets an immutable list of all attributes of the given type.
- getValues(AttributeType) - Method in class org.cryptacular.x509.dn.RDNSequence
-
Gets an immutable list of all attributes of the given type.
- getVersion() - Method in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
- getW() - Method in class org.cryptacular.adapter.WrappedECPublicKey
- getX() - Method in class org.cryptacular.adapter.WrappedDSAPrivateKey
- getY() - Method in class org.cryptacular.adapter.WrappedDSAPublicKey
- GivenName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
GIVENNAME - RFC 4519 section 2.12.
H
- handle(byte[], int, int, OutputStream) - Method in interface org.cryptacular.io.ChunkHandler
-
Processes the given chunk of data and writes it to the output stream.
- hash - Variable in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
bcrypt hash.
- hash - Variable in class org.cryptacular.SaltedHash
-
Digest output.
- hash(Object...) - Method in class org.cryptacular.bean.BCryptHashBean
-
Compute a bcrypt hash of the form
$2n$cost$xxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyygiven a salt and a password. - hash(Object...) - Method in class org.cryptacular.bean.EncodingHashBean
-
Hashes the given data.
- hash(Object...) - Method in interface org.cryptacular.bean.HashBean
-
Hashes the given data.
- hash(Object...) - Method in class org.cryptacular.bean.SimpleHashBean
- hash(Digest, int, Object...) - Static method in class org.cryptacular.util.HashUtil
-
Computes the iterated hash of the given data using the given algorithm.
- hash(Digest, Object...) - Static method in class org.cryptacular.util.HashUtil
-
Computes the hash of the given data using the given algorithm.
- HashBean<T> - Interface in org.cryptacular.bean
-
Strategy interface to support beans that produce hash outputs in various formats, e.g.
- hashInternal(Object...) - Method in class org.cryptacular.bean.AbstractHashBean
-
Hashes the given data.
- hashStream(Digest, InputStream) - Static method in class org.cryptacular.util.HashUtil
-
Digests the data in the given stream.
- HashUtil - Class in org.cryptacular.util
-
Utility class for computing cryptographic hashes.
- HashUtil() - Constructor for class org.cryptacular.util.HashUtil
-
Private constructor of utility class.
- hasPolicies(X509Certificate, String...) - Static method in class org.cryptacular.util.CertUtil
-
Determines whether the certificate defines all the given certificate policies.
- header() - Method in class org.cryptacular.bean.AbstractCipherBean
- hex(byte[]) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes raw bytes to the equivalent hexadecimal encoded string.
- hex(byte[], boolean) - Static method in class org.cryptacular.util.CodecUtil
-
Encodes raw bytes to the equivalent hexadecimal encoded string with optional delimiting of output.
- hex(InputStream) - Static method in class org.cryptacular.io.DecodingInputStream
-
Creates a new instance that decodes hexadecimal input from the given stream.
- hex(OutputStream) - Static method in class org.cryptacular.io.EncodingOutputStream
-
Creates a new instance that produces hexadecimal output in the given stream.
- hex(CharSequence) - Static method in class org.cryptacular.util.CodecUtil
-
Decodes a hexadecimal encoded string to raw bytes.
- HEX - Static variable in class org.cryptacular.spec.CodecSpec
-
Hexadecimal encoding specification.
- HEX_LOWER - Static variable in class org.cryptacular.spec.CodecSpec
-
Lowercase hexadecimal encoding specification.
- HEX_UPPER - Static variable in class org.cryptacular.spec.CodecSpec
-
Uppercase hexadecimal encoding specification.
- HexCodec - Class in org.cryptacular.codec
-
Hexadecimal encoder/decoder pair.
- HexCodec() - Constructor for class org.cryptacular.codec.HexCodec
-
Creates a new instance that outputs lowercase hex characters and supports decoding in either case.
- HexCodec(boolean) - Constructor for class org.cryptacular.codec.HexCodec
-
Creates a new instance that optionally outputs uppercase hex characters and supports decoding in either case.
- HexDecoder - Class in org.cryptacular.codec
-
Stateful hexadecimal character-to-byte decoder.
- HexDecoder() - Constructor for class org.cryptacular.codec.HexDecoder
- HexEncoder - Class in org.cryptacular.codec
-
Stateless hexadecimal byte-to-character encoder.
- HexEncoder() - Constructor for class org.cryptacular.codec.HexEncoder
-
Creates a new instance that does not delimit bytes in the output hex string.
- HexEncoder(boolean) - Constructor for class org.cryptacular.codec.HexEncoder
-
Creates a new instance with optional colon-delimiting of bytes.
- HexEncoder(boolean, boolean) - Constructor for class org.cryptacular.codec.HexEncoder
-
Creates a new instance with optional colon-delimiting of bytes and uppercase output.
- hmac(byte[], int, int) - Static method in class org.cryptacular.CiphertextHeader
-
Generates an HMAC-256 over the given input byte array.
- HMAC_ID_TO_DIGEST_SPEC_MAP - Static variable in class org.cryptacular.pbe.PBES2EncryptionScheme
-
Map of HMAC algorithm identifiers to digest specifications.
- HMAC_SIZE - Static variable in class org.cryptacular.CiphertextHeader
-
Size of HMAC algorithm output in bytes.
- HOTPGenerator - Class in org.cryptacular.generator
-
OTP generator component that implements the HOTP scheme described in RFC 4226.
- HOTPGenerator() - Constructor for class org.cryptacular.generator.HOTPGenerator
-
Creates a new HOTP generator.
- HOTPGenerator(int) - Constructor for class org.cryptacular.generator.HOTPGenerator
-
Creates a new HOTP generator.
I
- IdGenerator - Interface in org.cryptacular.generator
-
Generation strategy for random identifiers.
- init(boolean, CipherParameters) - Method in class org.cryptacular.adapter.AEADBlockCipherAdapter
- init(boolean, CipherParameters) - Method in class org.cryptacular.adapter.BufferedBlockCipherAdapter
- init(boolean, CipherParameters) - Method in interface org.cryptacular.adapter.CipherAdapter
-
Initialize the underlying cipher.
- initCipher(PKCS5S2ParametersGenerator, EncryptionScheme) - Method in class org.cryptacular.pbe.PBES2EncryptionScheme
-
Initializes the block cipher and sets up its initialization parameters.
- initialBitMask - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Initial bit mask for selecting characters in a block.
- Initials - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
INITIALS - RFC 4519 section 2.14.
- initTable(String, char[]) - Static method in class org.cryptacular.codec.HexEncoder
-
Initializes the encoding table for the given character set.
- input - Variable in class org.cryptacular.io.DecodingInputStream
-
Holds input bytes as characters.
- invoke(Object, Method, Object...) - Static method in class org.cryptacular.util.ReflectUtil
-
Invokes the method on the target object with the given parameters.
- IPAddress - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
iPAddress choice element.
- isBase64Char(byte) - Static method in class org.cryptacular.util.PemUtil
-
Determines whether the given byte represents an ASCII character in the character set for base64 encoding.
- isCritical() - Method in enum org.cryptacular.x509.ExtensionType
- isKeyPair(DSAPublicKey, DSAPrivateKey) - Static method in class org.cryptacular.util.KeyPairUtil
-
Determines whether the given DSA public and private keys form a proper key pair by computing and verifying a digital signature with the keys.
- isKeyPair(ECPublicKey, ECPrivateKey) - Static method in class org.cryptacular.util.KeyPairUtil
-
Determines whether the given EC public and private keys form a proper key pair by computing and verifying a digital signature with the keys.
- isKeyPair(RSAPublicKey, RSAPrivateKey) - Static method in class org.cryptacular.util.KeyPairUtil
-
Determines whether the given RSA public and private keys form a proper key pair by computing and verifying a digital signature with the keys.
- isKeyPair(PublicKey, PrivateKey) - Static method in class org.cryptacular.util.KeyPairUtil
-
Determines whether the given public and private keys form a proper key pair by computing and verifying a digital signature with the keys.
- isPaddedInput() - Method in class org.cryptacular.codec.AbstractBaseNDecoder
- isPaddedOutput() - Method in class org.cryptacular.codec.AbstractBaseNEncoder
- isPem(byte[]) - Static method in class org.cryptacular.util.PemUtil
-
Determines whether the data in the given byte array is base64-encoded data of PEM encoding.
- isRFC4253EncodedPublicKey(byte[]) - Static method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Attempts to infer whether the encoded bytes contain an SSH public key.
- isRFC4253EncodedPublicKey(String) - Static method in class org.cryptacular.ssh.SSHPublicKeyDecoder
-
Attempts to infer whether the encoded bytes contain an SSH public key.
- isSalted() - Method in class org.cryptacular.bean.EncodingHashBean
-
Whether data provided to
EncodingHashBean.hash(Object...)includes a salt as the last parameter. - isSet(byte[]) - Method in enum org.cryptacular.x509.KeyUsageBits
-
Determines whether this key usage bit is set in the given key usage bit string.
- isSet(int) - Method in enum org.cryptacular.x509.KeyUsageBits
-
Determines whether this key usage bit is set in the given key usage bit string.
- isSet(KeyUsage) - Method in enum org.cryptacular.x509.KeyUsageBits
-
Determines whether this key usage bit is set in the given key usage value.
- IssuerAlternativeName - Enum constant in enum org.cryptacular.x509.ExtensionType
-
IssuerAlternativeName extension field.
- iterations - Variable in class org.cryptacular.bean.AbstractHashBean
-
Number of hash rounds.
- iterations - Variable in class org.cryptacular.generator.LegacyP12Generator
-
Number of hashing rounds.
- iterator() - Method in class org.cryptacular.x509.dn.Attributes
- iterator() - Method in class org.cryptacular.x509.dn.RDNSequence
- IV_LENGTH - Static variable in class org.cryptacular.pbe.PBES1EncryptionScheme
-
Number of bits IV.
K
- key - Variable in class org.cryptacular.generator.sp80038a.EncryptedNonce
-
Encryption key.
- KEY_LENGTH - Static variable in class org.cryptacular.pbe.PBES1EncryptionScheme
-
Number of bits in derived key.
- KeyAgreement - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
keyAgreement bit.
- keyAlias - Variable in class org.cryptacular.bean.AbstractCipherBean
-
Keystore entry for alias of current key.
- KeyCertSign - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
keyCertSign bit.
- KeyedBlockCipherSpec - Class in org.cryptacular.spec
-
Describes a block cipher algorithm with a known key size.
- KeyedBlockCipherSpec(String, String, String, int) - Constructor for class org.cryptacular.spec.KeyedBlockCipherSpec
-
Creates a new instance from the given cipher specifications.
- KeyEncipherment - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
keyEncipherment bit.
- keyEncryptorBuilder - Variable in class org.cryptacular.generator.LegacyP12Generator
-
Key encryptor builder.
- keyLength - Variable in class org.cryptacular.pbe.PBES2EncryptionScheme
-
Size of derived key in bits.
- keyLength - Variable in class org.cryptacular.spec.KeyedBlockCipherSpec
-
Key length in bits.
- keyLength(CertificationRequest) - Static method in class org.cryptacular.util.CsrUtil
-
Gets the size in bits of the public key in the CSR.
- keyLookup - Variable in class org.cryptacular.CiphertextHeader
-
Function to resolve a key from a symbolic key name.
- keyName - Variable in class org.cryptacular.CiphertextHeader
-
Header key name field value.
- keyOutputEncryptor(char[]) - Method in class org.cryptacular.generator.AbstractP12Generator
-
Builds a new output encryptor that performs password-based encryption on keys in the P12 file.
- keyOutputEncryptor(char[]) - Method in class org.cryptacular.generator.AESP12Generator
- keyOutputEncryptor(char[]) - Method in class org.cryptacular.generator.LegacyP12Generator
- KeyPairGenerator - Class in org.cryptacular.generator
-
Static factory that generates various types of asymmetric key pairs.
- KeyPairGenerator() - Constructor for class org.cryptacular.generator.KeyPairGenerator
-
Private constructor of static factory.
- KeyPairUtil - Class in org.cryptacular.util
-
Utility methods for public/private key pairs used for asymmetric encryption.
- KeyPairUtil() - Constructor for class org.cryptacular.util.KeyPairUtil
-
Private constructor of utility class.
- keyPassword - Variable in class org.cryptacular.bean.AbstractCipherBean
-
Password on private key entry.
- keySize - Variable in enum org.cryptacular.pbe.PBES2Algorithm
-
Cipher key size in bits.
- keyStore - Variable in class org.cryptacular.bean.AbstractCipherBean
-
Keystore containing symmetric key(s).
- keyStore - Variable in class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
-
Keystore containing secret key.
- KeyStoreBasedKeyFactoryBean<T> - Class in org.cryptacular.bean
-
Factory that produces either a
SecretKeyorPrivateKey. - KeyStoreBasedKeyFactoryBean(KeyStore, String, String) - Constructor for class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
-
Creates a new keystore based key factory bean.
- KeyStoreFactoryBean - Class in org.cryptacular.bean
-
Factory bean that produces a
KeyStorefrom a file or URI. - KeyStoreFactoryBean(Resource, String) - Constructor for class org.cryptacular.bean.KeyStoreFactoryBean
-
Creates a new keystore factory bean.
- KeyStoreFactoryBean(Resource, String, String) - Constructor for class org.cryptacular.bean.KeyStoreFactoryBean
-
Creates a new keystore factory bean.
- KeyUsage - Enum constant in enum org.cryptacular.x509.ExtensionType
-
KeyUsage extension field.
- KeyUsageBits - Enum in org.cryptacular.x509
-
Representation of the bit meanings in the
KeyUsageBIT STRING type defined in section 4.2.1.3 of RFC 2459. - KeyUsageBits(int) - Constructor for enum org.cryptacular.x509.KeyUsageBits
-
Creates a bit flag with the given bit mask offset.
L
- LC_ENCODING_TABLE - Static variable in class org.cryptacular.codec.HexEncoder
-
Lowercase hex character encoding table.
- LdapNameFormatter - Class in org.cryptacular.x509.dn
-
Produces a string representation of an X.500 distinguished name using the process described in section 2 of RFC 2253, LADPv3 Distinguished Names.
- LdapNameFormatter() - Constructor for class org.cryptacular.x509.dn.LdapNameFormatter
- LegacyP12Generator - Class in org.cryptacular.generator
-
Generates PKCS12 containers using DES3+SHA1 for private keys and 40-bit RC2+SHA1 for encrypted data.
- LegacyP12Generator() - Constructor for class org.cryptacular.generator.LegacyP12Generator
-
Creates a new instance that encrypts with 1024 rounds of hashing.
- LegacyP12Generator(int) - Constructor for class org.cryptacular.generator.LegacyP12Generator
-
Creates a new instance that encrypts with the given number of hashing rounds.
- length - Variable in class org.cryptacular.CiphertextHeader
-
Header length in bytes.
- length - Variable in class org.cryptacular.generator.RandomIdGenerator
-
Size of generated identifiers.
- length - Variable in class org.cryptacular.generator.sp80038a.BigIntegerCounterNonce
-
Length of generated counter nonce values in bytes.
- length - Variable in class org.cryptacular.generator.sp80038a.RBGNonce
-
Length of generated nonces.
- length(PrivateKey) - Static method in class org.cryptacular.util.KeyPairUtil
-
Gets the length in bits of a private key where key size is dependent on the particulars of the algorithm.
- length(PublicKey) - Static method in class org.cryptacular.util.KeyPairUtil
-
Gets the length in bits of a public key where key size is dependent on the particulars of the algorithm.
- LimitException - Exception Class in org.cryptacular.generator
-
Runtime exception that describes a condition where some fundamental limit imposed by the implementation or specification of a generator has been exceeded.
- LimitException(String) - Constructor for exception class org.cryptacular.generator.LimitException
-
Creates a new instance with the given error description.
- LimitException(String, Throwable) - Constructor for exception class org.cryptacular.generator.LimitException
-
Creates a new instance with the given error message and cause.
- LimitException(Throwable) - Constructor for exception class org.cryptacular.generator.LimitException
-
Creates a new instance with the given cause.
- LINE_SPLITTER - Static variable in class org.cryptacular.util.PemUtil
-
Pattern used to a file by line terminator.
- lineLength - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Number of base64 characters per line.
- LocalityName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
L - RFC 4519 section 2.16.
- LongCounterNonce - Class in org.cryptacular.generator.sp80038a
-
Simple counter nonce that uses a long integer counter internally and produces 8-byte nonces.
- LongCounterNonce() - Constructor for class org.cryptacular.generator.sp80038a.LongCounterNonce
-
Creates a new instance whose counter values start at 1.
- LongCounterNonce(long) - Constructor for class org.cryptacular.generator.sp80038a.LongCounterNonce
-
Creates a new instance whose counter values start above the given value.
- lookup(char) - Static method in class org.cryptacular.codec.HexDecoder
-
Looks up the byte that corresponds to the given character.
- lookupKey(String) - Method in class org.cryptacular.bean.AbstractCipherBean
-
Looks up secret key entry in the
AbstractCipherBean.keyStore.
M
- MAC_SIZE_BITS - Static variable in class org.cryptacular.bean.AEADBlockCipherBean
-
Mac size in bits.
- MAC_SIZE_BITS - Static variable in class org.cryptacular.util.CipherUtil
-
Mac size in bits.
- Mail - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
MAIL - RFC 4524 section 2.16.
- makeReader(File) - Static method in class org.cryptacular.util.StreamUtil
-
Creates a reader around the given file that presumably contains character data.
- makeStream(File) - Static method in class org.cryptacular.util.StreamUtil
-
Creates an input stream around the given file.
- MAX_ID_LENGTH - Static variable in class org.cryptacular.generator.RandomIdGenerator
-
Maximum length of ID to generate in bytes.
- MAX_INVOCATIONS - Static variable in class org.cryptacular.generator.sp80038d.CounterNonce
-
Maximum invocations is 232.
- MAX_KEY_LENGTH - Static variable in class org.cryptacular.generator.SecretKeyGenerator
-
Maximum length of secret keys in bits to generate in bits.
- MAX_KEYNAME_LEN - Static variable in class org.cryptacular.CiphertextHeader
-
Maximum key name length in bytes.
- MAX_NONCE_LEN - Static variable in class org.cryptacular.CiphertextHeader
-
Maximum nonce length in bytes.
- MAX_NONCE_LENGTH - Static variable in class org.cryptacular.util.NonceUtil
-
Maximum length of nonce to generate in bytes.
- MAX_SALT_LENGTH - Static variable in class org.cryptacular.SaltedHash
-
Maximum salt length in bytes.
- MAX_TAG_NUMBER - Static variable in enum org.cryptacular.x509.GeneralNameType
-
Maximum tag number for items in CHOICE definition.
- METHOD_CACHE - Static variable in class org.cryptacular.util.ReflectUtil
-
Method cache.
- MIN_TAG_NUMBER - Static variable in enum org.cryptacular.x509.GeneralNameType
-
Minimum tag number for items in CHOICE definition.
- mode - Variable in class org.cryptacular.spec.AEADBlockCipherSpec
-
Cipher mode, e.g.
- mode - Variable in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Cipher mode, e.g.
- MODULUS - Static variable in class org.cryptacular.generator.AbstractOTPGenerator
-
Array of modulus values indexed per number of digits in OTP output.
N
- name - Variable in enum org.cryptacular.x509.dn.StandardAttributeType
-
Display string of the type in an RDN.
- Name - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
NAME - RFC 4519 section 2.18.
- NameConstraints - Enum constant in enum org.cryptacular.x509.ExtensionType
-
NameConstraints extension field.
- NameFormatter - Interface in org.cryptacular.x509.dn
-
Strategy pattern interface for producing a string representation of an X.500 distinguished name.
- NameReader - Class in org.cryptacular.x509.dn
-
Reads X.509 subject and issuer DNs as a raw sequence of attributes to facilitate precise handling of name parsing.
- NameReader(X509Certificate) - Constructor for class org.cryptacular.x509.dn.NameReader
-
Creates a new instance to support reading subject and issuer information on the given certificate.
- newCipher(CiphertextHeader, boolean) - Method in class org.cryptacular.bean.AbstractBlockCipherBean
-
Creates a new cipher adapter instance suitable for the block cipher used by this class.
- newCipher(CiphertextHeader, boolean) - Method in class org.cryptacular.bean.AEADBlockCipherBean
- newCipher(CiphertextHeader, boolean) - Method in class org.cryptacular.bean.BufferedBlockCipherBean
- newDecoder() - Method in class org.cryptacular.codec.Base32Codec
- newDecoder() - Method in class org.cryptacular.codec.Base64Codec
- newDecoder() - Method in interface org.cryptacular.codec.Codec
- newDecoder() - Method in class org.cryptacular.codec.HexCodec
- newEncoder() - Method in class org.cryptacular.codec.Base32Codec
- newEncoder() - Method in class org.cryptacular.codec.Base64Codec
- newEncoder() - Method in interface org.cryptacular.codec.Codec
- newEncoder() - Method in class org.cryptacular.codec.HexCodec
- newInstance() - Method in interface org.cryptacular.bean.FactoryBean
- newInstance() - Method in class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
- newInstance() - Method in class org.cryptacular.bean.KeyStoreFactoryBean
- newInstance() - Method in class org.cryptacular.bean.PemBasedPrivateKeyFactoryBean
- newInstance() - Method in class org.cryptacular.bean.PemBasedPublicKeyFactoryBean
- newInstance() - Method in class org.cryptacular.bean.ResourceBasedPrivateKeyFactoryBean
- newInstance() - Method in class org.cryptacular.bean.ResourceBasedPublicKeyFactoryBean
- newInstance() - Method in class org.cryptacular.bean.ResourceBasedSecretKeyFactoryBean
- newInstance() - Method in class org.cryptacular.spec.AEADBlockCipherSpec
-
Creates a new AEAD block cipher from the specification in this instance.
- newInstance() - Method in class org.cryptacular.spec.BlockCipherSpec
- newInstance() - Method in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Creates a new buffered block cipher from the specification in this instance.
- newInstance() - Method in class org.cryptacular.spec.CodecSpec
- newInstance() - Method in class org.cryptacular.spec.DigestSpec
-
Creates a new digest instance.
- newInstance() - Method in interface org.cryptacular.spec.Spec
-
Creates a new instance of the cryptographic primitive described by this specification.
- newInstance() - Method in class org.cryptacular.spec.StreamCipherSpec
- NEWLINE - Static variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Platform-specific line terminator string, e.g.
- newRBG(int) - Static method in class org.cryptacular.util.NonceUtil
-
Creates a new DRBG instance based on a SHA-256 digest.
- newRBG(int, byte[]) - Static method in class org.cryptacular.generator.sp80038d.RBGNonce
-
Creates a new DRBG instance.
- newRBG(Digest, int) - Static method in class org.cryptacular.util.NonceUtil
-
Creates a new hash-based DRBG instance that uses the given digest as the pseudorandom source.
- newRBG(Digest, int, EntropySource) - Static method in class org.cryptacular.util.NonceUtil
-
Creates a new hash-based DRBG instance that uses the given digest as the pseudorandom source.
- nist80038d(int) - Static method in class org.cryptacular.util.NonceUtil
-
Generates a nonce/IV using the strategy described in NIST SP-800-38d, section 8.2.2, "RBG-based Construction".
- nist80063a(BlockCipher) - Static method in class org.cryptacular.util.NonceUtil
-
Generates a random IV according to NIST SP-800-63a, appendix C, method 2 (pseudorandom), suitable for use with any block cipher mode described in that standard.
- nist80063a(BlockCipher, SecretKey) - Static method in class org.cryptacular.util.NonceUtil
-
Generates a random IV according to NIST SP-800-63a, appendix C, method 1 (encrypted nonce), suitable for use with any block cipher mode described in that standard.
- nist80063a(SP800SecureRandom, int) - Static method in class org.cryptacular.util.NonceUtil
-
Generates a random IV according to NIST SP-800-63a, appendix C, method 2 (pseudorandom), suitable for use with any block cipher mode described in that standard.
- nonce - Variable in class org.cryptacular.bean.AbstractCipherBean
-
Nonce generator.
- nonce - Variable in class org.cryptacular.CiphertextHeader
-
Header nonce field value.
- Nonce - Interface in org.cryptacular.generator
-
Nonce generation strategy.
- NonceUtil - Class in org.cryptacular.util
-
Utility class for generating secure nonce and initialization vectors.
- NonceUtil() - Constructor for class org.cryptacular.util.NonceUtil
-
Private constructor of utility class.
- NonRepudiation - Enum constant in enum org.cryptacular.x509.KeyUsageBits
-
nonRepudiation bit.
- numberOfDigits - Variable in class org.cryptacular.generator.AbstractOTPGenerator
-
Number of digits in generated OTP.
O
- offset - Variable in enum org.cryptacular.x509.KeyUsageBits
-
Bit mask offset.
- oid - Variable in enum org.cryptacular.pbe.PBES1Algorithm
-
Algorithm identifier OID.
- oid - Variable in enum org.cryptacular.pbe.PBES2Algorithm
-
Algorithm identifier OID.
- oid - Variable in enum org.cryptacular.x509.dn.StandardAttributeType
-
OID of RDN attribute type.
- oid - Variable in class org.cryptacular.x509.dn.UnknownAttributeType
-
Attribute type OID.
- oid - Variable in enum org.cryptacular.x509.ExtensionType
-
Oid value.
- OpenSSLAlgorithm - Enum in org.cryptacular.pbe
-
Describes block ciphers allowed with the OpenSSL password-based encryption scheme.
- OpenSSLAlgorithm(String, KeyedBlockCipherSpec) - Constructor for enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Creates a new instance with given parameters.
- OpenSSLEncryptionScheme - Class in org.cryptacular.pbe
-
Password-based encryption scheme used by OpenSSL for encrypting private keys.
- OpenSSLEncryptionScheme(BufferedBlockCipher, byte[], int, char[]) - Constructor for class org.cryptacular.pbe.OpenSSLEncryptionScheme
-
Creates a new instance using the given parameters.
- OpenSSLEncryptionScheme(OpenSSLAlgorithm, byte[], char[]) - Constructor for class org.cryptacular.pbe.OpenSSLEncryptionScheme
-
Creates a new instance from an algorithm and salt data.
- OpenSSLPrivateKeyDecoder - Class in org.cryptacular.asn
-
Decrypts PEM-encoded OpenSSL "traditional" format private keys.
- OpenSSLPrivateKeyDecoder() - Constructor for class org.cryptacular.asn.OpenSSLPrivateKeyDecoder
- org.cryptacular - package org.cryptacular
- org.cryptacular.adapter - package org.cryptacular.adapter
- org.cryptacular.asn - package org.cryptacular.asn
- org.cryptacular.bean - package org.cryptacular.bean
- org.cryptacular.codec - package org.cryptacular.codec
- org.cryptacular.generator - package org.cryptacular.generator
- org.cryptacular.generator.sp80038a - package org.cryptacular.generator.sp80038a
- org.cryptacular.generator.sp80038d - package org.cryptacular.generator.sp80038d
- org.cryptacular.io - package org.cryptacular.io
- org.cryptacular.pbe - package org.cryptacular.pbe
- org.cryptacular.pem - package org.cryptacular.pem
- org.cryptacular.spec - package org.cryptacular.spec
- org.cryptacular.ssh - package org.cryptacular.ssh
- org.cryptacular.util - package org.cryptacular.util
- org.cryptacular.x509 - package org.cryptacular.x509
- org.cryptacular.x509.dn - package org.cryptacular.x509.dn
- OrganizationalUnitName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
OU - RFC 4519 section 2.20.
- OrganizationName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
O - RFC 4519 section 2.19.
- OtherName - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
otherName choice element.
- outCount - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Number of characters written.
- output - Variable in class org.cryptacular.io.DecodingInputStream
-
Receives decoding result.
- output - Variable in class org.cryptacular.io.EncodingOutputStream
-
Receives encoding result.
- outputEncryptorBuilder - Variable in class org.cryptacular.generator.AESP12Generator
-
Produces encryptors that use the PBES2 algorithm.
- outputSize(int) - Method in class org.cryptacular.codec.AbstractBaseNDecoder
- outputSize(int) - Method in class org.cryptacular.codec.AbstractBaseNEncoder
- outputSize(int) - Method in interface org.cryptacular.codec.Decoder
-
Expected number of bytes in the output buffer for an input buffer of the given size.
- outputSize(int) - Method in interface org.cryptacular.codec.Encoder
-
Expected number of characters in the output buffer for an input buffer of the given size.
- outputSize(int) - Method in class org.cryptacular.codec.HexDecoder
- outputSize(int) - Method in class org.cryptacular.codec.HexEncoder
P
- P12Generator - Interface in org.cryptacular.generator
-
Provides a simple interface for generating PKCS12 containers.
- paddedInput - Variable in class org.cryptacular.codec.AbstractBaseNDecoder
-
Flag indicating whether input is padded.
- paddedOutput - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Flag indicating whether output is padded.
- padding - Variable in class org.cryptacular.codec.Base32Codec
-
Whether input/output padding is supported.
- padding - Variable in class org.cryptacular.codec.Base64Codec
-
Whether input/output padding is supported.
- padding - Variable in class org.cryptacular.codec.Base64Decoder.Builder
-
Padding flag.
- padding - Variable in class org.cryptacular.codec.Base64Encoder.Builder
-
Padding flag.
- padding - Variable in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Cipher padding scheme, e.g.
- parameters - Variable in class org.cryptacular.pbe.AbstractEncryptionScheme
-
Cipher initialization parameters.
- parse(byte[]) - Method in class org.cryptacular.pem.PemParser
-
Parses the encoded bytes.
- parse(BufferedReader) - Method in class org.cryptacular.pem.PemParser
-
Parses the supplied reader.
- parse(String) - Static method in class org.cryptacular.spec.AEADBlockCipherSpec
-
Parses a string representation of a AEAD block cipher specification into an instance of this class.
- parse(String) - Static method in class org.cryptacular.spec.BufferedBlockCipherSpec
-
Parses a string representation of a buffered block cipher specification into an instance of this class.
- parseDescriptor(BufferedReader) - Static method in class org.cryptacular.pem.PemParser
-
Determines the RFC format governing the PEM file in the reader and constructs a
Descriptoraccordingly. - parseECPrivateKey(ASN1Sequence) - Method in class org.cryptacular.asn.OpenSSLPrivateKeyDecoder
-
Parses an EC private key as defined in RFC 5915.
- parseHeader(BufferedReader, String, Format) - Static method in class org.cryptacular.pem.PemParser
-
Reads a header line which takes into account header types from RFC 1421 invalid input: '&' RFC 4716
- parseInt(String, Predicate<Integer>, int) - Static method in class org.cryptacular.CryptUtil
-
Parse the supplied value as an integer.
- parseInternal(BufferedReader, Descriptor) - Static method in class org.cryptacular.pem.PemParser
-
Reads the contents of the PEM data between the BEGIN and END markers by format specified.
- password - Variable in class org.cryptacular.bean.KeyStoreBasedKeyFactoryBean
-
Password required to read key entry.
- password - Variable in class org.cryptacular.bean.KeyStoreFactoryBean
-
Keystore password.
- password - Variable in class org.cryptacular.bean.ResourceBasedPrivateKeyFactoryBean
-
Password required to decrypt an encrypted private key.
- password(String, Object) - Static method in class org.cryptacular.bean.BCryptHashBean
-
Converts an input object into a password as an array of UTF-8 bytes.
- PATTERN - Static variable in class org.cryptacular.x509.dn.UnknownAttributeType
-
Dotted decimal OID pattern.
- PBES1Algorithm - Enum in org.cryptacular.pbe
-
Password-based encryption algorithms defined in PKCS#5 for PBES1 scheme.
- PBES1Algorithm(String, BufferedBlockCipherSpec, DigestSpec) - Constructor for enum org.cryptacular.pbe.PBES1Algorithm
-
Creates a new instance with given parameters.
- PBES1EncryptionScheme - Class in org.cryptacular.pbe
-
Implements the PBES1 encryption scheme defined in PKCS#5v2.
- PBES1EncryptionScheme(PBES1Algorithm, PBEParameter, char[]) - Constructor for class org.cryptacular.pbe.PBES1EncryptionScheme
-
Creates a new instance with the given parameters.
- PBES2Algorithm - Enum in org.cryptacular.pbe
-
Supported password-based encryption algorithms for PKCS#5 PBES2 encryption scheme.
- PBES2Algorithm(String, BufferedBlockCipherSpec, int, int) - Constructor for enum org.cryptacular.pbe.PBES2Algorithm
-
Creates a new instance with given parameters.
- PBES2EncryptionScheme - Class in org.cryptacular.pbe
-
Implements the PBES2 encryption scheme defined in PKCS#5v2.
- PBES2EncryptionScheme(PBES2Parameters, char[]) - Constructor for class org.cryptacular.pbe.PBES2EncryptionScheme
-
Creates a new instance with the given parameters.
- PBES2OutputEncryptorBuilder(PBES2Algorithm, PBKDF2Config) - Constructor for class org.cryptacular.generator.AESP12Generator.PBES2OutputEncryptorBuilder
- PbeWithMD2AndDES_CBC - Enum constant in enum org.cryptacular.pbe.PBES1Algorithm
-
PBES1 encryption method with MD2 hash and DES CBC cipher.
- PbeWithMD2AndRC2_CBC - Enum constant in enum org.cryptacular.pbe.PBES1Algorithm
-
PBES1 encryption method with MD2 hash and RC2 CBC cipher.
- PbeWithMD5AndDES_CBC - Enum constant in enum org.cryptacular.pbe.PBES1Algorithm
-
PBES1 encryption method with MD5 hash and DES CBC cipher.
- PbeWithMD5AndRC2_CBC - Enum constant in enum org.cryptacular.pbe.PBES1Algorithm
-
PBES1 encryption method with MD5 hash and RC2 CBC cipher.
- PbeWithSHA1AndDES_CBC - Enum constant in enum org.cryptacular.pbe.PBES1Algorithm
-
PBES1 encryption method with SHA1 hash and DES CBC cipher.
- PbeWithSHA1AndRC2_CBC - Enum constant in enum org.cryptacular.pbe.PBES1Algorithm
-
PBES1 encryption method with SHA1 hash and RC2 CBC cipher.
- pbkdf2Config - Variable in class org.cryptacular.generator.AESP12Generator.PBES2OutputEncryptorBuilder
-
PBKDF2 domain parameters.
- pbkdf2Config - Variable in class org.cryptacular.generator.AESP12Generator
-
PBKDF2 configuration.
- peekNextLine(BufferedReader, int) - Static method in class org.cryptacular.pem.PemParser
-
Reads the next line in a
BufferedReaderinstance without consuming it from the buffer - PEM_SPLITTER - Static variable in class org.cryptacular.util.PemUtil
-
Pattern used to split multiple PEM-encoded objects in a single file.
- PemBasedPrivateKeyFactoryBean - Class in org.cryptacular.bean
-
Factory for creating a public key from a PEM-encoded private key in any format supported by
KeyPairUtil.decodePrivateKey(byte[]). - PemBasedPrivateKeyFactoryBean(String) - Constructor for class org.cryptacular.bean.PemBasedPrivateKeyFactoryBean
-
Creates a new PEM based private key factory bean.
- PemBasedPublicKeyFactoryBean - Class in org.cryptacular.bean
-
Factory for creating a public key from a PEM-encoded string:
- PemBasedPublicKeyFactoryBean(String) - Constructor for class org.cryptacular.bean.PemBasedPublicKeyFactoryBean
-
Creates a new PEM based public key factory bean.
- PemObject - Class in org.cryptacular.pem
-
Container for PEM encoded data.
- PemObject(Descriptor, byte[]) - Constructor for class org.cryptacular.pem.PemObject
-
Generic constructor for object without headers.
- PemObject(Descriptor, List<PemHeader>, byte[]) - Constructor for class org.cryptacular.pem.PemObject
-
Generic constructor for object with headers.
- PemParser - Class in org.cryptacular.pem
-
Parser to decode PEM data into a
PemObject. - PemParser() - Constructor for class org.cryptacular.pem.PemParser
- PemUtil - Class in org.cryptacular.util
-
Utility class with helper methods for common PEM encoding operations.
- PemUtil() - Constructor for class org.cryptacular.util.PemUtil
-
Private constructor of utility class.
- pipeAll(InputStream, OutputStream, ChunkHandler) - Static method in class org.cryptacular.util.StreamUtil
-
Pipes an input stream into an output stream with chunked processing.
- PKCS7 - Static variable in interface org.cryptacular.util.CertUtil.EncodeType
-
PKCS7 encode type.
- PKCS7EncodeType() - Constructor for class org.cryptacular.util.CertUtil.PKCS7EncodeType
- PKCS8_FORMAT - Static variable in class org.cryptacular.adapter.AbstractWrappedKey
-
PKCS#8 format identifier used with private keys.
- PKCS8PrivateKeyDecoder - Class in org.cryptacular.asn
-
Decodes PEM or DER-encoded PKCS#8 private keys.
- PKCS8PrivateKeyDecoder() - Constructor for class org.cryptacular.asn.PKCS8PrivateKeyDecoder
- PolicyConstraints - Enum constant in enum org.cryptacular.x509.ExtensionType
-
PolicyConstraints extension field.
- PolicyMappings - Enum constant in enum org.cryptacular.x509.ExtensionType
-
PolicyMappings extension field.
- PostalAddress - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
POSTALADDRESS - RFC 4519 section 2.23.
- PostalCode - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
POSTALCODE - RFC 4519 section 2.24.
- PostOfficeBox - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
POSTOFFICEBOX - RFC 4519 section 2.25.
- prepareInputBuffer(int) - Method in class org.cryptacular.io.DecodingInputStream
-
Prepares the input buffer to receive the given number of bytes.
- prepareOutputBuffer() - Method in class org.cryptacular.io.DecodingInputStream
-
Prepares the output buffer based on input buffer capacity.
- PrivateKeyUsagePeriod - Enum constant in enum org.cryptacular.x509.ExtensionType
-
PrivateKeyUsage extension field.
- process(byte[]) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
-
Run the given data through the initialized underlying cipher and return the result.
- process(BlockCipherAdapter, InputStream, OutputStream) - Static method in class org.cryptacular.util.CipherUtil
-
Performs encryption or decryption on the given input stream based on the underlying cipher mode and writes the result to the given output stream.
- process(CiphertextHeader, boolean, byte[]) - Method in class org.cryptacular.bean.AbstractBlockCipherBean
- process(CiphertextHeader, boolean, byte[]) - Method in class org.cryptacular.bean.AbstractCipherBean
-
Processes the given data under the action of the cipher.
- process(CiphertextHeader, boolean, InputStream, OutputStream) - Method in class org.cryptacular.bean.AbstractBlockCipherBean
- process(CiphertextHeader, boolean, InputStream, OutputStream) - Method in class org.cryptacular.bean.AbstractCipherBean
-
Processes the given data under the action of the cipher.
- processBytes(byte[], int, int, byte[], int) - Method in class org.cryptacular.adapter.AEADBlockCipherAdapter
- processBytes(byte[], int, int, byte[], int) - Method in class org.cryptacular.adapter.BufferedBlockCipherAdapter
- processBytes(byte[], int, int, byte[], int) - Method in interface org.cryptacular.adapter.CipherAdapter
-
Process an array of bytes, producing output if necessary.
- PublicKeyDecoder - Class in org.cryptacular.asn
-
Decodes public keys formatted in an X.509 SubjectPublicKeyInfo structure in either PEM or DER encoding.
- PublicKeyDecoder() - Constructor for class org.cryptacular.asn.PublicKeyDecoder
R
- random - Variable in class org.cryptacular.generator.AESP12Generator.PBES2OutputEncryptorBuilder
-
Source of cryptographically-strong randomness.
- randomEntropySource(int) - Static method in class org.cryptacular.util.NonceUtil
-
Creates a new entropy source that wraps a
SecureRandomto produce random bytes. - RandomIdGenerator - Class in org.cryptacular.generator
-
Generates random identifiers with an alphanumeric character set by default.
- RandomIdGenerator(int) - Constructor for class org.cryptacular.generator.RandomIdGenerator
-
Creates a new instance with the default character set.
- RandomIdGenerator(int, String) - Constructor for class org.cryptacular.generator.RandomIdGenerator
-
Creates a new instance with a defined character set.
- randomLength - Variable in class org.cryptacular.generator.sp80038d.RBGNonce
-
Number of bytes of random data in invocation field.
- randomNonce(int) - Static method in class org.cryptacular.util.NonceUtil
-
Generates a random nonce of the given length in bytes.
- rbg - Variable in class org.cryptacular.generator.sp80038a.RBGNonce
-
Random bit generator.
- rbg - Variable in class org.cryptacular.generator.sp80038d.RBGNonce
-
Random bit generator.
- RBGNonce - Class in org.cryptacular.generator.sp80038a
-
Nonce generation strategy that produces a random value according to NIST SP-800-38a, appendix C, method 2 (random number generator), suitable for use with any block cipher mode described in that standard except OFB.
- RBGNonce - Class in org.cryptacular.generator.sp80038d
-
RBG-based nonce generation strategy that uses a RBG component to produce values for the invocation field as described in NIST SP-800-38D, section 8.2.2.
- RBGNonce() - Constructor for class org.cryptacular.generator.sp80038a.RBGNonce
-
Creates a new instance that produces 16-bytes (128-bits) of random data.
- RBGNonce() - Constructor for class org.cryptacular.generator.sp80038d.RBGNonce
-
Creates a new instance that produces 12-bytes (96-bits) of random data; that is, the fixed field of the nonce is null.
- RBGNonce(int) - Constructor for class org.cryptacular.generator.sp80038a.RBGNonce
-
Creates a new instance that produces length bytes of random data.
- RBGNonce(int) - Constructor for class org.cryptacular.generator.sp80038d.RBGNonce
-
Creates a new instance that produces length bytes of random data; that is, the fixed field of the nonce is null.
- RBGNonce(String, int) - Constructor for class org.cryptacular.generator.sp80038d.RBGNonce
-
Creates a new instance using the given fixed field value.
- RC2 - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
RC2 CBC cipher.
- RC2_40_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
40-bit RC2 in CBC mode.
- RC2_64_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
64-bit RC2 in CBC mode.
- RC2_CBC - Enum constant in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
128-bit RC2 in CBC mode.
- RC5 - Enum constant in enum org.cryptacular.pbe.PBES2Algorithm
-
RC5 CBC cipher.
- RDN - Class in org.cryptacular.x509.dn
-
Simple implementation of the X.501 RelativeDistinguishedName type described in section 4.1.2.4 of RFC 2459.
- RDN(Attributes) - Constructor for class org.cryptacular.x509.dn.RDN
-
Creates a new instance with given attributes.
- RDN_SEPARATOR - Static variable in class org.cryptacular.x509.dn.LdapNameFormatter
-
Separator character between RDN components.
- rdns - Variable in class org.cryptacular.x509.dn.RDNSequence
-
Maintains the list/sequence of RDNs.
- RDNSequence - Class in org.cryptacular.x509.dn
-
Simple implementation of the X.501 RDNSequence type described in section 4.1.2.4 of RFC 2459.
- RDNSequence(List<RDN>) - Constructor for class org.cryptacular.x509.dn.RDNSequence
-
Creates a new RDN sequence.
- RDNSequence(RDN...) - Constructor for class org.cryptacular.x509.dn.RDNSequence
-
Creates a new RDN sequence.
- read() - Method in class org.cryptacular.io.DecodingInputStream
- read(byte[]) - Method in class org.cryptacular.io.DecodingInputStream
- read(byte[], int, int) - Method in class org.cryptacular.io.DecodingInputStream
- read(String) - Method in class org.cryptacular.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 org.cryptacular.x509.ExtensionReader
-
Reads the value of the given certificate extension field.
- READABLE - Enum constant in enum org.cryptacular.util.CertUtil.X500PrincipalFormat
-
Similar to RFC2253, but with spaces.
- readAll(File) - Static method in class org.cryptacular.util.StreamUtil
-
Reads all the data from the given file.
- readAll(InputStream) - Static method in class org.cryptacular.util.StreamUtil
-
Reads all the data from the given input stream.
- readAll(InputStream, int) - Static method in class org.cryptacular.util.StreamUtil
-
Reads all the data from the given input stream.
- readAll(Reader) - Static method in class org.cryptacular.util.StreamUtil
-
Reads all data from the given reader.
- readAll(Reader, int) - Static method in class org.cryptacular.util.StreamUtil
-
Reads all data from the given reader.
- readAll(String) - Static method in class org.cryptacular.util.StreamUtil
-
Reads all the data from the file at the given path.
- readAuthorityInformationAccess() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
AuthorityInformationAccessextension field of the certificate. - readAuthorityKeyIdentifier() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
AuthorityKeyIdentifierextension field of the certificate. - readBasicConstraints() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
BasicConstraintsextension field of the certificate. - readByte(InputStream) - Static method in class org.cryptacular.CiphertextHeader
-
Read a single byte from the input stream.
- readCertificate(File) - Static method in class org.cryptacular.util.CertUtil
-
Reads an X.509 certificate from ASN.1 encoded format from the given file.
- readCertificate(InputStream) - Static method in class org.cryptacular.util.CertUtil
-
Reads an X.509 certificate from ASN.1 encoded data in the given stream.
- readCertificate(String) - Static method in class org.cryptacular.util.CertUtil
-
Reads an X.509 certificate from ASN.1 encoded format in the file at the given location.
- readCertificateChain(File) - Static method in class org.cryptacular.util.CertUtil
-
Reads an X.509 certificate chain from ASN.1 encoded format from the given file.
- readCertificateChain(InputStream) - Static method in class org.cryptacular.util.CertUtil
-
Reads an X.509 certificate chain from ASN.1 encoded data in the given stream.
- readCertificateChain(String) - Static method in class org.cryptacular.util.CertUtil
-
Reads an X.509 certificate chain from ASN.1 encoded format in the file at the given location.
- readCertificatePolicies() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
CertificatePoliciesextension field of the certificate. - readCRLDistributionPoints() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
CRLDistributionPointsextension field of the certificate. - readCsr(File) - Static method in class org.cryptacular.util.CsrUtil
-
Decodes either a PEM or DER-encoded PKCS#10 certificate signing request from a file into a structured object.
- readCsr(InputStream) - Static method in class org.cryptacular.util.CsrUtil
-
Decodes either a PEM or DER-encoded PKCS#10 certificate signing request from a stream into a structured object.
- reader - Variable in class org.cryptacular.io.DecodingInputStream
-
Wraps the input stream to convert bytes to characters.
- readExplanatoryText(BufferedReader) - Static method in class org.cryptacular.pem.PemParser
-
Reads the explanatory text as described by RFC 7468 5.2.
- readExtendedKeyUsage() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
ExtendedKeyUsageextension field of the certificate. - readInt(InputStream) - Static method in class org.cryptacular.util.ByteUtil
-
Reads 4-bytes from the input stream and converts to a 32-bit integer.
- readInto(InputStream, byte[]) - Static method in class org.cryptacular.CiphertextHeader
-
Read
output.lengthbytes from the input stream into the output buffer. - readIssuer() - Method in class org.cryptacular.x509.dn.NameReader
-
Reads the issuer field from the certificate.
- readIssuerAlternativeName() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
IssuerAlternativeNameextension field of the certificate. - readKeyUsage() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
KeyUsageextension field of the certificate. - readLong(InputStream) - Static method in class org.cryptacular.util.ByteUtil
-
Reads 8-bytes from the input stream and converts to a 64-bit long integer.
- readPrivateKey(File) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads an encoded private key from a file.
- readPrivateKey(File, char[]) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads an encrypted private key from a file.
- readPrivateKey(InputStream) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads an encoded private key from an input stream.
- readPrivateKey(InputStream, char[]) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads an encrypted private key from an input stream.
- readPrivateKey(String) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads an encoded private key from a file at the given path.
- readPrivateKey(String, char[]) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads an encrypted private key from a file at the given path.
- readPublicKey(File) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads a DER or PEM-encoded public key from a file.
- readPublicKey(InputStream) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads a DER or PEM-encoded public key from data in the given stream.
- readPublicKey(String) - Static method in class org.cryptacular.util.KeyPairUtil
-
Reads a DER or PEM-encoded public key from a file.
- readSubject() - Method in class org.cryptacular.x509.dn.NameReader
-
Reads the subject field from the certificate.
- readSubjectAlternativeName() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the SubjectAlternativeName extension field of the certificate.
- readSubjectKeyIdentifier() - Method in class org.cryptacular.x509.ExtensionReader
-
Reads the value of the
SubjectKeyIdentifierextension field of the certificate. - readX500Name(X500Name) - Static method in class org.cryptacular.x509.dn.NameReader
-
Converts the given X.500 name to a list of relative distinguished names that contains the attributes comprising the DN.
- readX500Principal(X500Principal) - Static method in class org.cryptacular.x509.dn.NameReader
-
Converts the given X.500 principal to a list of relative distinguished names that contains the attributes comprising the DN.
- ReflectUtil - Class in org.cryptacular.util
-
Reflection utilities.
- ReflectUtil() - Constructor for class org.cryptacular.util.ReflectUtil
-
Private constructor of utility class.
- RegisteredID - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
registeredID choice element.
- remaining - Variable in class org.cryptacular.codec.AbstractBaseNEncoder
-
Number of bits in encode block remaining.
- RESERVED_CHARS - Static variable in class org.cryptacular.x509.dn.LdapNameFormatter
-
String of characters that need to be escaped.
- reset() - Method in class org.cryptacular.adapter.AEADBlockCipherAdapter
- reset() - Method in class org.cryptacular.adapter.BufferedBlockCipherAdapter
- reset() - Method in interface org.cryptacular.adapter.CipherAdapter
-
Reset the cipher.
- resource - Variable in class org.cryptacular.bean.KeyStoreFactoryBean
-
Resource that provides encoded keystore data.
- resource - Variable in class org.cryptacular.bean.ResourceBasedPrivateKeyFactoryBean
-
Resource containing key data.
- resource - Variable in class org.cryptacular.bean.ResourceBasedPublicKeyFactoryBean
-
Resource containing key data.
- resource - Variable in class org.cryptacular.bean.ResourceBasedSecretKeyFactoryBean
-
Resource containing key data.
- Resource - Interface in org.cryptacular.io
-
Resource descriptor that provides a strategy to get an
InputStreamto read bytes. - ResourceBasedPrivateKeyFactoryBean - Class in org.cryptacular.bean
-
Factory for reading a private from a
Resourcecontaining data in any of the formats supported byKeyPairUtil.readPrivateKey(java.io.InputStream, char[]). - ResourceBasedPrivateKeyFactoryBean(Resource) - Constructor for class org.cryptacular.bean.ResourceBasedPrivateKeyFactoryBean
-
Creates a new instance capable of reading an unencrypted private key.
- ResourceBasedPrivateKeyFactoryBean(Resource, String) - Constructor for class org.cryptacular.bean.ResourceBasedPrivateKeyFactoryBean
-
Creates a new instance of reading an encrypted private key.
- ResourceBasedPublicKeyFactoryBean - Class in org.cryptacular.bean
-
Factory for creating a public key from a
Resourcecontaining data in any of the formats supported byKeyPairUtil.readPublicKey(java.io.InputStream). - ResourceBasedPublicKeyFactoryBean(Resource) - Constructor for class org.cryptacular.bean.ResourceBasedPublicKeyFactoryBean
-
Creates a new resource based public key factory bean.
- ResourceBasedSecretKeyFactoryBean - Class in org.cryptacular.bean
- ResourceBasedSecretKeyFactoryBean(Resource, String) - Constructor for class org.cryptacular.bean.ResourceBasedSecretKeyFactoryBean
-
Creates a new resource based secret key factory bean.
- RFC1421 - Enum constant in enum org.cryptacular.pem.Format
-
a PEM encoded file as defined by RFC-1421 (Privacy Enhanced Message).
- RFC1421_ENCAPSULATION_BEGIN_MARKER - Static variable in class org.cryptacular.pem.Constants
-
(RFC1421 4.4 Encapsulation Mechanism) (RFC7468 2.
- RFC1421_ENCAPSULATION_END_MARKER - Static variable in class org.cryptacular.pem.Constants
-
(RFC1421 4.4 Encapsulation Mechanism) (RFC7468 2.
- RFC1421_ENCAPSULATION_MARKER - Static variable in class org.cryptacular.pem.Constants
-
(RFC1421 4.4 Encapsulation Mechanism) (RFC7468 2.
- RFC1421_HEADER_FIELD_DEK_INFO - Static variable in class org.cryptacular.pem.Constants
-
DEK-Info header as defined by RFC 1421
- RFC1421_HEADER_FIELD_PROC_TYPE - Static variable in class org.cryptacular.pem.Constants
-
Proc-Type header as defined by RFC 1421
- RFC1421_MAX_LINE_LENGTH - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.3.3.
- RFC1421_SPECIFIER_CRL - Static variable in class org.cryptacular.pem.Constants
-
CRL header as defined by RFC 1421
- RFC1421_SPECIFIER_DEK_INFO - Static variable in class org.cryptacular.pem.Constants
-
DEK-Info header as defined by RFC 1421
- RFC1421_SPECIFIER_ISSUER_CERTIFICATE - Static variable in class org.cryptacular.pem.Constants
-
Issuer-Certificate header as defined by RFC 1421
- RFC1421_SPECIFIER_KEY_INFO - Static variable in class org.cryptacular.pem.Constants
-
Key-Info header as defined by RFC 1421
- RFC1421_SPECIFIER_MIC_INFO - Static variable in class org.cryptacular.pem.Constants
-
MIC-Info header as defined by RFC 1421
- RFC1421_SPECIFIER_ORIGINATOR_CERTIFICATE - Static variable in class org.cryptacular.pem.Constants
-
Originator-Certificate header as defined by RFC 1421
- RFC1421_SPECIFIER_ORIGINATOR_ID_ASYMMETRIC - Static variable in class org.cryptacular.pem.Constants
-
Originator-ID-Asymmetric header as defined by RFC 1421
- RFC1421_SPECIFIER_ORIGINATOR_ID_SYMMETRIC - Static variable in class org.cryptacular.pem.Constants
-
Originator-ID-Symmetric header as defined by RFC 1421
- RFC1421_SPECIFIER_PROC_TYPE - Static variable in class org.cryptacular.pem.Constants
-
Proc-Type header as defined by RFC 1421
- RFC1421_SPECIFIER_RECIPIENT_ID_ASYMMETRIC - Static variable in class org.cryptacular.pem.Constants
-
Recipient-ID-Asymmetric header as defined by RFC 1421
- RFC1421_SPECIFIER_RECIPIENT_ID_SYMMETRIC - Static variable in class org.cryptacular.pem.Constants
-
Recipient-ID-Symmetric header as defined by RFC 1421
- RFC1421_SPECIFIERS - Static variable in class org.cryptacular.pem.Constants
-
Headers allowed by RFC 1421.
- RFC2253 - Enum constant in enum org.cryptacular.util.CertUtil.X500PrincipalFormat
-
The format described in RFC2253 (without spaces).
- RFC2440 - Enum constant in enum org.cryptacular.pem.Format
-
a PEM encoded file as defined by RFC-2440 (OpenPGP).
- RFC2440_MAX_LINE_LENGTH - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.3.3.
- RFC2440_SPECIFIER_CHARSET - Static variable in class org.cryptacular.pem.Constants
-
Charset header as defined by RFC 2440
- RFC2440_SPECIFIER_COMMENT - Static variable in class org.cryptacular.pem.Constants
-
Comment header as defined by RFC 2440
- RFC2440_SPECIFIER_HASH - Static variable in class org.cryptacular.pem.Constants
-
Hash header as defined by RFC 2440
- RFC2440_SPECIFIER_MESSAGE_ID - Static variable in class org.cryptacular.pem.Constants
-
MessageID header as defined by RFC 2440.
- RFC2440_SPECIFIER_VERSION - Static variable in class org.cryptacular.pem.Constants
-
Version header as defined by RFC 2440
- RFC2440_SPECIFIERS - Static variable in class org.cryptacular.pem.Constants
-
Headers allowed by RFC 4716.
- RFC4716 - Enum constant in enum org.cryptacular.pem.Format
-
a PEM encoded file as defined by RFC-4716 (SSH).
- RFC4716_ENCAPSULATION_BEGIN_MARKER - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.2.
- RFC4716_ENCAPSULATION_END_MARKER - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.2.
- RFC4716_ENCAPSULATION_MARKER - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.2.
- RFC4716_MAX_LINE_LENGTH - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.3.3.
- RFC4716_SPECIFIER_COMMENT - Static variable in class org.cryptacular.pem.Constants
-
Comment header as defined by RFC 4716
- RFC4716_SPECIFIER_PRIVATE_BEGIN_MARKER - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.3.3.
- RFC4716_SPECIFIER_SUBJECT - Static variable in class org.cryptacular.pem.Constants
-
Subject header as defined by RFC 4716
- RFC4716_SPECIFIERS - Static variable in class org.cryptacular.pem.Constants
-
Headers covered in RFC 4716.
- RFC7468 - Enum constant in enum org.cryptacular.pem.Format
-
a PEM encoded file as defined by RFC-7468 (Textual Encodings of PKIX, PKCS, and CMS Structures).
- RFC7468_MAX_LINE_LENGTH - Static variable in class org.cryptacular.pem.Constants
-
RFC4716 3.3.3.
- RFC822Name - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
rfc822Name choice element.
S
- salt - Variable in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
bcrypt salt.
- salt - Variable in class org.cryptacular.SaltedHash
-
Salt value.
- salt(Object) - Static method in class org.cryptacular.bean.BCryptHashBean
-
Converts an input object into a salt as an array of bytes.
- salted - Variable in class org.cryptacular.bean.EncodingHashBean
-
Whether data provided to this bean includes a salt.
- SaltedHash - Class in org.cryptacular
-
Container for the output of a salted hash operation that includes both the digest output and salt value.
- SaltedHash(byte[], byte[]) - Constructor for class org.cryptacular.SaltedHash
-
Creates a new instance with digest and salt data.
- SaltedHash(byte[], int, boolean) - Constructor for class org.cryptacular.SaltedHash
-
Creates a new instance from byte input that contains the concatenation of digest output and salt.
- SecretKeyGenerator - Class in org.cryptacular.generator
-
Factory class with static methods for generating
SecretKeys. - SecretKeyGenerator() - Constructor for class org.cryptacular.generator.SecretKeyGenerator
-
Private constructor of static class.
- SECURE_RANDOM - Static variable in class org.cryptacular.util.NonceUtil
-
Class-wide random source.
- secureRandom - Variable in class org.cryptacular.generator.RandomIdGenerator
-
Source of randomness.
- SerialNumber - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
SERIALNUMBER - RFC 4519 section 2.31.
- serialVersionUID - Static variable in class org.cryptacular.adapter.WrappedDSAPrivateKey
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.adapter.WrappedDSAPublicKey
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.adapter.WrappedECPrivateKey
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.adapter.WrappedECPublicKey
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.adapter.WrappedRSAPublicKey
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.spec.BufferedBlockCipherSpec
-
serialVersionUID.
- serialVersionUID - Static variable in class org.cryptacular.spec.KeyedBlockCipherSpec
-
serialVersionUID.
- setAlphabet(String) - Method in class org.cryptacular.codec.Base64Decoder.Builder
-
Sets an arbitrary 64-character alphabet for decoding.
- setAlphabet(String) - Method in class org.cryptacular.codec.Base64Encoder.Builder
-
Sets an arbitrary 64-character alphabet for encoding.
- setCharactersPerLine(int) - Method in class org.cryptacular.codec.Base64Encoder.Builder
-
Sets the number of characters per line in output produced by the encoder.
- setCipher(BufferedBlockCipher) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
-
Sets the block cipher used for encryption/decryption.
- setCipherParameters(CipherParameters) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
-
Sets block cipher initialization parameters.
- setCurrentTime(Instant) - Method in class org.cryptacular.generator.TOTPGenerator
-
Sets the current time (supports testing).
- setPadding(boolean) - Method in class org.cryptacular.codec.Base64Decoder.Builder
-
Sets padding flag on the decoder.
- setPadding(boolean) - Method in class org.cryptacular.codec.Base64Encoder.Builder
-
Sets padding flag on the encoder.
- setUrlSafe(boolean) - Method in class org.cryptacular.codec.Base64Decoder.Builder
-
Sets the URL-safe alphabet flag.
- setUrlSafe(boolean) - Method in class org.cryptacular.codec.Base64Encoder.Builder
-
Sets the URL-safe alphabet flag.
- sha1(Object...) - Static method in class org.cryptacular.util.HashUtil
-
Produces the SHA-1 hash of the given data.
- sha256(Object...) - Static method in class org.cryptacular.util.HashUtil
-
Produces the SHA-256 hash of the given data.
- sha3(int, Object...) - Static method in class org.cryptacular.util.HashUtil
-
Produces the SHA-3 hash of the given data.
- sha512(Object...) - Static method in class org.cryptacular.util.HashUtil
-
Produces the SHA-512 hash of the given data.
- sigAlgName(CertificationRequest) - Static method in class org.cryptacular.util.CsrUtil
-
Gets the name of the signature algorithm mentioned in the CSR.
- SIGN_BYTES - Static variable in class org.cryptacular.util.KeyPairUtil
-
Data used to verify key pairs.
- SimpleHashBean - Class in org.cryptacular.bean
-
Computes a hash using an instance of
Digestspecified byAbstractHashBean.getDigestSpec(). - SimpleHashBean(Spec<Digest>) - Constructor for class org.cryptacular.bean.SimpleHashBean
-
Creates a new simple hash bean.
- SimpleHashBean(Spec<Digest>, int) - Constructor for class org.cryptacular.bean.SimpleHashBean
-
Creates a new simple hash bean.
- size - Variable in class org.cryptacular.spec.DigestSpec
-
Requested size of variable-size hash algorithms, e.g.
- size() - Method in class org.cryptacular.x509.dn.Attributes
-
Gets the number of attributes contained in this instance.
- Spec<T> - Interface in org.cryptacular.spec
-
Specification for a cryptographic primitive, e.g.
- SSHPublicKeyDecoder - Class in org.cryptacular.ssh
-
Decodes public keys formatted as described in RFC 4253, Section 6.6, Public Key Algorithms.
- SSHPublicKeyDecoder() - Constructor for class org.cryptacular.ssh.SSHPublicKeyDecoder
- StandardAttributeType - Enum in org.cryptacular.x509.dn
-
Describes the registered values of AttributeType that may appear in a RelativeDistinguishedName (RDN) as defined in section 2 of RFC 2253.
- StandardAttributeType(String, String) - Constructor for enum org.cryptacular.x509.dn.StandardAttributeType
-
Creates a new type for the given OID.
- startTime - Variable in class org.cryptacular.generator.TOTPGenerator
-
Reference start time, T0.
- StateOrProvinceName - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
ST - RFC 4519 section 2.33.
- StreamCipherSpec - Class in org.cryptacular.spec
-
Stream cipher specification.
- StreamCipherSpec(String) - Constructor for class org.cryptacular.spec.StreamCipherSpec
-
Creates a new instance that describes the given stream cipher algorithm.
- StreamException - Exception Class in org.cryptacular
-
Runtime exception thrown on stream IO errors.
- StreamException(IOException) - Constructor for exception class org.cryptacular.StreamException
-
Creates a new instance with causing IO exception.
- StreamException(String) - Constructor for exception class org.cryptacular.StreamException
-
Creates a new instance with the given error message.
- StreamException(String, IOException) - Constructor for exception class org.cryptacular.StreamException
-
Creates a new instance with causing IO exception and message.
- StreamUtil - Class in org.cryptacular.util
-
Utility methods for stream handling.
- StreamUtil() - Constructor for class org.cryptacular.util.StreamUtil
-
Private method of utility class.
- StreetAddress - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
STREET - RFC 4519 section 2.34.
- SubjectAlternativeName - Enum constant in enum org.cryptacular.x509.ExtensionType
-
SubjectAlternativeName extension field.
- subjectAltNames(X509Certificate) - Static method in class org.cryptacular.util.CertUtil
-
Gets all subject alternative names defined on the given certificate.
- subjectAltNames(X509Certificate, GeneralNameType...) - Static method in class org.cryptacular.util.CertUtil
-
Gets all subject alternative names of the given type(s) on the given cert.
- subjectAltNames(CertificationRequest) - Static method in class org.cryptacular.util.CsrUtil
-
Gets all subject alternative names mentioned on the certificate request.
- subjectCN(X509Certificate) - Static method in class org.cryptacular.util.CertUtil
-
Gets the common name attribute (CN) of the certificate subject distinguished name.
- SubjectDirectoryAttributes - Enum constant in enum org.cryptacular.x509.ExtensionType
-
SubjectDirectoryAttributes extension field.
- subjectDN(X509Certificate, CertUtil.X500PrincipalFormat) - Static method in class org.cryptacular.util.CertUtil
-
Retrieves the subject distinguished name (DN) of the provided X.509 certificate.
- subjectKeyId(X509Certificate) - Static method in class org.cryptacular.util.CertUtil
-
Gets the subject key identifier of the given certificate in delimited hexadecimal format, e.g.
- SubjectKeyIdentifier - Enum constant in enum org.cryptacular.x509.ExtensionType
-
SubjectKeyIdentifier extension field.
- subjectNames(X509Certificate) - Static method in class org.cryptacular.util.CertUtil
-
Gets a list of all subject names defined for the given certificate.
- subjectNames(X509Certificate, GeneralNameType...) - Static method in class org.cryptacular.util.CertUtil
-
Gets a list of subject names defined for the given certificate.
- SUPPORTED_DIGEST_ALGORITHMS - Static variable in class org.cryptacular.generator.AESP12Generator
-
Set of supported digest algorithms.
- Surname - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
SN - RFC 4519 section 2.32.
T
- table - Variable in class org.cryptacular.codec.HexEncoder
-
Encoding table to use.
- TelephoneNumber - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
TELEPHONENUMBER - RFC 4519 section 2.35.
- timestampNonce(int) - Static method in class org.cryptacular.util.NonceUtil
-
Generates a nonce of the given size by repetitively concatenating system timestamps (i.e.
- timeStep - Variable in class org.cryptacular.generator.TOTPGenerator
-
Time step duration, X.
- Title - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
TITLE - RFC 4519 section 2.38.
- toArray(ByteBuffer) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a byte buffer into a byte array.
- toByteBuffer(CharSequence) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a character sequence into bytes in the UTF-8 character set.
- toBytes(int) - Static method in class org.cryptacular.util.ByteUtil
-
Converts an integer into a 4-byte big endian array.
- toBytes(int, byte[], int) - Static method in class org.cryptacular.util.ByteUtil
-
Converts an integer into a 4-byte big endian array.
- toBytes(long) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a long integer into an 8-byte big endian array.
- toBytes(long, byte[], int) - Static method in class org.cryptacular.util.ByteUtil
-
Converts an integer into an 8-byte big endian array.
- toBytes(CharSequence) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a character sequence into bytes in the UTF-8 character set.
- toCharBuffer(ByteBuffer) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a byte buffer into a character buffer.
- toInt(byte) - Static method in class org.cryptacular.util.ByteUtil
-
Converts an unsigned byte into an integer.
- toInt(byte[]) - Static method in class org.cryptacular.util.ByteUtil
-
Converts the big-endian representation of a 32-bit integer to the equivalent integer value.
- toLong(byte[]) - Static method in class org.cryptacular.util.ByteUtil
-
Converts the big-endian representation of a 64-bit integer to the equivalent long value.
- toString() - Method in class org.cryptacular.io.FileResource
- toString() - Method in class org.cryptacular.io.URLResource
- toString() - Method in class org.cryptacular.spec.AEADBlockCipherSpec
- toString() - Method in class org.cryptacular.spec.BlockCipherSpec
- toString() - Method in class org.cryptacular.spec.BufferedBlockCipherSpec
- toString() - Method in class org.cryptacular.spec.CodecSpec
- toString() - Method in class org.cryptacular.spec.DigestSpec
- toString() - Method in class org.cryptacular.spec.StreamCipherSpec
- toString() - Method in class org.cryptacular.x509.dn.RDNSequence
-
Creates a comma-separated list of TYPE=VALUE tokens from the attributes in the list in order.
- toString() - Method in enum org.cryptacular.x509.dn.StandardAttributeType
- toString() - Method in class org.cryptacular.x509.dn.UnknownAttributeType
- toString(byte[]) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a byte array into a string in the UTF-8 character set.
- toString(byte[], int, int) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a portion of a byte array into a string in the UTF-8 character set.
- toString(ByteBuffer) - Static method in class org.cryptacular.util.ByteUtil
-
Converts a byte buffer into a string in the UTF-8 character set.
- TOTPGenerator - Class in org.cryptacular.generator
-
OTP generator component that implements the TOTP scheme described in RFC 6238.
- TOTPGenerator() - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator that uses a SHA-1 digest.
- TOTPGenerator(int) - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator that uses a SHA-1 digest.
- TOTPGenerator(Spec<Digest>) - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator.
- TOTPGenerator(Spec<Digest>, int) - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator.
- TOTPGenerator(Spec<Digest>, int, Duration) - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator.
- TOTPGenerator(Spec<Digest>, int, Instant) - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator.
- TOTPGenerator(Spec<Digest>, int, Instant, Duration) - Constructor for class org.cryptacular.generator.TOTPGenerator
-
Creates a new TOTP generator.
- toUnsignedByte(int) - Static method in class org.cryptacular.util.ByteUtil
-
Converts an integer into an unsigned byte.
- truncate(byte[]) - Method in class org.cryptacular.generator.AbstractOTPGenerator
-
Truncates HMAC output onto an unsigned (i.e.
- tryConvertPem(byte[]) - Method in class org.cryptacular.asn.AbstractPrivateKeyDecoder
-
Tests the given encoded input and converts it to PEM if it is detected, stripping out any header/footer data in the process.
- type - Variable in class org.cryptacular.bean.KeyStoreFactoryBean
-
Keystore type, e.g.
- type - Variable in class org.cryptacular.pem.Descriptor
-
The type of this PEM encoded data (i.e.
- type - Variable in class org.cryptacular.x509.dn.Attribute
-
Attribute type.
U
- UC_ENCODING_TABLE - Static variable in class org.cryptacular.codec.HexEncoder
-
Uppercase hex character encoding table.
- UniformResourceIdentifier - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
uniformResourceIdentifier choice element.
- UniqueIdentifier - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
UNIQUEIDENTIFIER - RFC 4524 section 2.24.
- UnknownAttributeType - Class in org.cryptacular.x509.dn
-
Describes a non-standard AttributeType in dotted decimal form that may appear in a RelativeDistinguishedName (RDN) as defined in section 2 of RFC 2253.
- UnknownAttributeType(String) - Constructor for class org.cryptacular.x509.dn.UnknownAttributeType
-
Creates a new instance from the given oid.
- uppercase - Variable in class org.cryptacular.codec.HexCodec
-
True to encode in uppercase characters, false otherwise.
- url - Variable in class org.cryptacular.io.URLResource
-
Location of resource.
- URLResource - Class in org.cryptacular.io
-
Describes a (presumably remote) resource accessible via URL.
- URLResource(URL) - Constructor for class org.cryptacular.io.URLResource
-
Creates a new URL resource.
- urlSafe - Variable in class org.cryptacular.codec.Base64Decoder.Builder
-
URL-safe alphabet flag.
- urlSafe - Variable in class org.cryptacular.codec.Base64Encoder.Builder
-
URL-safe alphabet flag.
- URLSAFE_DECODING_TABLE - Static variable in class org.cryptacular.codec.Base64Decoder
-
URL and filesystem-safe base-64 character decoding table.
- URLSAFE_ENCODING_TABLE - Static variable in class org.cryptacular.codec.Base64Encoder
-
Filesystem and URL-safe base 64 character encoding table.
- usage(KeyUsageBits...) - Static method in enum org.cryptacular.x509.KeyUsageBits
-
Computes the key usage value from one or more key usage bits.
- UserId - Enum constant in enum org.cryptacular.x509.dn.StandardAttributeType
-
UID - RFC 4519 section 2.39.
V
- value - Variable in class org.cryptacular.x509.dn.Attribute
-
Attribute value.
- valueOf(String) - Static method in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.pbe.PBES1Algorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.pbe.PBES2Algorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.pem.Format
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.util.CertUtil.X500PrincipalFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.x509.dn.StandardAttributeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.x509.ExtensionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.x509.GeneralNameType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.cryptacular.x509.KeyUsageBits
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.cryptacular.pbe.OpenSSLAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.pbe.PBES1Algorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.pbe.PBES2Algorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.pem.Format
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.util.CertUtil.X500PrincipalFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.x509.dn.StandardAttributeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.x509.ExtensionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.x509.GeneralNameType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.cryptacular.x509.KeyUsageBits
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class org.cryptacular.bean.BCryptHashBean.BCryptParameters
-
bcrypt version.
- version - Variable in class org.cryptacular.bean.BCryptHashBean
-
BCrypt version used when computing hashes.
- VERSION - Static variable in class org.cryptacular.CiphertextHeader
-
Header version format.
W
- wrap(boolean, OutputStream) - Method in class org.cryptacular.pbe.AbstractEncryptionScheme
- wrap(boolean, OutputStream) - Method in interface org.cryptacular.pbe.EncryptionScheme
-
Wraps an output stream with one that performs encryption or decryption on the fly.
- WrappedDSAPrivateKey - Class in org.cryptacular.adapter
-
JCE/JDK DSA private key that wraps the corresponding BC DSA private key type,
DSAPrivateKeyParameters. - WrappedDSAPrivateKey(DSAPrivateKeyParameters) - Constructor for class org.cryptacular.adapter.WrappedDSAPrivateKey
-
Creates a new instance that wraps the given BC DSA private key.
- WrappedDSAPublicKey - Class in org.cryptacular.adapter
-
JCE/JDK DSA public key that wraps the corresponding BC DSA public key type,
DSAPublicKeyParameters. - WrappedDSAPublicKey(DSAPublicKeyParameters) - Constructor for class org.cryptacular.adapter.WrappedDSAPublicKey
-
Creates a new instance that wraps the given key.
- WrappedECPrivateKey - Class in org.cryptacular.adapter
-
JCE/JDK EC private key that wraps the corresponding BC EC private key type,
ECPrivateKeyParameters. - WrappedECPrivateKey(ECPrivateKeyParameters) - Constructor for class org.cryptacular.adapter.WrappedECPrivateKey
-
Creates a new instance that wraps the given key.
- WrappedECPublicKey - Class in org.cryptacular.adapter
-
JCE/JDK EC public key that wraps the corresponding BC EC public key type,
ECPublicKeyParameters. - WrappedECPublicKey(ECPublicKeyParameters) - Constructor for class org.cryptacular.adapter.WrappedECPublicKey
-
Creates a new instance that wraps the given key.
- WrappedRSAPrivateCrtKey - Class in org.cryptacular.adapter
-
JCE/JDK RSA private key that wraps the corresponding BC RSA private key type,
RSAPrivateCrtKeyParameters. - WrappedRSAPrivateCrtKey(RSAPrivateCrtKeyParameters) - Constructor for class org.cryptacular.adapter.WrappedRSAPrivateCrtKey
-
Creates a new instance that wraps the given BC RSA private key.
- WrappedRSAPublicKey - Class in org.cryptacular.adapter
-
JCE/JDK RSA public key that wraps the corresponding BC RSA public key type,
RSAKeyParameters. - WrappedRSAPublicKey(RSAKeyParameters) - Constructor for class org.cryptacular.adapter.WrappedRSAPublicKey
-
Creates a new instance that wraps the given key.
- write(byte[]) - Method in class org.cryptacular.io.EncodingOutputStream
- write(byte[], int, int) - Method in class org.cryptacular.io.EncodingOutputStream
- write(int) - Method in class org.cryptacular.io.EncodingOutputStream
- writeHeader(byte[], OutputStream) - Static method in class org.cryptacular.util.CipherUtil
-
Writes a ciphertext header to the output stream.
- writeOutput(ByteBuffer, int) - Method in class org.cryptacular.codec.AbstractBaseNDecoder
-
Writes bytes in the current encoding block to the output buffer.
- writeOutput(CharBuffer, int) - Method in class org.cryptacular.codec.AbstractBaseNEncoder
-
Writes bytes in the current encoding block to the output buffer.
- writer - Variable in class org.cryptacular.io.EncodingOutputStream
-
Wraps the output stream to convert characters to bytes.
X
- X400Address - Enum constant in enum org.cryptacular.x509.GeneralNameType
-
x400Address choice element.
- X500PrincipalFormat() - Constructor for enum org.cryptacular.util.CertUtil.X500PrincipalFormat
- X509 - Static variable in interface org.cryptacular.util.CertUtil.EncodeType
-
X509 encode type.
- X509_FORMAT - Static variable in class org.cryptacular.adapter.AbstractWrappedKey
-
X.509 format identifier used with private keys.
- X509EncodeType() - Constructor for class org.cryptacular.util.CertUtil.X509EncodeType
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form