A B C D E F G H I J K M N O P R S T U V W X
A
- AEADBadTagException - Exception in javax.crypto
-
This exception is thrown when a
Cipheroperating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag. - AEADBadTagException() - Constructor for exception javax.crypto.AEADBadTagException
-
Constructs a AEADBadTagException with no detail message.
- AEADBadTagException(String) - Constructor for exception javax.crypto.AEADBadTagException
-
Constructs a AEADBadTagException with the specified detail message.
- available() - Method in class javax.crypto.CipherInputStream
-
Returns the number of bytes that can be read from this input stream without blocking.
B
- BadPaddingException - Exception in javax.crypto
-
This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
- BadPaddingException() - Constructor for exception javax.crypto.BadPaddingException
-
Constructs a BadPaddingException with no detail message.
- BadPaddingException(String) - Constructor for exception javax.crypto.BadPaddingException
-
Constructs a BadPaddingException with the specified detail message.
C
- CCMParameterSpec - Class in ibm.security.internal.spec
- CCMParameterSpec(int, byte[]) - Constructor for class ibm.security.internal.spec.CCMParameterSpec
-
Constructs a CCMParameterSpec object using the specified authentication tag bit-length and the specified initialization vector.
- CCMParameterSpec(int, byte[], int, int) - Constructor for class ibm.security.internal.spec.CCMParameterSpec
-
Constructs a CCMParameterSpec object using the specified authentication tag bit-length, ivBuffer, ivOffset, and ivLen.
- ChaCha20ParameterSpec - Class in ibm.security.internal.spec
-
This class specifies the parameters used with the ChaCha20 algorithm.
- ChaCha20ParameterSpec(byte[], int) - Constructor for class ibm.security.internal.spec.ChaCha20ParameterSpec
-
Constructs a parameter set for ChaCha20 from the given nonce and counter.
- Cipher - Class in javax.crypto
-
This class provides the functionality of a cryptographic cipher for encryption and decryption.
- Cipher(CipherSpi, Provider, String) - Constructor for class javax.crypto.Cipher
-
Creates a Cipher object.
- CipherInputStream - Class in javax.crypto
-
A CipherInputStream is composed of an InputStream and a Cipher so that read() methods return data that are read in from the underlying InputStream but have been additionally processed by the Cipher.
- CipherInputStream(InputStream, Cipher) - Constructor for class javax.crypto.CipherInputStream
-
Constructs a CipherInputStream from an InputStream and a Cipher.
- CipherInputStream(InputStream) - Constructor for class javax.crypto.CipherInputStream
-
Constructs a CipherInputStream from an InputStream without specifying a Cipher.
- CipherOutputStream - Class in javax.crypto
-
A CipherOutputStream is composed of an OutputStream and a Cipher so that write() methods first process the data before writing them out to the underlying OutputStream.
- CipherOutputStream(OutputStream, Cipher) - Constructor for class javax.crypto.CipherOutputStream
-
Constructs a CipherOutputStream from an OutputStream and a Cipher.
- CipherOutputStream(OutputStream) - Constructor for class javax.crypto.CipherOutputStream
-
Constructs a CipherOutputStream from an OutputStream without specifying a Cipher.
- CipherSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI) for the
Cipherclass. - CipherSpi() - Constructor for class javax.crypto.CipherSpi
- clearPassword() - Method in class javax.crypto.spec.PBEKeySpec
-
Clears the internal copy of the password.
- clone() - Method in class javax.crypto.Mac
-
Returns a clone if the provider implementation is cloneable.
- clone() - Method in class javax.crypto.MacSpi
-
Returns a clone if the implementation is cloneable.
- close() - Method in class javax.crypto.CipherInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class javax.crypto.CipherOutputStream
-
Closes this output stream and releases any system resources associated with this stream.
D
- DECRYPT_MODE - Static variable in class javax.crypto.Cipher
-
Constant used to initialize cipher to decryption mode.
- DEFAULT - Static variable in class javax.crypto.spec.OAEPParameterSpec
-
The OAEP parameter set with all default values.
- DEFAULT - Static variable in class javax.crypto.spec.PSource.PSpecified
-
The encoding input P whose value equals byte[0].
- DES_EDE_KEY_LEN - Static variable in class javax.crypto.spec.DESedeKeySpec
-
The constant which defines the length of a DESede key in bytes.
- DES_KEY_LEN - Static variable in class javax.crypto.spec.DESKeySpec
-
The constant which defines the length of a DES key in bytes.
- DESedeKeySpec - Class in javax.crypto.spec
-
This class specifies a DES-EDE ("triple-DES") key.
- DESedeKeySpec(byte[]) - Constructor for class javax.crypto.spec.DESedeKeySpec
-
Creates a DESedeKeySpec object using the first 24 bytes in
keyas the key material for the DES-EDE key. - DESedeKeySpec(byte[], int) - Constructor for class javax.crypto.spec.DESedeKeySpec
-
Creates a DESedeKeySpec object using the first 24 bytes in
key, beginning atoffsetinclusive, as the key material for the DES-EDE key. - DESKeySpec - Class in javax.crypto.spec
-
This class specifies a DES key.
- DESKeySpec(byte[]) - Constructor for class javax.crypto.spec.DESKeySpec
-
Creates a DESKeySpec object using the first 8 bytes in
keyas the key material for the DES key. - DESKeySpec(byte[], int) - Constructor for class javax.crypto.spec.DESKeySpec
-
Creates a DESKeySpec object using the first 8 bytes in
key, beginning atoffsetinclusive, as the key material for the DES key. - DHGenParameterSpec - Class in javax.crypto.spec
-
This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement.
- DHGenParameterSpec(int, int) - Constructor for class javax.crypto.spec.DHGenParameterSpec
-
Constructs a parameter set for the generation of Diffie-Hellman (system) parameters.
- DHKey - Interface in javax.crypto.interfaces
-
The interface to a Diffie-Hellman key.
- DHParameterSpec - Class in javax.crypto.spec
-
This class specifies the set of parameters used with the Diffie-Hellman algorithm, as specified in PKCS #3: Diffie-Hellman Key-Agreement Standard.
- DHParameterSpec(BigInteger, BigInteger) - Constructor for class javax.crypto.spec.DHParameterSpec
-
Constructs a parameter set for Diffie-Hellman, using a prime modulus
pand a base generatorg. - DHParameterSpec(BigInteger, BigInteger, int) - Constructor for class javax.crypto.spec.DHParameterSpec
-
Constructs a parameter set for Diffie-Hellman, using a prime modulus
p, a base generatorg, and the size in bits,l, of the random exponent (private value). - DHPrivateKey - Interface in javax.crypto.interfaces
-
The interface to a Diffie-Hellman private key.
- DHPrivateKeySpec - Class in javax.crypto.spec
-
This class specifies a Diffie-Hellman private key with its associated parameters.
- DHPrivateKeySpec(BigInteger, BigInteger, BigInteger) - Constructor for class javax.crypto.spec.DHPrivateKeySpec
-
Constructor that takes a private value
x, a prime modulusp, and a base generatorg. - DHPublicKey - Interface in javax.crypto.interfaces
-
The interface to a Diffie-Hellman public key.
- DHPublicKeySpec - Class in javax.crypto.spec
-
This class specifies a Diffie-Hellman public key with its associated parameters.
- DHPublicKeySpec(BigInteger, BigInteger, BigInteger) - Constructor for class javax.crypto.spec.DHPublicKeySpec
-
Constructor that takes a public value
y, a prime modulusp, and a base generatorg. - doFinal() - Method in class javax.crypto.Cipher
-
Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
- doFinal(byte[], int) - Method in class javax.crypto.Cipher
-
Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
- doFinal(byte[]) - Method in class javax.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int) - Method in class javax.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[]) - Method in class javax.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal(ByteBuffer, ByteBuffer) - Method in class javax.crypto.Cipher
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- doFinal() - Method in class javax.crypto.Mac
-
Finishes the MAC operation.
- doFinal(byte[], int) - Method in class javax.crypto.Mac
-
Finishes the MAC operation.
- doFinal(byte[]) - Method in class javax.crypto.Mac
-
Processes the given array of bytes and finishes the MAC operation.
- doPhase(Key, boolean) - Method in class javax.crypto.KeyAgreement
-
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.
E
- EdECPoint - Class in ibm.security.internal.spec
-
An elliptic curve point used to specify keys as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
- EdECPoint(boolean, BigInteger) - Constructor for class ibm.security.internal.spec.EdECPoint
-
Construct an EdECPoint.
- EdECPrivateKey - Interface in ibm.security.internal.interfaces
-
An interface for an elliptic curve private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
- EdECPrivateKeySpec - Class in ibm.security.internal.spec
-
A class representing elliptic curve private keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.
- EdECPrivateKeySpec(NamedParameterSpec, byte[]) - Constructor for class ibm.security.internal.spec.EdECPrivateKeySpec
-
Construct a private key spec using the supplied parameters and bit string.
- EdECPublicKey - Interface in ibm.security.internal.interfaces
-
An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA).
- EdECPublicKeySpec - Class in ibm.security.internal.spec
-
A class representing elliptic curve public keys as defined in RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA), including the curve and other algorithm parameters.
- EdECPublicKeySpec(NamedParameterSpec, EdECPoint) - Constructor for class ibm.security.internal.spec.EdECPublicKeySpec
-
Construct a public key spec using the supplied parameters and point.
- encodedParams - Variable in class javax.crypto.SealedObject
-
The cryptographic parameters used by the sealing Cipher, encoded in the default format.
- ENCRYPT_MODE - Static variable in class javax.crypto.Cipher
-
Constant used to initialize cipher to encryption mode.
- EncryptedPrivateKeyInfo - Class in javax.crypto
-
This class implements the
EncryptedPrivateKeyInfotype as defined in PKCS #8. - EncryptedPrivateKeyInfo(byte[]) - Constructor for class javax.crypto.EncryptedPrivateKeyInfo
-
Constructs (i.e., parses) an
EncryptedPrivateKeyInfofrom its ASN.1 encoding. - EncryptedPrivateKeyInfo(String, byte[]) - Constructor for class javax.crypto.EncryptedPrivateKeyInfo
-
Constructs an
EncryptedPrivateKeyInfofrom the encryption algorithm name and the encrypted data. - EncryptedPrivateKeyInfo(AlgorithmParameters, byte[]) - Constructor for class javax.crypto.EncryptedPrivateKeyInfo
-
Constructs an
EncryptedPrivateKeyInfofrom the encryption algorithm parameters and the encrypted data. - engineDoFinal(byte[], int, int) - Method in class javax.crypto.CipherSpi
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- engineDoFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.CipherSpi
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- engineDoFinal(ByteBuffer, ByteBuffer) - Method in class javax.crypto.CipherSpi
-
Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
- engineDoFinal() - Method in class javax.crypto.MacSpi
-
Completes the MAC computation and resets the MAC for further use, maintaining the secret key that the MAC was initialized with.
- engineDoPhase(Key, boolean) - Method in class javax.crypto.KeyAgreementSpi
-
Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.
- engineGenerateKey() - Method in class javax.crypto.KeyGeneratorSpi
-
Generates a secret key.
- engineGenerateSecret() - Method in class javax.crypto.KeyAgreementSpi
-
Generates the shared secret and returns it in a new buffer.
- engineGenerateSecret(byte[], int) - Method in class javax.crypto.KeyAgreementSpi
-
Generates the shared secret, and places it into the buffer
sharedSecret, beginning atoffsetinclusive. - engineGenerateSecret(String) - Method in class javax.crypto.KeyAgreementSpi
-
Creates the shared secret and returns it as a secret key object of the requested algorithm type.
- engineGenerateSecret(KeySpec) - Method in class javax.crypto.SecretKeyFactorySpi
-
Generates a
SecretKeyobject from the provided key specification (key material). - engineGenExemptionBlob() - Method in class javax.crypto.ExemptionMechanismSpi
-
Generates the exemption mechanism key blob.
- engineGenExemptionBlob(byte[], int) - Method in class javax.crypto.ExemptionMechanismSpi
-
Generates the exemption mechanism key blob, and stores the result in the
outputbuffer, starting atoutputOffsetinclusive. - engineGetBlockSize() - Method in class javax.crypto.CipherSpi
-
Returns the block size (in bytes).
- engineGetIV() - Method in class javax.crypto.CipherSpi
-
Returns the initialization vector (IV) in a new buffer.
- engineGetKeySize(Key) - Method in class javax.crypto.CipherSpi
-
Returns the key size of the given key object in bits.
- engineGetKeySpec(SecretKey, Class<?>) - Method in class javax.crypto.SecretKeyFactorySpi
-
Returns a specification (key material) of the given key object in the requested format.
- engineGetMacLength() - Method in class javax.crypto.MacSpi
-
Returns the length of the MAC in bytes.
- engineGetOutputSize(int) - Method in class javax.crypto.CipherSpi
-
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next
updateordoFinaloperation, given the input lengthinputLen(in bytes). - engineGetOutputSize(int) - Method in class javax.crypto.ExemptionMechanismSpi
-
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next
engineGenExemptionBloboperation, given the input lengthinputLen(in bytes). - engineGetParameters() - Method in class javax.crypto.CipherSpi
-
Returns the parameters used with this cipher.
- engineInit(int, Key, SecureRandom) - Method in class javax.crypto.CipherSpi
-
Initializes this cipher with a key and a source of randomness.
- engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.CipherSpi
-
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
- engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class javax.crypto.CipherSpi
-
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
- engineInit(Key) - Method in class javax.crypto.ExemptionMechanismSpi
-
Initializes this exemption mechanism with a key.
- engineInit(Key, AlgorithmParameterSpec) - Method in class javax.crypto.ExemptionMechanismSpi
-
Initializes this exemption mechanism with a key and a set of algorithm parameters.
- engineInit(Key, AlgorithmParameters) - Method in class javax.crypto.ExemptionMechanismSpi
-
Initializes this exemption mechanism with a key and a set of algorithm parameters.
- engineInit(Key, SecureRandom) - Method in class javax.crypto.KeyAgreementSpi
-
Initializes this key agreement with the given key and source of randomness.
- engineInit(Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyAgreementSpi
-
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
- engineInit(SecureRandom) - Method in class javax.crypto.KeyGeneratorSpi
-
Initializes the key generator.
- engineInit(AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyGeneratorSpi
-
Initializes the key generator with the specified parameter set and a user-provided source of randomness.
- engineInit(int, SecureRandom) - Method in class javax.crypto.KeyGeneratorSpi
-
Initializes this key generator for a certain keysize, using the given source of randomness.
- engineInit(Key, AlgorithmParameterSpec) - Method in class javax.crypto.MacSpi
-
Initializes the MAC with the given (secret) key and algorithm parameters.
- engineReset() - Method in class javax.crypto.MacSpi
-
Resets the MAC for further use, maintaining the secret key that the MAC was initialized with.
- engineSetMode(String) - Method in class javax.crypto.CipherSpi
-
Sets the mode of this cipher.
- engineSetPadding(String) - Method in class javax.crypto.CipherSpi
-
Sets the padding mechanism of this cipher.
- engineTranslateKey(SecretKey) - Method in class javax.crypto.SecretKeyFactorySpi
-
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
- engineUnwrap(byte[], String, int) - Method in class javax.crypto.CipherSpi
-
Unwrap a previously wrapped key.
- engineUpdate(byte[], int, int) - Method in class javax.crypto.CipherSpi
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- engineUpdate(byte[], int, int, byte[], int) - Method in class javax.crypto.CipherSpi
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- engineUpdate(ByteBuffer, ByteBuffer) - Method in class javax.crypto.CipherSpi
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- engineUpdate(byte) - Method in class javax.crypto.MacSpi
-
Processes the given byte.
- engineUpdate(byte[], int, int) - Method in class javax.crypto.MacSpi
-
Processes the first
lenbytes ininput, starting atoffsetinclusive. - engineUpdate(ByteBuffer) - Method in class javax.crypto.MacSpi
-
Processes
input.remaining()bytes in the ByteBufferinput, starting atinput.position(). - engineUpdateAAD(byte[], int, int) - Method in class javax.crypto.CipherSpi
-
Continues a multi-part update of the Additional Authentication Data (AAD), using a subset of the provided buffer.
- engineUpdateAAD(ByteBuffer) - Method in class javax.crypto.CipherSpi
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- engineWrap(Key) - Method in class javax.crypto.CipherSpi
-
Wrap a key.
- equals(Object) - Method in class javax.crypto.spec.RC2ParameterSpec
-
Tests for equality between the specified object and this object.
- equals(Object) - Method in class javax.crypto.spec.RC5ParameterSpec
-
Tests for equality between the specified object and this object.
- equals(Object) - Method in class javax.crypto.spec.SecretKeySpec
-
Tests for equality between the specified object and this object.
- ExemptionMechanism - Class in javax.crypto
-
This class provides the functionality of an exemption mechanism, examples of which are key recovery, key weakening, and key escrow.
- ExemptionMechanism(ExemptionMechanismSpi, Provider, String) - Constructor for class javax.crypto.ExemptionMechanism
-
Creates a ExemptionMechanism object.
- ExemptionMechanismException - Exception in javax.crypto
-
This is the generic ExemptionMechanism exception.
- ExemptionMechanismException() - Constructor for exception javax.crypto.ExemptionMechanismException
-
Constructs a ExemptionMechanismException with no detailed message.
- ExemptionMechanismException(String) - Constructor for exception javax.crypto.ExemptionMechanismException
-
Constructs a ExemptionMechanismException with the specified detailed message.
- ExemptionMechanismSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI) for the
ExemptionMechanismclass. - ExemptionMechanismSpi() - Constructor for class javax.crypto.ExemptionMechanismSpi
F
- finalize() - Method in class ibm.security.internal.spec.RawKeySpec
- finalize() - Method in class javax.crypto.ExemptionMechanism
-
Ensures that the key stored away by this ExemptionMechanism object will be wiped out when there are no more references to it.
- flush() - Method in class javax.crypto.CipherOutputStream
-
Flushes this output stream by forcing any buffered output bytes that have already been processed by the encapsulated cipher object to be written out.
G
- GCMParameterSpec - Class in javax.crypto.spec
-
Specifies the set of parameters required by a
Cipherusing the Galois/Counter Mode (GCM) mode. - GCMParameterSpec(int, byte[]) - Constructor for class javax.crypto.spec.GCMParameterSpec
-
Constructs a GCMParameterSpec using the specified authentication tag bit-length and IV buffer.
- GCMParameterSpec(int, byte[], int, int) - Constructor for class javax.crypto.spec.GCMParameterSpec
-
Constructs a GCMParameterSpec object using the specified authentication tag bit-length and a subset of the specified buffer as the IV.
- generateKey() - Method in class javax.crypto.KeyGenerator
-
Generates a secret key.
- generateSecret() - Method in class javax.crypto.KeyAgreement
-
Generates the shared secret and returns it in a new buffer.
- generateSecret(byte[], int) - Method in class javax.crypto.KeyAgreement
-
Generates the shared secret, and places it into the buffer
sharedSecret, beginning atoffsetinclusive. - generateSecret(String) - Method in class javax.crypto.KeyAgreement
-
Creates the shared secret and returns it as a
SecretKeyobject of the specified algorithm. - generateSecret(KeySpec) - Method in class javax.crypto.SecretKeyFactory
-
Generates a
SecretKeyobject from the provided key specification (key material). - genExemptionBlob() - Method in class javax.crypto.ExemptionMechanism
-
Generates the exemption mechanism key blob.
- genExemptionBlob(byte[]) - Method in class javax.crypto.ExemptionMechanism
-
Generates the exemption mechanism key blob, and stores the result in the
outputbuffer. - genExemptionBlob(byte[], int) - Method in class javax.crypto.ExemptionMechanism
-
Generates the exemption mechanism key blob, and stores the result in the
outputbuffer, starting atoutputOffsetinclusive. - getAlgName() - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Returns the encryption algorithm.
- getAlgorithm() - Method in class javax.crypto.Cipher
-
Returns the algorithm name of this
Cipherobject. - getAlgorithm() - Method in class javax.crypto.KeyAgreement
-
Returns the algorithm name of this
KeyAgreementobject. - getAlgorithm() - Method in class javax.crypto.KeyGenerator
-
Returns the algorithm name of this
KeyGeneratorobject. - getAlgorithm() - Method in class javax.crypto.Mac
-
Returns the algorithm name of this
Macobject. - getAlgorithm() - Method in class javax.crypto.SealedObject
-
Returns the algorithm that was used to seal this object.
- getAlgorithm() - Method in class javax.crypto.SecretKeyFactory
-
Returns the algorithm name of this
SecretKeyFactoryobject. - getAlgorithm() - Method in class javax.crypto.spec.PSource
-
Returns the PSource algorithm name.
- getAlgorithm() - Method in class javax.crypto.spec.SecretKeySpec
-
Returns the name of the algorithm associated with this secret key.
- getAlgParameters() - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Returns the algorithm parameters used by the encryption algorithm.
- getBlockSize() - Method in class javax.crypto.Cipher
-
Returns the block size (in bytes).
- getBytes() - Method in interface ibm.security.internal.interfaces.EdECPrivateKey
-
Get a copy of the byte array representing the private key.
- getBytes() - Method in class ibm.security.internal.spec.EdECPrivateKeySpec
-
Get the byte array representing the private key.
- getCounter() - Method in class ibm.security.internal.spec.ChaCha20ParameterSpec
-
Returns the configured counter value.
- getCurve() - Method in class ibm.security.internal.spec.NamedParameterSpec
-
Returns the curve's type (enum)
- getCurveOfSize(int) - Static method in class ibm.security.internal.spec.NamedParameterSpec
-
Returns the curve from the given size.
- getDigestAlgorithm() - Method in class javax.crypto.spec.OAEPParameterSpec
-
Returns the message digest algorithm name.
- getEffectiveKeyBits() - Method in class javax.crypto.spec.RC2ParameterSpec
-
Returns the effective key size in bits.
- getEncapsulation() - Method in interface ibm.security.internal.interfaces.PQCKEMSecret
-
Returns the key encapsulation message,
encapsulation - getEncoded() - Method in class ibm.security.internal.spec.RFC5915ECPrivateKeyEncodedKeySpec
-
Returns the key bytes, encoded according to the RFC5915 standard.
- getEncoded() - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Returns the ASN.1 encoding of this object.
- getEncoded() - Method in class javax.crypto.spec.SecretKeySpec
-
Returns the key material of this secret key.
- getEncodedPoint() - Method in interface ibm.security.internal.interfaces.EdECPublicKey
-
Returns the bytes associated with the key.
- getEncryptedData() - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Returns the encrypted data.
- getExemptionMechanism() - Method in class javax.crypto.Cipher
-
Returns the exemption mechanism object used with this cipher.
- getExponentSize() - Method in class javax.crypto.spec.DHGenParameterSpec
-
Returns the size in bits of the random exponent (private value).
- getFormat() - Method in class ibm.security.internal.spec.RFC5915ECPrivateKeyEncodedKeySpec
-
Returns the name of the encoding format associated with this key specification.
- getFormat() - Method in class javax.crypto.spec.SecretKeySpec
-
Returns the name of the encoding format for this secret key.
- getG() - Method in class javax.crypto.spec.DHParameterSpec
-
Returns the base generator
g. - getG() - Method in class javax.crypto.spec.DHPrivateKeySpec
-
Returns the base generator
g. - getG() - Method in class javax.crypto.spec.DHPublicKeySpec
-
Returns the base generator
g. - getInfo() - Method in class ibm.security.internal.spec.HKDFExpandParameterSpec
-
Returns the info that contains optional context and application specific information
- getInfo() - Method in class ibm.security.internal.spec.HKDFParameterSpec
-
Returns the info that contains optional context and application specific information
- getInKeyMaterial() - Method in class ibm.security.internal.spec.HKDFExtractParameterSpec
-
Returns the input key material
- getInKeyMaterial() - Method in class ibm.security.internal.spec.HKDFParameterSpec
-
Returns the input key material
- getInstance(String) - Static method in class javax.crypto.Cipher
-
Returns a
Cipherobject that implements the specified transformation. - getInstance(String, String) - Static method in class javax.crypto.Cipher
-
Returns a
Cipherobject that implements the specified transformation. - getInstance(String, Provider) - Static method in class javax.crypto.Cipher
-
Returns a
Cipherobject that implements the specified transformation. - getInstance(String) - Static method in class javax.crypto.ExemptionMechanism
-
Returns an
ExemptionMechanismobject that implements the specified exemption mechanism algorithm. - getInstance(String, String) - Static method in class javax.crypto.ExemptionMechanism
-
Returns an
ExemptionMechanismobject that implements the specified exemption mechanism algorithm. - getInstance(String, Provider) - Static method in class javax.crypto.ExemptionMechanism
-
Returns an
ExemptionMechanismobject that implements the specified exemption mechanism algorithm. - getInstance(String) - Static method in class javax.crypto.KeyAgreement
-
Returns a
KeyAgreementobject that implements the specified key agreement algorithm. - getInstance(String, String) - Static method in class javax.crypto.KeyAgreement
-
Returns a
KeyAgreementobject that implements the specified key agreement algorithm. - getInstance(String, Provider) - Static method in class javax.crypto.KeyAgreement
-
Returns a
KeyAgreementobject that implements the specified key agreement algorithm. - getInstance(String) - Static method in class javax.crypto.KeyGenerator
-
Returns a
KeyGeneratorobject that generates secret keys for the specified algorithm. - getInstance(String, String) - Static method in class javax.crypto.KeyGenerator
-
Returns a
KeyGeneratorobject that generates secret keys for the specified algorithm. - getInstance(String, Provider) - Static method in class javax.crypto.KeyGenerator
-
Returns a
KeyGeneratorobject that generates secret keys for the specified algorithm. - getInstance(String) - Static method in class javax.crypto.Mac
-
Returns a
Macobject that implements the specified MAC algorithm. - getInstance(String, String) - Static method in class javax.crypto.Mac
-
Returns a
Macobject that implements the specified MAC algorithm. - getInstance(String, Provider) - Static method in class javax.crypto.Mac
-
Returns a
Macobject that implements the specified MAC algorithm. - getInstance(String) - Static method in class javax.crypto.SecretKeyFactory
-
Returns a
SecretKeyFactoryobject that converts secret keys of the specified algorithm. - getInstance(String, String) - Static method in class javax.crypto.SecretKeyFactory
-
Returns a
SecretKeyFactoryobject that converts secret keys of the specified algorithm. - getInstance(String, Provider) - Static method in class javax.crypto.SecretKeyFactory
-
Returns a
SecretKeyFactoryobject that converts secret keys of the specified algorithm. - getIterationCount() - Method in interface javax.crypto.interfaces.PBEKey
-
Returns the iteration count or 0 if not specified.
- getIterationCount() - Method in class javax.crypto.spec.PBEKeySpec
-
Returns the iteration count or 0 if not specified.
- getIterationCount() - Method in class javax.crypto.spec.PBEParameterSpec
-
Returns the iteration count.
- getIV() - Method in class ibm.security.internal.spec.CCMParameterSpec
-
Returns the initialization vector (IV).
- getIV() - Method in class javax.crypto.Cipher
-
Returns the initialization vector (IV) in a new buffer.
- getIV() - Method in class javax.crypto.spec.GCMParameterSpec
-
Returns the Initialization Vector (IV).
- getIV() - Method in class javax.crypto.spec.IvParameterSpec
-
Returns the initialization vector (IV).
- getIV() - Method in class javax.crypto.spec.RC2ParameterSpec
-
Returns the IV or null if this parameter set does not contain an IV.
- getIV() - Method in class javax.crypto.spec.RC5ParameterSpec
-
Returns the IV or null if this parameter set does not contain an IV.
- getKey() - Method in class javax.crypto.spec.DESedeKeySpec
-
Returns the DES-EDE key.
- getKey() - Method in class javax.crypto.spec.DESKeySpec
-
Returns the DES key material.
- getKeyAlgorithm() - Method in class ibm.security.internal.spec.HKDFExpandParameterSpec
-
Returns the name of the key algorithm
- getKeyAlgorithm() - Method in class ibm.security.internal.spec.HKDFExtractParameterSpec
-
Returns the name of the key algorithm
- getKeyAlgorithm() - Method in class ibm.security.internal.spec.HKDFParameterSpec
-
Returns the name of the key algorithm
- getKeyArr() - Method in class ibm.security.internal.spec.RawKeySpec
- getKeyLength() - Method in class javax.crypto.spec.PBEKeySpec
-
Returns the to-be-derived key length or 0 if not specified.
- getKeySpec(Cipher) - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
- getKeySpec(Key) - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
- getKeySpec(Key, String) - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
- getKeySpec(Key, Provider) - Method in class javax.crypto.EncryptedPrivateKeyInfo
-
Extract the enclosed PKCS8EncodedKeySpec object from the encrypted data and return it.
- getKeySpec(SecretKey, Class<?>) - Method in class javax.crypto.SecretKeyFactory
-
Returns a specification (key material) of the given key object in the requested format.
- getL() - Method in class javax.crypto.spec.DHParameterSpec
-
Returns the size in bits,
l, of the random exponent (private value). - getMacLength() - Method in class javax.crypto.Mac
-
Returns the length of the MAC in bytes.
- getMaxAllowedKeyLength(String) - Static method in class javax.crypto.Cipher
-
Returns the maximum key length for the specified transformation according to the installed JCE jurisdiction policy files.
- getMaxAllowedParameterSpec(String) - Static method in class javax.crypto.Cipher
-
Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file.
- getMGFAlgorithm() - Method in class javax.crypto.spec.OAEPParameterSpec
-
Returns the mask generation function algorithm name.
- getMGFParameters() - Method in class javax.crypto.spec.OAEPParameterSpec
-
Returns the parameters for the mask generation function.
- getName() - Method in class ibm.security.internal.spec.NamedParameterSpec
-
Returns the curve's name
- getName() - Method in class javax.crypto.ExemptionMechanism
-
Returns the exemption mechanism name of this
ExemptionMechanismobject. - getNonce() - Method in class ibm.security.internal.spec.ChaCha20ParameterSpec
-
Returns the nonce value.
- getObject(Key) - Method in class javax.crypto.SealedObject
-
Retrieves the original (encapsulated) object.
- getObject(Cipher) - Method in class javax.crypto.SealedObject
-
Retrieves the original (encapsulated) object.
- getObject(Key, String) - Method in class javax.crypto.SealedObject
-
Retrieves the original (encapsulated) object.
- getOkmLength() - Method in class ibm.security.internal.spec.HKDFExpandParameterSpec
-
Returns the length of output Key Material
- getOkmLength() - Method in class ibm.security.internal.spec.HKDFParameterSpec
-
Returns the length of output Key Material
- getOutputSize(int) - Method in class javax.crypto.Cipher
-
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next
updateordoFinaloperation, given the input lengthinputLen(in bytes). - getOutputSize(int) - Method in class javax.crypto.ExemptionMechanism
-
Returns the length in bytes that an output buffer would need to be in order to hold the result of the next
genExemptionBloboperation, given the input lengthinputLen(in bytes). - getP() - Method in class javax.crypto.spec.DHParameterSpec
-
Returns the prime modulus
p. - getP() - Method in class javax.crypto.spec.DHPrivateKeySpec
-
Returns the prime modulus
p. - getP() - Method in class javax.crypto.spec.DHPublicKeySpec
-
Returns the prime modulus
p. - getParameters() - Method in class javax.crypto.Cipher
-
Returns the parameters used with this cipher.
- getParameterSpec() - Method in class javax.crypto.spec.PBEParameterSpec
-
Returns the cipher algorithm parameter specification.
- getParams() - Method in interface ibm.security.internal.interfaces.EdECPrivateKey
-
Returns the algorithm parameters associated with the key.
- getParams() - Method in interface ibm.security.internal.interfaces.EdECPublicKey
-
Returns the algorithm parameters associated with the key.
- getParams() - Method in interface ibm.security.internal.interfaces.XECKey
-
Returns the algorithm parameters associated with the key.
- getParams() - Method in class ibm.security.internal.spec.EdECPrivateKeySpec
-
Get the algorithm parameters that define the curve and other settings.
- getParams() - Method in class ibm.security.internal.spec.EdECPublicKeySpec
-
Get the algorithm parameters that define the curve and other settings.
- getParams() - Method in class ibm.security.internal.spec.XECPrivateKeySpec
-
Get the algorithm parameters that define the curve and other settings.
- getParams() - Method in class ibm.security.internal.spec.XECPublicKeySpec
-
Get the algorithm parameters.
- getParams() - Method in interface javax.crypto.interfaces.DHKey
-
Returns the key parameters.
- getPassword() - Method in interface javax.crypto.interfaces.PBEKey
-
Returns the password.
- getPassword() - Method in class javax.crypto.spec.PBEKeySpec
-
Returns a copy of the password.
- getPoint() - Method in interface ibm.security.internal.interfaces.EdECPublicKey
-
Get the point representing the public key.
- getPoint() - Method in class ibm.security.internal.spec.EdECPublicKeySpec
-
Get the point representing the public key.
- getPrimeSize() - Method in class javax.crypto.spec.DHGenParameterSpec
-
Returns the size in bits of the prime modulus.
- getPrivateCurveSize(NamedParameterSpec.CURVE) - Static method in class ibm.security.internal.spec.NamedParameterSpec
-
Returns the private curve size from the given curve.
- getPrk() - Method in class ibm.security.internal.spec.HKDFExpandParameterSpec
-
Returns the Psuedo Random Key material
- getProvider() - Method in class javax.crypto.Cipher
-
Returns the provider of this
Cipherobject. - getProvider() - Method in class javax.crypto.ExemptionMechanism
-
Returns the provider of this
ExemptionMechanismobject. - getProvider() - Method in class javax.crypto.KeyAgreement
-
Returns the provider of this
KeyAgreementobject. - getProvider() - Method in class javax.crypto.KeyGenerator
-
Returns the provider of this
KeyGeneratorobject. - getProvider() - Method in class javax.crypto.Mac
-
Returns the provider of this
Macobject. - getProvider() - Method in class javax.crypto.SecretKeyFactory
-
Returns the provider of this
SecretKeyFactoryobject. - getPSource() - Method in class javax.crypto.spec.OAEPParameterSpec
-
Returns the source of encoding input P.
- getPublicCurveOfSize(int) - Static method in class ibm.security.internal.spec.NamedParameterSpec
-
Returns the public curve from the given size.
- getPublicCurveSize(NamedParameterSpec.CURVE) - Static method in class ibm.security.internal.spec.NamedParameterSpec
-
Returns the public curve size from the given curve.
- getRounds() - Method in class javax.crypto.spec.RC5ParameterSpec
-
Returns the number of rounds.
- getSalt() - Method in class ibm.security.internal.spec.HKDFExtractParameterSpec
-
Returns the salt
- getSalt() - Method in class ibm.security.internal.spec.HKDFParameterSpec
-
Returns the salt
- getSalt() - Method in interface javax.crypto.interfaces.PBEKey
-
Returns the salt or null if not specified.
- getSalt() - Method in class javax.crypto.spec.PBEKeySpec
-
Returns a copy of the salt or null if not specified.
- getSalt() - Method in class javax.crypto.spec.PBEParameterSpec
-
Returns the salt.
- getScalar() - Method in interface ibm.security.internal.interfaces.XECPrivateKey
-
Get the scalar value encoded as an unpruned byte array.
- getScalar() - Method in class ibm.security.internal.spec.XECPrivateKeySpec
-
Get the scalar value encoded as an unpruned byte array.
- getSecret() - Method in interface ibm.security.internal.interfaces.PQCKEMSecret
-
Returns the secret
byte[]. - getTLen() - Method in class ibm.security.internal.spec.CCMParameterSpec
-
Returns the authentication tag length.
- getTLen() - Method in class javax.crypto.spec.GCMParameterSpec
-
Returns the authentication tag length.
- getU() - Method in interface ibm.security.internal.interfaces.XECPublicKey
-
Get the u coordinate of the point.
- getU() - Method in class ibm.security.internal.spec.XECPublicKeySpec
-
Get the u coordinate of the point.
- getValue() - Method in class javax.crypto.spec.PSource.PSpecified
-
Returns the value of encoding input P.
- getVersion() - Method in class javax.crypto.spec.RC5ParameterSpec
-
Returns the version.
- getWordSize() - Method in class javax.crypto.spec.RC5ParameterSpec
-
Returns the word size in bits.
- getX() - Method in interface javax.crypto.interfaces.DHPrivateKey
-
Returns the private value,
x. - getX() - Method in class javax.crypto.spec.DHPrivateKeySpec
-
Returns the private value
x. - getY() - Method in class ibm.security.internal.spec.EdECPoint
-
Get the y-coordinate of the point.
- getY() - Method in interface javax.crypto.interfaces.DHPublicKey
-
Returns the public value,
y. - getY() - Method in class javax.crypto.spec.DHPublicKeySpec
-
Returns the public value
y.
H
- hashCode() - Method in class javax.crypto.spec.RC2ParameterSpec
-
Calculates a hash code value for the object.
- hashCode() - Method in class javax.crypto.spec.RC5ParameterSpec
-
Calculates a hash code value for the object.
- hashCode() - Method in class javax.crypto.spec.SecretKeySpec
-
Calculates a hash code value for the object.
- HKDFExpandParameterSpec - Class in ibm.security.internal.spec
-
This class specifies the set of parameters used with HKDFExpandParameterSpec
- HKDFExpandParameterSpec(byte[], byte[], long, String) - Constructor for class ibm.security.internal.spec.HKDFExpandParameterSpec
-
Constructs a parameter set for HKDFExpandParameterSpec from the given Psuedo Random Key material, the info, output key material length and the Key Algorithm.
- HKDFExpandParameterSpec(SecretKey, byte[], long, String) - Constructor for class ibm.security.internal.spec.HKDFExpandParameterSpec
-
Constructs a parameter set for HKDFExpandParameterSpec from the given Psuedo Random Key, the info, output key material length and the Key Algorithm.
- HKDFExtractParameterSpec - Class in ibm.security.internal.spec
-
This class specifies the set of parameters used with HKDFExtractParameterSpec
- HKDFExtractParameterSpec(byte[], byte[], String) - Constructor for class ibm.security.internal.spec.HKDFExtractParameterSpec
-
Constructs a parameter set for HKDFExtractParameterSpec from the given input key material, the salt and the Key Algorithm.
- HKDFExtractParameterSpec(SecretKey, byte[], String) - Constructor for class ibm.security.internal.spec.HKDFExtractParameterSpec
-
Constructs a parameter set for HKDFExtractParameterSpec from the given input key, the salt and the Key Algorithm.
- HKDFParameterSpec - Class in ibm.security.internal.spec
-
This class specifies the set of parameters used with HKDFParameterSpec
- HKDFParameterSpec(byte[], byte[], byte[], long, String) - Constructor for class ibm.security.internal.spec.HKDFParameterSpec
-
Constructs a parameter set for HKDFParameterSpec.
- HKDFParameterSpec(SecretKey, byte[], byte[], long, String) - Constructor for class ibm.security.internal.spec.HKDFParameterSpec
-
Constructs a parameter set for HKDFParameterSpec.
I
- ibm.security.internal.interfaces - package ibm.security.internal.interfaces
- ibm.security.internal.spec - package ibm.security.internal.spec
- IllegalBlockSizeException - Exception in javax.crypto
-
This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
- IllegalBlockSizeException() - Constructor for exception javax.crypto.IllegalBlockSizeException
-
Constructs an IllegalBlockSizeException with no detail message.
- IllegalBlockSizeException(String) - Constructor for exception javax.crypto.IllegalBlockSizeException
-
Constructs an IllegalBlockSizeException with the specified detail message.
- init(int, Key) - Method in class javax.crypto.Cipher
-
Initializes this cipher with a key.
- init(int, Key, SecureRandom) - Method in class javax.crypto.Cipher
-
Initializes this cipher with a key and a source of randomness.
- init(int, Key, AlgorithmParameterSpec) - Method in class javax.crypto.Cipher
-
Initializes this cipher with a key and a set of algorithm parameters.
- init(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.Cipher
-
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
- init(int, Key, AlgorithmParameters) - Method in class javax.crypto.Cipher
-
Initializes this cipher with a key and a set of algorithm parameters.
- init(int, Key, AlgorithmParameters, SecureRandom) - Method in class javax.crypto.Cipher
-
Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.
- init(int, Certificate) - Method in class javax.crypto.Cipher
-
Initializes this cipher with the public key from the given certificate.
- init(int, Certificate, SecureRandom) - Method in class javax.crypto.Cipher
-
Initializes this cipher with the public key from the given certificate and a source of randomness.
- init(Key) - Method in class javax.crypto.ExemptionMechanism
-
Initializes this exemption mechanism with a key.
- init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.ExemptionMechanism
-
Initializes this exemption mechanism with a key and a set of algorithm parameters.
- init(Key, AlgorithmParameters) - Method in class javax.crypto.ExemptionMechanism
-
Initializes this exemption mechanism with a key and a set of algorithm parameters.
- init(Key) - Method in class javax.crypto.KeyAgreement
-
Initializes this key agreement with the given key, which is required to contain all the algorithm parameters required for this key agreement.
- init(Key, SecureRandom) - Method in class javax.crypto.KeyAgreement
-
Initializes this key agreement with the given key and source of randomness.
- init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.KeyAgreement
-
Initializes this key agreement with the given key and set of algorithm parameters.
- init(Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyAgreement
-
Initializes this key agreement with the given key, set of algorithm parameters, and source of randomness.
- init(SecureRandom) - Method in class javax.crypto.KeyGenerator
-
Initializes this key generator.
- init(AlgorithmParameterSpec) - Method in class javax.crypto.KeyGenerator
-
Initializes this key generator with the specified parameter set.
- init(AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyGenerator
-
Initializes this key generator with the specified parameter set and a user-provided source of randomness.
- init(int) - Method in class javax.crypto.KeyGenerator
-
Initializes this key generator for a certain keysize.
- init(int, SecureRandom) - Method in class javax.crypto.KeyGenerator
-
Initializes this key generator for a certain keysize, using a user-provided source of randomness.
- init(Key) - Method in class javax.crypto.Mac
-
Initializes this
Macobject with the given key. - init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.Mac
-
Initializes this
Macobject with the given key and algorithm parameters. - isCryptoAllowed(Key) - Method in class javax.crypto.ExemptionMechanism
-
Returns whether the result blob has been generated successfully by this exemption mechanism.
- isParityAdjusted(byte[], int) - Static method in class javax.crypto.spec.DESedeKeySpec
-
Checks if the given DES-EDE key, starting at
offsetinclusive, is parity-adjusted. - isParityAdjusted(byte[], int) - Static method in class javax.crypto.spec.DESKeySpec
-
Checks if the given DES key material, starting at
offsetinclusive, is parity-adjusted. - isWeak(byte[], int) - Static method in class javax.crypto.spec.DESKeySpec
-
Checks if the given DES key material is weak or semi-weak.
- isXOdd() - Method in class ibm.security.internal.spec.EdECPoint
-
Get whether the x-coordinate of the point is odd.
- IvParameterSpec - Class in javax.crypto.spec
-
This class specifies an initialization vector (IV).
- IvParameterSpec(byte[]) - Constructor for class javax.crypto.spec.IvParameterSpec
-
Creates an IvParameterSpec object using the bytes in
ivas the IV. - IvParameterSpec(byte[], int, int) - Constructor for class javax.crypto.spec.IvParameterSpec
-
Creates an IvParameterSpec object using the first
lenbytes iniv, beginning atoffsetinclusive, as the IV.
J
- javax.crypto - package javax.crypto
- javax.crypto.interfaces - package javax.crypto.interfaces
- javax.crypto.spec - package javax.crypto.spec
K
- KeyAgreement - Class in javax.crypto
-
This class provides the functionality of a key agreement (or key exchange) protocol.
- KeyAgreement(KeyAgreementSpi, Provider, String) - Constructor for class javax.crypto.KeyAgreement
-
Creates a KeyAgreement object.
- KeyAgreementSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI) for the
KeyAgreementclass. - KeyAgreementSpi() - Constructor for class javax.crypto.KeyAgreementSpi
- KeyGenerator - Class in javax.crypto
-
This class provides the functionality of a secret (symmetric) key generator.
- KeyGenerator(KeyGeneratorSpi, Provider, String) - Constructor for class javax.crypto.KeyGenerator
-
Creates a KeyGenerator object.
- KeyGeneratorSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI) for the
KeyGeneratorclass. - KeyGeneratorSpi() - Constructor for class javax.crypto.KeyGeneratorSpi
M
- Mac - Class in javax.crypto
-
This class provides the functionality of a "Message Authentication Code" (MAC) algorithm.
- Mac(MacSpi, Provider, String) - Constructor for class javax.crypto.Mac
-
Creates a MAC object.
- MacSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI) for the
Macclass. - MacSpi() - Constructor for class javax.crypto.MacSpi
- markSupported() - Method in class javax.crypto.CipherInputStream
-
Tests if this input stream supports the
markandresetmethods, which it does not.
N
- NamedParameterSpec - Class in ibm.security.internal.spec
-
This class is used to specify any algorithm parameters that are determined by a standard name.
- NamedParameterSpec(String) - Constructor for class ibm.security.internal.spec.NamedParameterSpec
-
Constructs a NamedParameterSpec from the curve name.
- NamedParameterSpec(int) - Constructor for class ibm.security.internal.spec.NamedParameterSpec
-
Constructs keySize NamedParameterSpec from the keySize.
- NamedParameterSpec(NamedParameterSpec.CURVE) - Constructor for class ibm.security.internal.spec.NamedParameterSpec
-
Constructs a NamedParameterSpec from the curve enum
- NamedParameterSpec.CURVE - Enum in ibm.security.internal.spec
-
ENUM that identifiy's the elliptic curve to be used.
- NoSuchPaddingException - Exception in javax.crypto
-
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
- NoSuchPaddingException() - Constructor for exception javax.crypto.NoSuchPaddingException
-
Constructs a NoSuchPaddingException with no detail message.
- NoSuchPaddingException(String) - Constructor for exception javax.crypto.NoSuchPaddingException
-
Constructs a NoSuchPaddingException with the specified detail message.
- NullCipher - Class in javax.crypto
-
The NullCipher class is a class that provides an "identity cipher" -- one that does not transform the plaintext.
- NullCipher() - Constructor for class javax.crypto.NullCipher
-
Creates a NullCipher object.
O
- OAEPParameterSpec - Class in javax.crypto.spec
-
This class specifies the set of parameters used with OAEP Padding, as defined in the PKCS#1 v2.2 standard.
- OAEPParameterSpec(String, String, AlgorithmParameterSpec, PSource) - Constructor for class javax.crypto.spec.OAEPParameterSpec
-
Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithm
mdName, mask generation function algorithmmgfName, parameters for the mask generation functionmgfSpec, and source of the encoding input PpSrc.
P
- PBEKey - Interface in javax.crypto.interfaces
-
The interface to a PBE key.
- PBEKeySpec - Class in javax.crypto.spec
-
A user-chosen password that can be used with password-based encryption (PBE).
- PBEKeySpec(char[]) - Constructor for class javax.crypto.spec.PBEKeySpec
-
Constructor that takes a password.
- PBEKeySpec(char[], byte[], int, int) - Constructor for class javax.crypto.spec.PBEKeySpec
-
Constructor that takes a password, salt, iteration count, and to-be-derived key length for generating PBEKey of variable-key-size PBE ciphers.
- PBEKeySpec(char[], byte[], int) - Constructor for class javax.crypto.spec.PBEKeySpec
-
Constructor that takes a password, salt, iteration count for generating PBEKey of fixed-key-size PBE ciphers.
- PBEParameterSpec - Class in javax.crypto.spec
-
This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.
- PBEParameterSpec(byte[], int) - Constructor for class javax.crypto.spec.PBEParameterSpec
-
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
- PBEParameterSpec(byte[], int, AlgorithmParameterSpec) - Constructor for class javax.crypto.spec.PBEParameterSpec
-
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
- PQCKEMSecret - Interface in ibm.security.internal.interfaces
-
An interface to PQC Secret
- PRIVATE_KEY - Static variable in class javax.crypto.Cipher
-
Constant used to indicate the to-be-unwrapped key is a "private key".
- PSource - Class in javax.crypto.spec
-
This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS#1 v2.2 standard.
- PSource(String) - Constructor for class javax.crypto.spec.PSource
-
Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm.
- PSource.PSpecified - Class in javax.crypto.spec
-
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
- PSpecified(byte[]) - Constructor for class javax.crypto.spec.PSource.PSpecified
-
Constructs the source explicitly with the specified value
pas the encoding input P. - PUBLIC_KEY - Static variable in class javax.crypto.Cipher
-
Constant used to indicate the to-be-unwrapped key is a "public key".
R
- RawKeySpec - Class in ibm.security.internal.spec
-
This is here for easier compatability with IBMJDK 21 and above.
- RawKeySpec(byte[]) - Constructor for class ibm.security.internal.spec.RawKeySpec
- RC2ParameterSpec - Class in javax.crypto.spec
-
This class specifies the parameters used with the RC2 algorithm.
- RC2ParameterSpec(int) - Constructor for class javax.crypto.spec.RC2ParameterSpec
-
Constructs a parameter set for RC2 from the given effective key size (in bits).
- RC2ParameterSpec(int, byte[]) - Constructor for class javax.crypto.spec.RC2ParameterSpec
-
Constructs a parameter set for RC2 from the given effective key size (in bits) and an 8-byte IV.
- RC2ParameterSpec(int, byte[], int) - Constructor for class javax.crypto.spec.RC2ParameterSpec
-
Constructs a parameter set for RC2 from the given effective key size (in bits) and IV.
- RC5ParameterSpec - Class in javax.crypto.spec
-
This class specifies the parameters used with the RC5 algorithm.
- RC5ParameterSpec(int, int, int) - Constructor for class javax.crypto.spec.RC5ParameterSpec
-
Constructs a parameter set for RC5 from the given version, number of rounds and word size (in bits).
- RC5ParameterSpec(int, int, int, byte[]) - Constructor for class javax.crypto.spec.RC5ParameterSpec
-
Constructs a parameter set for RC5 from the given version, number of rounds, word size (in bits), and IV.
- RC5ParameterSpec(int, int, int, byte[], int) - Constructor for class javax.crypto.spec.RC5ParameterSpec
-
Constructs a parameter set for RC5 from the given version, number of rounds, word size (in bits), and IV.
- read() - Method in class javax.crypto.CipherInputStream
-
Reads the next byte of data from this input stream.
- read(byte[]) - Method in class javax.crypto.CipherInputStream
-
Reads up to
b.lengthbytes of data from this input stream into an array of bytes. - read(byte[], int, int) - Method in class javax.crypto.CipherInputStream
-
Reads up to
lenbytes of data from this input stream into an array of bytes. - reset() - Method in class javax.crypto.Mac
-
Resets this
Macobject. - RFC5915ECPrivateKeyEncodedKeySpec - Class in ibm.security.internal.spec
-
This class represents the ASN.1 encoding of an EC private key, encoded according to the ASN.1 type
ECPrivateKey. - RFC5915ECPrivateKeyEncodedKeySpec(byte[]) - Constructor for class ibm.security.internal.spec.RFC5915ECPrivateKeyEncodedKeySpec
-
Creates a new RFC5915ECPrivateKeyEncodedKeySpec with the given encoded key.
S
- SealedObject - Class in javax.crypto
-
This class enables a programmer to create an object and protect its confidentiality with a cryptographic algorithm.
- SealedObject(Serializable, Cipher) - Constructor for class javax.crypto.SealedObject
-
Constructs a SealedObject from any Serializable object.
- SealedObject(SealedObject) - Constructor for class javax.crypto.SealedObject
-
Constructs a SealedObject object from the passed-in SealedObject.
- SECRET_KEY - Static variable in class javax.crypto.Cipher
-
Constant used to indicate the to-be-unwrapped key is a "secret key".
- SecretKey - Interface in javax.crypto
-
A secret (symmetric) key.
- SecretKeyFactory - Class in javax.crypto
-
This class represents a factory for secret keys.
- SecretKeyFactory(SecretKeyFactorySpi, Provider, String) - Constructor for class javax.crypto.SecretKeyFactory
-
Creates a SecretKeyFactory object.
- SecretKeyFactorySpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI) for the
SecretKeyFactoryclass. - SecretKeyFactorySpi() - Constructor for class javax.crypto.SecretKeyFactorySpi
- SecretKeySpec - Class in javax.crypto.spec
-
This class specifies a secret key in a provider-independent fashion.
- SecretKeySpec(byte[], String) - Constructor for class javax.crypto.spec.SecretKeySpec
-
Constructs a secret key from the given byte array.
- SecretKeySpec(byte[], int, int, String) - Constructor for class javax.crypto.spec.SecretKeySpec
-
Constructs a secret key from the given byte array, using the first
lenbytes ofkey, starting atoffsetinclusive. - serialVersionUID - Static variable in interface javax.crypto.interfaces.DHPrivateKey
-
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
- serialVersionUID - Static variable in interface javax.crypto.interfaces.DHPublicKey
-
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
- serialVersionUID - Static variable in interface javax.crypto.interfaces.PBEKey
-
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
- serialVersionUID - Static variable in interface javax.crypto.SecretKey
-
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
- ShortBufferException - Exception in javax.crypto
-
This exception is thrown when an output buffer provided by the user is too short to hold the operation result.
- ShortBufferException() - Constructor for exception javax.crypto.ShortBufferException
-
Constructs a ShortBufferException with no detail message.
- ShortBufferException(String) - Constructor for exception javax.crypto.ShortBufferException
-
Constructs a ShortBufferException with the specified detail message.
- skip(long) - Method in class javax.crypto.CipherInputStream
-
Skips
nbytes of input from the bytes that can be read from this input stream without blocking.
T
- translateKey(SecretKey) - Method in class javax.crypto.SecretKeyFactory
-
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
U
- unwrap(byte[], String, int) - Method in class javax.crypto.Cipher
-
Unwrap a previously wrapped key.
- UNWRAP_MODE - Static variable in class javax.crypto.Cipher
-
Constant used to initialize cipher to key-unwrapping mode.
- update(byte[]) - Method in class javax.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- update(byte[], int, int) - Method in class javax.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- update(byte[], int, int, byte[]) - Method in class javax.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- update(byte[], int, int, byte[], int) - Method in class javax.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- update(ByteBuffer, ByteBuffer) - Method in class javax.crypto.Cipher
-
Continues a multiple-part encryption or decryption operation (depending on how this cipher was initialized), processing another data part.
- update(byte) - Method in class javax.crypto.Mac
-
Processes the given byte.
- update(byte[]) - Method in class javax.crypto.Mac
-
Processes the given array of bytes.
- update(byte[], int, int) - Method in class javax.crypto.Mac
-
Processes the first
lenbytes ininput, starting atoffsetinclusive. - update(ByteBuffer) - Method in class javax.crypto.Mac
-
Processes
input.remaining()bytes in the ByteBufferinput, starting atinput.position(). - updateAAD(byte[]) - Method in class javax.crypto.Cipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
- updateAAD(byte[], int, int) - Method in class javax.crypto.Cipher
-
Continues a multi-part update of the Additional Authentication Data (AAD), using a subset of the provided buffer.
- updateAAD(ByteBuffer) - Method in class javax.crypto.Cipher
-
Continues a multi-part update of the Additional Authentication Data (AAD).
V
- valueOf(String) - Static method in enum ibm.security.internal.spec.NamedParameterSpec.CURVE
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum ibm.security.internal.spec.NamedParameterSpec.CURVE
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wrap(Key) - Method in class javax.crypto.Cipher
-
Wrap a key.
- WRAP_MODE - Static variable in class javax.crypto.Cipher
-
Constant used to initialize cipher to key-wrapping mode.
- write(int) - Method in class javax.crypto.CipherOutputStream
-
Writes the specified byte to this output stream.
- write(byte[]) - Method in class javax.crypto.CipherOutputStream
-
Writes
b.lengthbytes from the specified byte array to this output stream. - write(byte[], int, int) - Method in class javax.crypto.CipherOutputStream
-
Writes
lenbytes from the specified byte array starting at offsetoffto this output stream.
X
- XECKey - Interface in ibm.security.internal.interfaces
-
An interface for an elliptic curve public/private key as defined by RFC 7748.
- XECPrivateKey - Interface in ibm.security.internal.interfaces
-
An interface for an elliptic curve private key as defined by RFC 7748.
- XECPrivateKeySpec - Class in ibm.security.internal.spec
-
A class representing elliptic curve private keys as defined in RFC 7748, including the curve and other algorithm parameters.
- XECPrivateKeySpec(AlgorithmParameterSpec, Optional<byte[]>) - Constructor for class ibm.security.internal.spec.XECPrivateKeySpec
-
Construct a private key spec from params
- XECPublicKey - Interface in ibm.security.internal.interfaces
-
An interface for an elliptic curve public key as defined by RFC 7748.
- XECPublicKeySpec - Class in ibm.security.internal.spec
-
A class representing elliptic curve public keys as defined in RFC 7748, including the curve and other algorithm parameters.
- XECPublicKeySpec(AlgorithmParameterSpec, BigInteger) - Constructor for class ibm.security.internal.spec.XECPublicKeySpec
-
Construct a public key spec from params