Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G I J K L M N O P R S T U V W

A

algName - Variable in class javax.crypto.EncryptedPrivateKeyInfo
The encryption algorithm name.
algOid - Variable in class javax.crypto.EncryptedPrivateKeyInfo
The OID of the encryption algorithm.
algorithm - Variable in class javax.crypto.KeyAgreement
The name of this instance's algorithm.
algorithm - Variable in class javax.crypto.KeyGenerator
The name of the algorithm.
algorithm - Variable in class javax.crypto.Mac
The name of the algorithm.
algorithm - Variable in class javax.crypto.SecretKeyFactory
The name of the algorithm.
available() - Method in class javax.crypto.CipherInputStream
Returns the number of bytes available without blocking.

B

BadPaddingException - exception javax.crypto.BadPaddingException.
This exception is thrown during decryption when the decrypted input does not have the proper padding bytes that are expected by the padding mechanism.
BadPaddingException() - Constructor for class javax.crypto.BadPaddingException
Creates a new bad padding exception with no detail message.
BadPaddingException(String) - Constructor for class javax.crypto.BadPaddingException
Creates a new bad padding exception with a detail message.

C

Cipher - class javax.crypto.Cipher.
This class implements a cryptographic cipher for transforming data.
Cipher(CipherSpi, Provider, String) - Constructor for class javax.crypto.Cipher
Create a cipher.
CipherInputStream - class javax.crypto.CipherInputStream.
This is an java.io.InputStream that filters its data through a Cipher before returning it.
CipherInputStream(InputStream, Cipher) - Constructor for class javax.crypto.CipherInputStream
Creates a new input stream with a source input stream and cipher.
CipherInputStream(InputStream) - Constructor for class javax.crypto.CipherInputStream
Creates a new input stream without a cipher.
CipherOutputStream - class javax.crypto.CipherOutputStream.
A filtered output stream that transforms data written to it with a Cipher before sending it to the underlying output stream.
CipherOutputStream(OutputStream, Cipher) - Constructor for class javax.crypto.CipherOutputStream
Create a new cipher output stream.
CipherOutputStream(OutputStream) - Constructor for class javax.crypto.CipherOutputStream
Create a cipher output stream with no cipher.
CipherSpi - class javax.crypto.CipherSpi.
This class represents the Service Provider Interface (SPI) for cryptographic ciphers.
CipherSpi() - Constructor for class javax.crypto.CipherSpi
Create a new CipherSpi.
cipher - Variable in class javax.crypto.CipherInputStream
The underlying Cipher instance.
cipher - Variable in class javax.crypto.CipherOutputStream
The underlying cipher.
cipherSpi - Variable in class javax.crypto.Cipher
The underlying cipher service provider interface.
clone() - Method in class javax.crypto.Mac
Clone this instance, if the underlying implementation supports it.
clone() - Method in class javax.crypto.MacSpi
Returns a clone of this instance if cloning is supported.
close() - Method in class javax.crypto.CipherInputStream
Close this input stream.
close() - Method in class javax.crypto.CipherOutputStream
Close this output stream, and the sink output stream.

D

DECRYPT_MODE - Static variable in class javax.crypto.Cipher
The decryption operation mode.
decode() - Method in class javax.crypto.EncryptedPrivateKeyInfo
 
doFinal() - Method in class javax.crypto.Cipher
Finishes a multi-part transformation, and returns the final transformed bytes.
doFinal(byte[]) - Method in class javax.crypto.Cipher
Finishes a multi-part transformation or does an entire transformation on the input, and returns the transformed bytes.
doFinal(byte[], int, int) - Method in class javax.crypto.Cipher
Finishes a multi-part transformation or does an entire transformation on the input, and returns the transformed bytes.
doFinal(byte[], int) - Method in class javax.crypto.Cipher
Finishes a multi-part transformation and stores the transformed bytes into the given array.
doFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.Cipher
Finishes a multi-part transformation or transforms a portion of a byte array, and stores the result in the given byte array.
doFinal(byte[], int, int, byte[]) - Method in class javax.crypto.Cipher
 
doFinal(ByteBuffer, ByteBuffer) - Method in class javax.crypto.Cipher
Finishes a multi-part transformation with, or completely transforms, a byte buffer, and stores the result into the output buffer.
doFinal() - Method in class javax.crypto.Mac
Finishes the computation of a MAC and returns the digest.
doFinal(byte[]) - Method in class javax.crypto.Mac
Finishes the computation of a MAC with a final byte array (or computes a MAC over those bytes only) and returns the digest.
doFinal(byte[], int) - Method in class javax.crypto.Mac
Finishes the computation of a MAC and places the result into the given array.
doPhase(Key, boolean) - Method in class javax.crypto.KeyAgreement
Do a phase in the key agreement.

E

ENCRYPT_MODE - Static variable in class javax.crypto.Cipher
The encryption operation mode.
EncryptedPrivateKeyInfo - class javax.crypto.EncryptedPrivateKeyInfo.
An implementation of the EncryptedPrivateKeyInfo ASN.1 type as specified in PKCS #8 - Private-Key Information Syntax Standard.
EncryptedPrivateKeyInfo(AlgorithmParameters, byte[]) - Constructor for class javax.crypto.EncryptedPrivateKeyInfo
Create a new EncryptedPrivateKeyInfo object from raw encrypted data and the parameters used for encryption.
EncryptedPrivateKeyInfo(byte[]) - Constructor for class javax.crypto.EncryptedPrivateKeyInfo
Create a new EncryptedPrivateKeyInfo from an encoded representation, parsing the ASN.1 sequence.
EncryptedPrivateKeyInfo(String, byte[]) - Constructor for class javax.crypto.EncryptedPrivateKeyInfo
Create a new EncryptedPrivateKeyInfo from the cipher name and the encrytpedData.
ExemptionMechanism - class javax.crypto.ExemptionMechanism.
An exemption mechanism, which will conditionally allow cryptography where it is not normally allowed, implements things such as key recovery, key weakening, or key escrow.
ExemptionMechanism(ExemptionMechanismSpi, Provider, String) - Constructor for class javax.crypto.ExemptionMechanism
 
ExemptionMechanismException - exception javax.crypto.ExemptionMechanismException.
Signals a general exception in an ExemptionMechanism.
ExemptionMechanismException() - Constructor for class javax.crypto.ExemptionMechanismException
Create a new exception with no detail message.
ExemptionMechanismException(String) - Constructor for class javax.crypto.ExemptionMechanismException
Create a new exception with a detail message.
ExemptionMechanismSpi - class javax.crypto.ExemptionMechanismSpi.
The Service Provider Interface (SPI) for the ExemptionMechanism class.
ExemptionMechanismSpi() - Constructor for class javax.crypto.ExemptionMechanismSpi
Create a new exemption mechanism SPI.
emSpi - Variable in class javax.crypto.ExemptionMechanism
 
encode() - Method in class javax.crypto.EncryptedPrivateKeyInfo
 
encoded - Variable in class javax.crypto.EncryptedPrivateKeyInfo
The encoded, encrypted key.
encodedParams - Variable in class javax.crypto.EncryptedPrivateKeyInfo
The encoded ASN.1 algorithm parameters.
encodedParams - Variable in class javax.crypto.SealedObject
The encoded algorithm parameters.
encryptedContent - Variable in class javax.crypto.SealedObject
The serialized, encrypted object.
encryptedData - Variable in class javax.crypto.EncryptedPrivateKeyInfo
The encrypted data.
engineDoFinal(byte[], int, int) - Method in class javax.crypto.CipherSpi
Finishes a multi-part transformation or transforms a portion of a byte array, and returns the transformed bytes.
engineDoFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.CipherSpi
Finishes a multi-part transformation or transforms a portion of a byte array, and stores the transformed bytes in the supplied array.
engineDoFinal(ByteBuffer, ByteBuffer) - Method in class javax.crypto.CipherSpi
 
engineDoFinal() - Method in class javax.crypto.MacSpi
Finalize the computation of this MAC and return the result as a byte array.
engineDoFinal(byte[], int, int) - Method in class javax.crypto.NullCipherImpl
 
engineDoFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.NullCipherImpl
 
engineDoFinal(byte[], int, int) - Method in class javax.crypto.NullCipherSpi
 
engineDoFinal(byte[], int, int, byte[], int) - Method in class javax.crypto.NullCipherSpi
 
engineDoPhase(Key, boolean) - Method in class javax.crypto.KeyAgreementSpi
Do a phase in the key agreement.
engineGenExemptionBlob() - Method in class javax.crypto.ExemptionMechanismSpi
Return a key blob for the key that this mechanism was initialized with.
engineGenExemptionBlob(byte[], int) - Method in class javax.crypto.ExemptionMechanismSpi
Generate a key blob for the key that this mechanism was initialized with, storing it into the given byte array.
engineGenerateKey() - Method in class javax.crypto.KeyGeneratorSpi
Generate a key, returning it as a SecretKey.
engineGenerateSecret() - Method in class javax.crypto.KeyAgreementSpi
Generate the shared secret in a new byte array.
engineGenerateSecret(byte[], int) - Method in class javax.crypto.KeyAgreementSpi
Generate the shared secret, storing it into the specified array.
engineGenerateSecret(String) - Method in class javax.crypto.KeyAgreementSpi
Generate the shared secret and return it as a SecretKey.
engineGenerateSecret(KeySpec) - Method in class javax.crypto.SecretKeyFactorySpi
Translate a java.security.KeySpec into a SecretKey.
engineGetBlockSize() - Method in class javax.crypto.CipherSpi
Returns the block size of the underlying cipher.
engineGetBlockSize() - Method in class javax.crypto.NullCipherImpl
 
engineGetBlockSize() - Method in class javax.crypto.NullCipherSpi
 
engineGetIV() - Method in class javax.crypto.CipherSpi
Returns the initializaiton vector this cipher was initialized with, if any.
engineGetIV() - Method in class javax.crypto.NullCipherImpl
 
engineGetIV() - Method in class javax.crypto.NullCipherSpi
 
engineGetKeySize(Key) - Method in class javax.crypto.CipherSpi
Return the length of the given key in bits.
engineGetKeySpec(SecretKey, Class) - Method in class javax.crypto.SecretKeyFactorySpi
Translate a SecretKey into a java.security.KeySpec.
engineGetMacLength() - Method in class javax.crypto.MacSpi
Return the total length, in bytes, of the computed MAC (the length of the byte array returned by #doFinal().
engineGetOutputSize(int) - Method in class javax.crypto.CipherSpi
Returns the size, in bytes, an output buffer must be for a call to CipherSpi.engineUpdate(byte[],int,int,byte[],int) 55 or CipherSpi.engineDoFinal(byte[],int,int,byte[],int) 55 to succeed.
engineGetOutputSize(int) - Method in class javax.crypto.ExemptionMechanismSpi
Get the size of the output blob given an input key size.
engineGetOutputSize(int) - Method in class javax.crypto.NullCipherImpl
 
engineGetOutputSize(int) - Method in class javax.crypto.NullCipherSpi
 
engineGetParameters() - Method in class javax.crypto.CipherSpi
Returns the parameters that this cipher is using.
engineGetParameters() - Method in class javax.crypto.NullCipherImpl
 
engineGetParameters() - Method in class javax.crypto.NullCipherSpi
 
engineInit(int, Key, SecureRandom) - Method in class javax.crypto.CipherSpi
Initializes this cipher with an operation mode, key, and source of randomness.
engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class javax.crypto.CipherSpi
Initializes this cipher with an operation mode, key, parameters, and source of randomness.
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.CipherSpi
Initializes this cipher with an operation mode, key, parameters, and source of randomness.
engineInit(Key) - Method in class javax.crypto.ExemptionMechanismSpi
Initialize this mechanism with a key.
engineInit(Key, AlgorithmParameters) - Method in class javax.crypto.ExemptionMechanismSpi
Initialize this mechanism with a key and parameters.
engineInit(Key, AlgorithmParameterSpec) - Method in class javax.crypto.ExemptionMechanismSpi
Initialize this mechanism with a key and parameters.
engineInit(Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyAgreementSpi
Initialize this key agreement with a key, parameters, and source of randomness.
engineInit(Key, SecureRandom) - Method in class javax.crypto.KeyAgreementSpi
Initialize this key agreement with a key and source of randomness.
engineInit(AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyGeneratorSpi
Initialize this key generator with parameters and a source of randomness.
engineInit(int, SecureRandom) - Method in class javax.crypto.KeyGeneratorSpi
Initialize this key generator with a key size (in bits) and a source of randomness.
engineInit(SecureRandom) - Method in class javax.crypto.KeyGeneratorSpi
Initialize this key generator with a source of randomness; the implementation should use reasonable default parameters (such as generated key size).
engineInit(Key, AlgorithmParameterSpec) - Method in class javax.crypto.MacSpi
Initialize (or re-initialize) this instance.
engineInit(int, Key, SecureRandom) - Method in class javax.crypto.NullCipherImpl
 
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.NullCipherImpl
 
engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class javax.crypto.NullCipherImpl
 
engineInit(int, Key, SecureRandom) - Method in class javax.crypto.NullCipherSpi
 
engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.NullCipherSpi
 
engineInit(int, Key, AlgorithmParameters, SecureRandom) - Method in class javax.crypto.NullCipherSpi
 
engineReset() - Method in class javax.crypto.MacSpi
Reset this instance.
engineSetMode(String) - Method in class javax.crypto.CipherSpi
Set the mode in which this cipher is to run.
engineSetMode(String) - Method in class javax.crypto.NullCipherImpl
 
engineSetMode(String) - Method in class javax.crypto.NullCipherSpi
 
engineSetPadding(String) - Method in class javax.crypto.CipherSpi
Set the method with which the input is to be padded.
engineSetPadding(String) - Method in class javax.crypto.NullCipherImpl
 
engineSetPadding(String) - Method in class javax.crypto.NullCipherSpi
 
engineTranslateKey(SecretKey) - Method in class javax.crypto.SecretKeyFactorySpi
Translate a secret key into a different representation.
engineUnwrap(byte[], String, int) - Method in class javax.crypto.CipherSpi
Unwraps a previously-wrapped key.
engineUpdate(byte[], int, int) - Method in class javax.crypto.CipherSpi
Continue with a multi-part transformation, returning a new array of the transformed bytes.
engineUpdate(byte[], int, int, byte[], int) - Method in class javax.crypto.CipherSpi
Continue with a multi-part transformation, storing the transformed bytes into the specified array.
engineUpdate(ByteBuffer, ByteBuffer) - Method in class javax.crypto.CipherSpi
 
engineUpdate(byte) - Method in class javax.crypto.MacSpi
Update this MAC with a single byte.
engineUpdate(byte[], int, int) - Method in class javax.crypto.MacSpi
Update this MAC with a portion of a byte array.
engineUpdate(byte[], int, int) - Method in class javax.crypto.NullCipherImpl
 
engineUpdate(byte[], int, int, byte[], int) - Method in class javax.crypto.NullCipherImpl
 
engineUpdate(byte[], int, int) - Method in class javax.crypto.NullCipherSpi
 
engineUpdate(byte[], int, int, byte[], int) - Method in class javax.crypto.NullCipherSpi
 
engineWrap(Key) - Method in class javax.crypto.CipherSpi
Wrap a key.
eof - Variable in class javax.crypto.CipherInputStream
Whether or not we've reached the end of the stream.

F

FIRST_TIME - Static variable in class javax.crypto.CipherOutputStream
 
finalize() - Method in class javax.crypto.ExemptionMechanism
 
flush() - Method in class javax.crypto.CipherOutputStream
Flush any pending output.

G

genExemptionBlob() - Method in class javax.crypto.ExemptionMechanism
 
genExemptionBlob(byte[]) - Method in class javax.crypto.ExemptionMechanism
 
genExemptionBlob(byte[], int) - Method in class javax.crypto.ExemptionMechanism
 
generateKey() - Method in class javax.crypto.KeyGenerator
Generate a key.
generateSecret() - Method in class javax.crypto.KeyAgreement
Generate the shared secret in a new byte array.
generateSecret(byte[], int) - Method in class javax.crypto.KeyAgreement
Generate the shared secret and store it into the supplied array.
generateSecret(String) - Method in class javax.crypto.KeyAgreement
Generate the shared secret and return it as an appropriate SecretKey.
generateSecret(KeySpec) - Method in class javax.crypto.SecretKeyFactory
Generate a secret key from a key specification, if possible.
getAlgName() - Method in class javax.crypto.EncryptedPrivateKeyInfo
Return the name of the cipher used to encrypt this key.
getAlgParameters() - Method in class javax.crypto.EncryptedPrivateKeyInfo
 
getAlgorithm() - Method in class javax.crypto.Cipher
Get the name that this cipher instance was created with; this is equivalent to the "transformation" argument given to any of the #getInstance() methods.
getAlgorithm() - Method in class javax.crypto.KeyAgreement
Return the name of this key-agreement algorithm.
getAlgorithm() - Method in class javax.crypto.KeyGenerator
Return the name of this key generator.
getAlgorithm() - Method in class javax.crypto.Mac
Returns the name of this MAC algorithm.
getAlgorithm() - Method in class javax.crypto.SealedObject
Get the name of the algorithm used to seal this object.
getAlgorithm() - Method in class javax.crypto.SecretKeyFactory
Get the algorithm name.
getBlockSize() - Method in class javax.crypto.Cipher
Return the size of blocks, in bytes, that this cipher processes.
getClassName(String, String, Provider) - Static method in class javax.crypto.Support
 
getEncoded() - Method in class javax.crypto.EncryptedPrivateKeyInfo
 
getEncryptedData() - Method in class javax.crypto.EncryptedPrivateKeyInfo
 
getExemptionMechanism() - Method in class javax.crypto.Cipher
Return the currently-operating ExemptionMechanism.
getIV() - Method in class javax.crypto.Cipher
Return the initialization vector that this instance was initialized with.
getImplementation(String, String) - Static method in class javax.crypto.Support
 
getImplementation(String, String, String) - Static method in class javax.crypto.Support
 
getImplementation(String, String, Provider) - Static method in class javax.crypto.Support
 
getInstance(String) - Static method in class javax.crypto.Cipher
Creates a new cipher instance for the given transformation.
getInstance(String, String) - Static method in class javax.crypto.Cipher
Creates a new cipher instance for the given transformation and the named provider.
getInstance(String, Provider) - Static method in class javax.crypto.Cipher
Creates a new cipher instance for the given transform and the given provider.
getInstance(String) - Static method in class javax.crypto.ExemptionMechanism
 
getInstance(String, String) - Static method in class javax.crypto.ExemptionMechanism
 
getInstance(String, Provider) - Static method in class javax.crypto.ExemptionMechanism
 
getInstance(String) - Static method in class javax.crypto.KeyAgreement
Get an implementation of an algorithm from the first provider that implements it.
getInstance(String, String) - Static method in class javax.crypto.KeyAgreement
Get an implementation of an algorithm from a named provider.
getInstance(String, Provider) - Static method in class javax.crypto.KeyAgreement
Get an implementation of an algorithm from a specific provider.
getInstance(String) - Static method in class javax.crypto.KeyGenerator
Create a new key generator, returning the first available implementation.
getInstance(String, String) - Static method in class javax.crypto.KeyGenerator
Create a new key generator from the named provider.
getInstance(String, Provider) - Static method in class javax.crypto.KeyGenerator
Create a new key generator from the supplied provider.
getInstance(String) - Static method in class javax.crypto.Mac
Get an instance of the named algorithm from the first provider with an appropriate implementation.
getInstance(String, String) - Static method in class javax.crypto.Mac
Get an instance of the named algorithm from the named provider.
getInstance(String, Provider) - Static method in class javax.crypto.Mac
Get an instance of the named algorithm from a provider.
getInstance(String) - Static method in class javax.crypto.SecretKeyFactory
Create a new secret key factory from the first appropriate instance.
getInstance(String, String) - Static method in class javax.crypto.SecretKeyFactory
Create a new secret key factory from the named provider.
getInstance(String, Provider) - Static method in class javax.crypto.SecretKeyFactory
Create a new secret key factory from the specified provider.
getKeySpec(Cipher) - Method in class javax.crypto.EncryptedPrivateKeyInfo
 
getKeySpec(SecretKey, Class) - Method in class javax.crypto.SecretKeyFactory
Get the key specification from a secret key.
getMacLength() - Method in class javax.crypto.Mac
Get the size of the MAC.
getName() - Method in class javax.crypto.ExemptionMechanism
 
getObject(Cipher) - Method in class javax.crypto.SealedObject
Unseal and deserialize this sealed object with a specified (already initialized) cipher.
getObject(Key) - Method in class javax.crypto.SealedObject
Unseal and deserialize this sealed object with the specified key.
getObject(Key, String) - Method in class javax.crypto.SealedObject
Unseal and deserialize this sealed object with the specified key, using a cipher from the named provider.
getOid(String) - Static method in class javax.crypto.EncryptedPrivateKeyInfo
Return the OID for the given cipher name.
getOutputSize(int) - Method in class javax.crypto.Cipher
Returns the size an output buffer needs to be if this cipher is updated with a number of bytes.
getOutputSize(int) - Method in class javax.crypto.ExemptionMechanism
 
getParameters() - Method in class javax.crypto.Cipher
Return the java.security.AlgorithmParameters that this instance was initialized with.
getProvider() - Method in class javax.crypto.Cipher
Return this cipher's provider.
getProvider() - Method in class javax.crypto.ExemptionMechanism
 
getProvider() - Method in class javax.crypto.KeyAgreement
Return the provider of the underlying implementation.
getProvider() - Method in class javax.crypto.KeyGenerator
Return the provider of the underlying implementation.
getProvider() - Method in class javax.crypto.Mac
Get the provider of the underlying implementation.
getProvider() - Method in class javax.crypto.SecretKeyFactory
Get the provider of this implementation.

I

INITIAL_STATE - Static variable in class javax.crypto.Cipher
The uninitialized state.
IllegalBlockSizeException - exception javax.crypto.IllegalBlockSizeException.
This exception is thrown when finishing encryption without padding or decryption and the input is not a multiple of the cipher's block size.
IllegalBlockSizeException() - Constructor for class javax.crypto.IllegalBlockSizeException
 
IllegalBlockSizeException(String) - Constructor for class javax.crypto.IllegalBlockSizeException
 
inBuffer - Variable in class javax.crypto.CipherOutputStream
 
inLength - Variable in class javax.crypto.CipherOutputStream
 
init(int, Certificate) - Method in class javax.crypto.Cipher
Initialize this cipher with the public key from the given certificate.
init(int, Key) - Method in class javax.crypto.Cipher
Initialize this cipher with the supplied key.
init(int, Certificate, SecureRandom) - Method in class javax.crypto.Cipher
Initialize this cipher with the public key from the given certificate and the specified source of randomness.
init(int, Key, SecureRandom) - Method in class javax.crypto.Cipher
Initialize this cipher with the supplied key and source of randomness.
init(int, Key, AlgorithmParameters) - Method in class javax.crypto.Cipher
Initialize this cipher with the supplied key and parameters.
init(int, Key, AlgorithmParameterSpec) - Method in class javax.crypto.Cipher
Initialize this cipher with the supplied key and parameters.
init(int, Key, AlgorithmParameters, SecureRandom) - Method in class javax.crypto.Cipher
Initialize this cipher with the supplied key, parameters, and source of randomness.
init(int, Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.Cipher
Initialize this cipher with the supplied key, parameters, and source of randomness.
init(Key) - Method in class javax.crypto.ExemptionMechanism
 
init(Key, AlgorithmParameters) - Method in class javax.crypto.ExemptionMechanism
 
init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.ExemptionMechanism
 
init(Key) - Method in class javax.crypto.KeyAgreement
Initialize this key agreement with a key.
init(Key, SecureRandom) - Method in class javax.crypto.KeyAgreement
Initialize this key agreement with a key and a source of randomness.
init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.KeyAgreement
Initialize this key agreement with a key and parameters.
init(Key, AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyAgreement
Initialize this key agreement with a key, parameters, and source of randomness.
init(AlgorithmParameterSpec) - Method in class javax.crypto.KeyGenerator
Initialize this key generator with a set of parameters; the highest-priority java.security.SecureRandom implementation will be used.
init(AlgorithmParameterSpec, SecureRandom) - Method in class javax.crypto.KeyGenerator
Initialize this key generator with a set of parameters and a source of randomness.
init(int) - Method in class javax.crypto.KeyGenerator
Initialize this key generator with a key size (in bits); the highest-priority java.security.SecureRandom implementation will be used.
init(int, SecureRandom) - Method in class javax.crypto.KeyGenerator
Initialize this key generator with a key size (in bits) and a source of randomness.
init(SecureRandom) - Method in class javax.crypto.KeyGenerator
Initialize this key generator with a source of randomness.
init(Key) - Method in class javax.crypto.Mac
Initialize this MAC with a key and no parameters.
init(Key, AlgorithmParameterSpec) - Method in class javax.crypto.Mac
Initialize this MAC with a key and parameters.
isCryptoAllowed(Key) - Method in class javax.crypto.ExemptionMechanism
 
isStream - Variable in class javax.crypto.CipherInputStream
We set this when the cipher block size is 1, meaning that we can transform any amount of data.
isStream - Variable in class javax.crypto.CipherOutputStream
True if the cipher is a stream cipher (blockSize == 1)

J

javax.crypto - package javax.crypto
 

K

KeyAgreement - class javax.crypto.KeyAgreement.
Key agreement is a method in which two or more parties may agree on a secret key for symmetric cryptography or message authentication without transmitting any secrets in the clear.
KeyAgreement(KeyAgreementSpi, Provider, String) - Constructor for class javax.crypto.KeyAgreement
 
KeyAgreementSpi - class javax.crypto.KeyAgreementSpi.
This is the Service Provider Interface (SPI) for the KeyAgreement class.
KeyAgreementSpi() - Constructor for class javax.crypto.KeyAgreementSpi
Create a new KeyAgreementSpi instance.
KeyGenerator - class javax.crypto.KeyGenerator.
A generic producer of keys for symmetric cryptography.
KeyGenerator(KeyGeneratorSpi, Provider, String) - Constructor for class javax.crypto.KeyGenerator
Create a new key generator.
KeyGeneratorSpi - class javax.crypto.KeyGeneratorSpi.
The Service Provider Interface (SPI) for the KeyGenerator class.
KeyGeneratorSpi() - Constructor for class javax.crypto.KeyGeneratorSpi
Create a new key generator SPI.
kaSpi - Variable in class javax.crypto.KeyAgreement
The underlying key agreement implementation.
kgSpi - Variable in class javax.crypto.KeyGenerator
The underlying generator implementation.

L

logger - Static variable in class javax.crypto.CipherInputStream
 

M

Mac - class javax.crypto.Mac.
This class implements a "message authentication code" (MAC), a method to ensure the integrity of data transmitted between two parties who share a common secret key.
Mac(MacSpi, Provider, String) - Constructor for class javax.crypto.Mac
Creates a new Mac instance.
MacSpi - class javax.crypto.MacSpi.
This is the Service Provider Interface (SPI) for the Mac class.
MacSpi() - Constructor for class javax.crypto.MacSpi
Create a new MacSpi instance.
macSpi - Variable in class javax.crypto.Mac
The underlying MAC implementation.
mark(int) - Method in class javax.crypto.CipherInputStream
Set the mark.
markSupported() - Method in class javax.crypto.CipherInputStream
Returns whether or not this input stream supports the #mark(long) and CipherInputStream.reset() 55 methods; this input stream does not, however, and invariably returns false.
mechanism - Variable in class javax.crypto.ExemptionMechanism
 

N

NoSuchPaddingException - exception javax.crypto.NoSuchPaddingException.
This exception is thrown when a particular padding scheme is requested but is not available.
NoSuchPaddingException() - Constructor for class javax.crypto.NoSuchPaddingException
 
NoSuchPaddingException(String) - Constructor for class javax.crypto.NoSuchPaddingException
 
NullCipher - class javax.crypto.NullCipher.
Trivial subclass of Cipher that implements the identity transformation, where the input is always copied to the output unchanged.
NullCipher() - Constructor for class javax.crypto.NullCipher
Create a new identity cipher.
NullCipherImpl - class javax.crypto.NullCipherImpl.
Implementation of the identity cipher.
NullCipherImpl() - Constructor for class javax.crypto.NullCipherImpl
 
NullCipherSpi - class javax.crypto.NullCipherSpi.
Implements the identity cipher.
NullCipherSpi() - Constructor for class javax.crypto.NullCipherSpi
 
nextBlock() - Method in class javax.crypto.CipherInputStream
 

O

outBuffer - Variable in class javax.crypto.CipherInputStream
Data that has been transformed but not read.
outBuffer - Variable in class javax.crypto.CipherOutputStream
 
outOffset - Variable in class javax.crypto.CipherInputStream
The offset into CipherInputStream.outBuffer 55 where valid data starts.

P

PRIVATE_KEY - Static variable in class javax.crypto.Cipher
Constant for when the key to be unwrapped is a private key.
PUBLIC_KEY - Static variable in class javax.crypto.Cipher
Constant for when the key to be unwrapped is a public key.
params - Variable in class javax.crypto.EncryptedPrivateKeyInfo
The encryption algorithm's parameters.
paramsAlg - Variable in class javax.crypto.SealedObject
The parameter type.
process() - Method in class javax.crypto.CipherOutputStream
 
provider - Variable in class javax.crypto.Cipher
The provider from which this instance came.
provider - Variable in class javax.crypto.ExemptionMechanism
 
provider - Variable in class javax.crypto.KeyAgreement
The provider of this implementation.
provider - Variable in class javax.crypto.KeyGenerator
The provider of the implementation.
provider - Variable in class javax.crypto.Mac
The provider we got our implementation from.
provider - Variable in class javax.crypto.SecretKeyFactory
The provider of the implementation.

R

read() - Method in class javax.crypto.CipherInputStream
Read a single byte from this input stream; returns -1 on the end-of-file.
read(byte[], int, int) - Method in class javax.crypto.CipherInputStream
Read bytes into an array, returning the number of bytes read or -1 on the end-of-file.
read(byte[]) - Method in class javax.crypto.CipherInputStream
Read bytes into an array, returning the number of bytes read or -1 on the end-of-file.
readObject(ObjectInputStream) - Method in class javax.crypto.SealedObject
Deserialize this object.
reset() - Method in class javax.crypto.CipherInputStream
Reset to the mark.
reset() - Method in class javax.crypto.Mac
Reset this instance.

S

SEASONED - Static variable in class javax.crypto.CipherOutputStream
 
SECOND_TIME - Static variable in class javax.crypto.CipherOutputStream
 
SECRET_KEY - Static variable in class javax.crypto.Cipher
Constant for when the key to be unwrapped is a secret key.
SERVICE - Static variable in class javax.crypto.Cipher
 
SERVICE - Static variable in class javax.crypto.ExemptionMechanism
 
SERVICE - Static variable in class javax.crypto.KeyAgreement
 
SERVICE - Static variable in class javax.crypto.KeyGenerator
 
SERVICE - Static variable in class javax.crypto.Mac
 
SERVICE - Static variable in class javax.crypto.SecretKeyFactory
 
SealedObject - class javax.crypto.SealedObject.
This class allows any java.io.Serializable object to be stored in an encrypted form.
SealedObject(Serializable, Cipher) - Constructor for class javax.crypto.SealedObject
Create a new sealed object from a java.io.Serializable object and a cipher.
SealedObject(SealedObject) - Constructor for class javax.crypto.SealedObject
Create a new sealed object from another sealed object.
SecretKey - interface javax.crypto.SecretKey.
A secret key for symmetric cryptography.
SecretKeyFactory - class javax.crypto.SecretKeyFactory.
A secret key factory translates SecretKey objects to and from java.security.spec.KeySpec objects, and can translate between different vendors' representations of SecretKey objects (for security or semantics; whichever applies).
SecretKeyFactory(SecretKeyFactorySpi, Provider, String) - Constructor for class javax.crypto.SecretKeyFactory
Create a new secret key factory.
SecretKeyFactorySpi - class javax.crypto.SecretKeyFactorySpi.
The Service Provider Interface (SPI) for the SecretKeyFactory class.
SecretKeyFactorySpi() - Constructor for class javax.crypto.SecretKeyFactorySpi
Create a new secret key factory SPI.
ShortBufferException - exception javax.crypto.ShortBufferException.
This exception is thrown on an attempt to transform bytes into a buffer that is too short to contain the data.
ShortBufferException() - Constructor for class javax.crypto.ShortBufferException
 
ShortBufferException(String) - Constructor for class javax.crypto.ShortBufferException
 
Support - class javax.crypto.Support.
 
Support() - Constructor for class javax.crypto.Support
 
sealAlg - Variable in class javax.crypto.SealedObject
The algorithm used to seal the object.
sealCipher - Variable in class javax.crypto.SealedObject
The cipher that decrypts when this object is unsealed.
serialVersionUID - Static variable in class javax.crypto.BadPaddingException
Serialization constant.
serialVersionUID - Static variable in class javax.crypto.ExemptionMechanismException
Compatible with JDK1.4.
serialVersionUID - Static variable in class javax.crypto.IllegalBlockSizeException
Serialization constant.
serialVersionUID - Static variable in class javax.crypto.NoSuchPaddingException
Serialization constant.
serialVersionUID - Static variable in class javax.crypto.SealedObject
Compatible with JDK1.4.
serialVersionUID - Static variable in interface javax.crypto.SecretKey
 
serialVersionUID - Static variable in class javax.crypto.ShortBufferException
Serialization constant.
skfSpi - Variable in class javax.crypto.SecretKeyFactory
The underlying factory implementation.
skip(long) - Method in class javax.crypto.CipherInputStream
Skip a number of bytes.
state - Variable in class javax.crypto.Cipher
Our current state (encrypting, wrapping, etc.)
state - Variable in class javax.crypto.CipherOutputStream
 

T

transformation - Variable in class javax.crypto.Cipher
The transformation requested.
translateKey(SecretKey) - Method in class javax.crypto.SecretKeyFactory
Translate a secret key into another form.

U

UNWRAP_MODE - Static variable in class javax.crypto.Cipher
The key unwrapping operation mode.
unseal() - Method in class javax.crypto.SealedObject
Unseal this object, returning it.
unwrap(byte[], String, int) - Method in class javax.crypto.Cipher
Unwrap a previously-wrapped key.
update(byte[]) - Method in class javax.crypto.Cipher
Continue a multi-part transformation on an entire byte array, returning the transformed bytes.
update(byte[], int, int) - Method in class javax.crypto.Cipher
Continue a multi-part transformation on part of a byte array, returning the transformed bytes.
update(byte[], int, int, byte[]) - Method in class javax.crypto.Cipher
Continue a multi-part transformation on part of a byte array, placing the transformed bytes into the given array.
update(byte[], int, int, byte[], int) - Method in class javax.crypto.Cipher
Continue a multi-part transformation on part of a byte array, placing the transformed bytes into the given array.
update(ByteBuffer, ByteBuffer) - Method in class javax.crypto.Cipher
Continue a multi-part transformation on a byte buffer, storing the transformed bytes into another buffer.
update(byte) - Method in class javax.crypto.Mac
Update the computation with a single byte.
update(byte[]) - Method in class javax.crypto.Mac
Update the computation with a byte array.
update(byte[], int, int) - Method in class javax.crypto.Mac
Update the computation with a portion of a byte array.

V

virgin - Variable in class javax.crypto.ExemptionMechanism
 
virgin - Variable in class javax.crypto.KeyAgreement
Singnals whether or not this instance has been initialized.
virgin - Variable in class javax.crypto.Mac
Whether or not we've been initialized.

W

WRAP_MODE - Static variable in class javax.crypto.Cipher
The key wrapping operation mode.
wrap(Key) - Method in class javax.crypto.Cipher
Wrap a key.
write(int) - Method in class javax.crypto.CipherOutputStream
Write a single byte to the output stream.
write(byte[]) - Method in class javax.crypto.CipherOutputStream
Write a byte array to the output stream.
write(byte[], int, int) - Method in class javax.crypto.CipherOutputStream
Write a portion of a byte array to the output stream.
writeObject(ObjectOutputStream) - Method in class javax.crypto.SealedObject
Serialize this object.

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