All Packages   Class Hierarchy Index of Fields and Methods
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

available(). Method in class javax.crypto.CipherInputStream
Returns the number of bytes that can be read from this input stream without blocking.

B

BadPaddingException(). Constructor for class javax.crypto.BadPaddingException
Constructs a BadPaddingException with no detail message.
BadPaddingException(String). Constructor for class javax.crypto.BadPaddingException
Constructs a BadPaddingException with the specified detail message.

C

Cipher(CipherSpi, Provider, String). Constructor for class javax.crypto.Cipher
Creates a Cipher object.
CipherInputStream(InputStream). Constructor for class javax.crypto.CipherInputStream
Constructs a CipherInputStream from an InputStream without specifying a Cipher.
CipherInputStream(InputStream, Cipher). Constructor for class javax.crypto.CipherInputStream
Constructs a CipherInputStream from an InputStream and a Cipher.
CipherOutputStream(OutputStream). Constructor for class javax.crypto.CipherOutputStream
Constructs a CipherOutputStream from an OutputStream without specifying a Cipher.
CipherOutputStream(OutputStream, Cipher). Constructor for class javax.crypto.CipherOutputStream
Constructs a CipherOutputStream from an OutputStream and a Cipher.
CipherSpi(). Constructor for class javax.crypto.CipherSpi
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
DESedeKeySpec(byte[]). Constructor for class javax.crypto.spec.DESedeKeySpec
Uses the first 24 bytes in key as the DES-EDE key
DESedeKeySpec(byte[], int). Constructor for class javax.crypto.spec.DESedeKeySpec
Uses the first 24 bytes in key, beginning at offset, as the DES-EDE key
DESKeySpec(byte[]). Constructor for class javax.crypto.spec.DESKeySpec
Uses the first 8 bytes in key as the DES key
DESKeySpec(byte[], int). Constructor for class javax.crypto.spec.DESKeySpec
Uses the first 8 bytes in key, beginning at offset, as the DES key
DESParameterSpec(byte[]). Constructor for class javax.crypto.spec.DESParameterSpec
Uses the first 8 bytes in initVector as the IV.
DESParameterSpec(byte[], int). Constructor for class javax.crypto.spec.DESParameterSpec
Uses the first 8 bytes in initVector, beginning at offset, as the IV.
DHGenParameterSpec(int, int). Constructor for class javax.crypto.spec.DHGenParameterSpec
DHParameterSpec(BigInteger, BigInteger). Constructor for class javax.crypto.spec.DHParameterSpec
Specifies the Diffie-Hellman parameters, using a prime modulus p and a base generator g.
DHParameterSpec(BigInteger, BigInteger, int). Constructor for class javax.crypto.spec.DHParameterSpec
Specifies the Diffie-Hellman parameters, using a prime modulus p, a base generator g, and the size in bits, l, of the random exponent (private value).
DHPrivateKeySpec(BigInteger, BigInteger, BigInteger). Constructor for class javax.crypto.spec.DHPrivateKeySpec
DHPrivateKeySpec(BigInteger, BigInteger, BigInteger, int). Constructor for class javax.crypto.spec.DHPrivateKeySpec
DHPublicKeySpec(BigInteger, BigInteger, BigInteger). Constructor for class javax.crypto.spec.DHPublicKeySpec
DHPublicKeySpec(BigInteger, BigInteger, BigInteger, int). Constructor for class javax.crypto.spec.DHPublicKeySpec
doFinal(). 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). Method in class javax.crypto.Cipher
Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
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.
doPhase(int, Key). Method in class javax.crypto.KeyAgreement
Executes the next phase phase of the key agreement protocol, using the provided key key.

E

ENCRYPT_MODE. Static variable in class javax.crypto.Cipher
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.
engineDoPhase(int, Key). Method in class javax.crypto.KeyAgreementSpi
Executes the next phase phase of the key agreement protocol, using the provided key key.
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 at offset.
engineGenerateSecret(KeySpec). Method in class javax.crypto.SecretKeyFactorySpi
Generates a SecretKey object from the provided key specification (key material).
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.
engineGetKeySpec(SecretKey, Class). Method in class javax.crypto.SecretKeyFactorySpi
Returns a specification (key material) of the given key object in the requested format.
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 update or doFinal operation, given the input length inputLen (in bytes).
engineInit(AlgorithmParameterSpec, SecureRandom). Method in class javax.crypto.KeyAgreementSpi
Initializes this key agreement with a set of parameters and a source of randomness.
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, 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, SecureRandom). Method in class javax.crypto.CipherSpi
Initializes this cipher with a key and a source of randomness.
engineInit(SecureRandom). Method in class javax.crypto.KeyAgreementSpi
Initializes this key agreement to get random bytes (if needed) from random.
engineInit(SecureRandom). Method in class javax.crypto.KeyGeneratorSpi
Initializes the key generator.
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 key factory.
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.

F

flush(). Method in class javax.crypto.CipherOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.

G

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 at offset.
generateSecret(KeySpec). Method in class javax.crypto.SecretKeyFactory
Generates a SecretKey object from the provided key specification (key material).
getAlgorithm(). Method in class javax.crypto.KeyAgreement
Returns the standard name of the key agreement algorithm.
getAlgorithm(). Method in class javax.crypto.KeyGenerator
Returns the standard name of the key algorithm.
getBlockSize(). Method in class javax.crypto.Cipher
Returns the block size (in bytes).
getCrtCoefficient(). Method in interface javax.crypto.interfaces.RSAPrivateKeyCrt
Returns the crtCoefficient.
getCrtCoefficient(). Method in class javax.crypto.spec.RSAPrivateKeyCrtSpec
Returns the crtCoefficient.
getExponentSize(). Method in class javax.crypto.spec.DHGenParameterSpec
Returns the size in bits of the random exponent (private value).
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.
getInstance(String). Static method in class javax.crypto.Cipher
Creates a Cipher object that implements the specified transformation, as supplied by the default provider.
getInstance(String). Static method in class javax.crypto.KeyAgreement
Generates a KeyAgreement object for the specified key agreement algorithm.
getInstance(String). Static method in class javax.crypto.KeyGenerator
Generates a KeyGenerator object for the specified key algorithm.
getInstance(String). Static method in class javax.crypto.SecretKeyFactory
Generates a SecretKeyFactory object for the specified secret key algorithm.
getInstance(String, String). Static method in class javax.crypto.Cipher
Creates a Cipher object that implements the specified transformation, as supplied by the specified provider.
getInstance(String, String). Static method in class javax.crypto.KeyAgreement
Generates a KeyAgreement object for the specified key agreement algorithm from the specified provider.
getInstance(String, String). Static method in class javax.crypto.KeyGenerator
Generates a KeyGenerator object for the specified key algorithm from the specified provider.
getInstance(String, String). Static method in class javax.crypto.SecretKeyFactory
Generates a SecretKeyFactory object for the specified secret key algorithm from the specified provider.
getIterationCount(). Method in class javax.crypto.spec.PBEParameterSpec
Returns the iteration count.
getIV(). Method in class javax.crypto.Cipher
Returns the initialization vector (IV) in a new buffer.
getIV(). Method in class javax.crypto.spec.DESParameterSpec
Returns the initialization vector (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.
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).
getL(). Method in class javax.crypto.spec.DHPrivateKeySpec
Returns the private-value length l.
getL(). Method in class javax.crypto.spec.DHPublicKeySpec
Returns the private-value length l.
getModulus(). Method in interface javax.crypto.interfaces.RSAPrivateKey
Returns the modulus.
getModulus(). Method in class javax.crypto.spec.RSAPrivateKeySpec
Returns the modulus.
getModulus(). Method in interface javax.crypto.interfaces.RSAPublicKey
Returns the modulus.
getModulus(). Method in class javax.crypto.spec.RSAPublicKeySpec
Returns the modulus.
getObject(Cipher). Method in class javax.crypto.SealedObject
Retrieves the original (encapsulated) object.
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 update or doFinal operation, given the input length inputLen (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.
getParams(). Method in interface javax.crypto.interfaces.DHKey
Returns the key parameters.
getPassword(). Method in class javax.crypto.spec.PBEKeySpec
Retrieves the password.
getPrimeExponentP(). Method in interface javax.crypto.interfaces.RSAPrivateKeyCrt
Returns the primeExponentP.
getPrimeExponentP(). Method in class javax.crypto.spec.RSAPrivateKeyCrtSpec
Returns the primeExponentP.
getPrimeExponentQ(). Method in interface javax.crypto.interfaces.RSAPrivateKeyCrt
Returns the primeExponentQ.
getPrimeExponentQ(). Method in class javax.crypto.spec.RSAPrivateKeyCrtSpec
Returns the primeExponentQ.
getPrimeP(). Method in interface javax.crypto.interfaces.RSAPrivateKeyCrt
Returns the primeP.
getPrimeP(). Method in class javax.crypto.spec.RSAPrivateKeyCrtSpec
Returns the primeP.
getPrimeQ(). Method in interface javax.crypto.interfaces.RSAPrivateKeyCrt
Returns the primeQ.
getPrimeQ(). Method in class javax.crypto.spec.RSAPrivateKeyCrtSpec
Returns the primeQ.
getPrimeSize(). Method in class javax.crypto.spec.DHGenParameterSpec
Returns the size in bits of the prime modulus.
getPrivateExponent(). Method in interface javax.crypto.interfaces.RSAPrivateKey
Returns the private exponent.
getPrivateExponent(). Method in class javax.crypto.spec.RSAPrivateKeySpec
Returns the private exponent.
getProvider(). Method in class javax.crypto.Cipher
Returns the provider of this Cipher object.
getProvider(). Method in class javax.crypto.KeyAgreement
Returns the provider of this KeyAgreement object.
getProvider(). Method in class javax.crypto.KeyGenerator
Returns the provider of this KeyGenerator object.
getProvider(). Method in class javax.crypto.SecretKeyFactory
Returns the provider of this SecretKeyFactory object.
getPublicExponent(). Method in interface javax.crypto.interfaces.RSAPrivateKeyCrt
Returns the public exponent.
getPublicExponent(). Method in class javax.crypto.spec.RSAPrivateKeyCrtSpec
Returns the public exponent.
getPublicExponent(). Method in interface javax.crypto.interfaces.RSAPublicKey
Returns the public exponent.
getPublicExponent(). Method in class javax.crypto.spec.RSAPublicKeySpec
Returns the public exponent.
getSalt(). Method in class javax.crypto.spec.PBEParameterSpec
Returns the salt.
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 interface javax.crypto.interfaces.DHPublicKey
Returns the public value, y.
getY(). Method in class javax.crypto.spec.DHPublicKeySpec
Returns the public value y.

H


I

IllegalBlockSizeException(). Constructor for class javax.crypto.IllegalBlockSizeException
Constructs an IllegalBlockSizeException with no detail message.
IllegalBlockSizeException(String). Constructor for class javax.crypto.IllegalBlockSizeException
Constructs an IllegalBlockSizeException with the specified detail message.
init(AlgorithmParameterSpec). Method in class javax.crypto.KeyAgreement
Initializes this key agreement with a set of parameters.
init(AlgorithmParameterSpec). Method in class javax.crypto.KeyGenerator
Initializes the key generator with the specified parameter set, using a system-provided source of randomness.
init(AlgorithmParameterSpec, SecureRandom). Method in class javax.crypto.KeyAgreement
Initializes this key agreement with a set of parameters and a source of randomness.
init(AlgorithmParameterSpec, SecureRandom). Method in class javax.crypto.KeyGenerator
Initializes the key generator with the specified parameter set and a user-provided source of randomness.
init(int, Key). Method in class javax.crypto.Cipher
Initializes this cipher with a key.
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, SecureRandom). Method in class javax.crypto.Cipher
Initializes this cipher with a key and a source of randomness.
init(SecureRandom). Method in class javax.crypto.KeyAgreement
Initializes this key agreement to get random bytes (if needed) from random.
init(SecureRandom). Method in class javax.crypto.KeyGenerator
Initializes the key generator.
isParityAdjusted(byte[], int). Static method in class javax.crypto.spec.DESedeKeySpec
Checks if the given DES-EDE key, starting at offset, is parity-adjusted.
isParityAdjusted(byte[], int). Static method in class javax.crypto.spec.DESKeySpec
Checks if the given DES key, starting at offset, is parity-adjusted.

J


K

KeyAgreement(KeyAgreementSpi, Provider, String). Constructor for class javax.crypto.KeyAgreement
Creates a KeyAgreement object.
KeyAgreementSpi(). Constructor for class javax.crypto.KeyAgreementSpi
KeyGenerator(KeyGeneratorSpi, Provider, String). Constructor for class javax.crypto.KeyGenerator
Creates a KeyGenerator object.
KeyGeneratorSpi(). Constructor for class javax.crypto.KeyGeneratorSpi

L


M

markSupported(). Method in class javax.crypto.CipherInputStream
Tests if this input stream supports the mark and reset methods, which it does not.

N

NoSuchPaddingException(). Constructor for class javax.crypto.NoSuchPaddingException
Constructs a NoSuchPaddingException with no detail message.
NoSuchPaddingException(String). Constructor for class javax.crypto.NoSuchPaddingException
Constructs a NoSuchPaddingException with the specified detail message.
NullCipher(). Constructor for class javax.crypto.NullCipher

O


P

PBEKeySpec(String). Constructor for class javax.crypto.spec.PBEKeySpec
Constructor that takes a password.
PBEParameterSpec(byte[], int). Constructor for class javax.crypto.spec.PBEParameterSpec

Q


R

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.length bytes of data from this input stream into an array of bytes.
read(byte[], int, int). Method in class javax.crypto.CipherInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
RSAPrivateKeyCrtSpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger). Constructor for class javax.crypto.spec.RSAPrivateKeyCrtSpec
RSAPrivateKeySpec(BigInteger, BigInteger). Constructor for class javax.crypto.spec.RSAPrivateKeySpec
RSAPublicKeySpec(BigInteger, BigInteger). Constructor for class javax.crypto.spec.RSAPublicKeySpec

S

SealedObject(Serializable, Cipher). Constructor for class javax.crypto.SealedObject
Constructs a SealedObject from any Serializable object.
SecretKeyFactory(SecretKeyFactorySpi, Provider). Constructor for class javax.crypto.SecretKeyFactory
Creates a SecretKeyFactory object.
SecretKeyFactorySpi(). Constructor for class javax.crypto.SecretKeyFactorySpi
ShortBufferException(). Constructor for class javax.crypto.ShortBufferException
Constructs a ShortBufferException with no detail message.
ShortBufferException(String). Constructor for class javax.crypto.ShortBufferException
Constructs a ShortBufferException with the specified detail message.
skip(long). Method in class javax.crypto.CipherInputStream
Skips over and discards n bytes of data from this input stream.

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 key factory.

U

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.

V


W

write(byte[]). Method in class javax.crypto.CipherOutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int, int). Method in class javax.crypto.CipherOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(int). Method in class javax.crypto.CipherOutputStream
Writes the specified byte to this output stream.

X


Y


Z


_


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _
All Packages   Class Hierarchy Index of Fields and Methods