All Packages Class Hierarchy
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
Index of all Fields and Methods
- addIdentity(Identity).
Method in class sun.security.provider.IdentityDatabase
- Adds an identity to the database.
- blockSize.
Variable in class java.security.IllegalBlockSizeException
-
The block size of the cipher.
- blockSize().
Method in class java.security.Cipher
- Returns the length of a input block, in bytes.
- Cipher().
Constructor for class java.security.Cipher
- Constructor used for dynamic instantiation.
- Cipher(boolean, boolean, String).
Constructor for class java.security.Cipher
- Constructor for a Cipher.
- CipherInputStream(InputStream, Cipher).
Constructor for class java.security.CipherInputStream
- Constructs an input stream using a cipher that must be
initialized for either encryption or decryption, that is, a
cipher whose state is either
ENCRYPT or
DECRYPT.
- CipherOutputStream(OutputStream, Cipher).
Constructor for class java.security.CipherOutputStream
- Constructs an output stream using a cipher that must be
initialized for encryption or decryption, that is, a
cipher whose state is either
ENCRYPT or
DECRYPT.
- crypt(byte[]).
Method in class java.security.Cipher
- Encrypts or decrypts the specified array of data.
- crypt(byte[], int, int).
Method in class java.security.Cipher
- Encrypts or decrypts the specified subarray of data.
- crypt(byte[], int, int, byte[], int).
Method in class java.security.Cipher
- Encrypts or decrypts the specified subarray of data and places
the result in the specified output buffer.
- dataSize.
Variable in class java.security.IllegalBlockSizeException
-
The size of the data passed to the cipher.
- DECRYPT.
Static variable in class java.security.Cipher
- The state of the cipher when it is ready to decrypt, that is,
the state it is in right after a call to
initDecrypt.
- DES().
Constructor for class sun.security.provider.DES
-
- DESKeyGenerator().
Constructor for class sun.security.provider.DESKeyGenerator
-
- ENCRYPT.
Static variable in class java.security.Cipher
- The state of the cipher when it is ready to encrypt, that is,
the state it is in right after a call to
initEncrypt.
- engineBlockSize().
Method in class java.security.Cipher
- SPI: Returns the length of an input block, in
bytes.
- engineBlockSize().
Method in class sun.security.provider.DES
- SPI: Returns the length of an input block, in
bytes.
- engineCrypt(byte[], int).
Method in class java.security.Cipher
- This method is overriden by ciphers that handle their own
buffering.
- engineInitDecrypt(Key).
Method in class java.security.Cipher
- SPI: Initializes this cipher for decryption, using the
specified key.
- engineInitDecrypt(Key).
Method in class sun.security.provider.DES
- SPI: Initializes this cipher for decryption, using the
specified key.
- engineInitEncrypt(Key).
Method in class java.security.Cipher
- SPI:Initializes this cipher for encryption, using the
specified key.
- engineInitEncrypt(Key).
Method in class sun.security.provider.DES
- SPI:Initializes this cipher for encryption, using the
specified key.
- engineOutBufferSize(int, boolean).
Method in class java.security.Cipher
- SPI: Returns the length of an output block, in
bytes.
- engineUpdate(byte[], int, int, byte[], int).
Method in class java.security.Cipher
- Updates some data.
- engineUpdate(byte[], int, int, byte[], int).
Method in class sun.security.provider.DES
- SPI: Add to the bytes to be processed.
- flush().
Method in class java.security.CipherOutputStream
- Performs final processing and output to the output stream of
the final encryption or decryption result bytes.
- fromFile(File).
Static method in class sun.security.provider.IdentityDatabase
- Initialize an IdentityDatabase from file.
- fromStream(InputStream).
Static method in class sun.security.provider.IdentityDatabase
- Initialize an identity database from a stream.
- generateKey().
Method in class sun.security.provider.DESKeyGenerator
- Generates a key.
- generateKey().
Method in class java.security.KeyGenerator
- Generates a key.
- generateKey().
Method in class sun.security.provider.KeyGenerator
- Generates a key.
- getAlgName().
Method in class sun.security.provider.DES
-
- getAlgorithm().
Method in class java.security.Cipher
- Returns this cipher's standard algorithm name.
- getAlgorithm().
Method in class java.security.KeyGenerator
- Returns the standard name of the algorithm for this key generator.
- getAlgorithm().
Method in class sun.security.provider.SecretKey
-
- getEncoded().
Method in class sun.security.provider.SecretKey
-
- getExponent().
Method in interface java.security.interfaces.RSAKey
- Returns the exponent.
- getFormat().
Method in class sun.security.provider.SecretKey
-
- getIdentity(PublicKey).
Method in class sun.security.provider.IdentityDatabase
- Get an identity by key.
- getIdentity(String).
Method in class sun.security.provider.IdentityDatabase
-
- getInitializationVector().
Method in interface java.security.FeedbackCipher
- Gets the initialization vector for this object.
- getInitializationVectorLength().
Method in interface java.security.FeedbackCipher
- Returns the size of the initialization vector expected
by
setInitializationVector.
- getInstance(String).
Static method in class java.security.Cipher
- Generates a Cipher object that implements the specified
algorithm.
- getInstance(String).
Static method in class java.security.KeyGenerator
- Generates a KeyGenerator object that implements the algorithm
requested, as available in the environment.
- getInstance(String, String).
Static method in class java.security.Cipher
-
Generates a block Cipher object implementing the specified
algorithm from the specified provider.
- getInstance(String, String).
Static method in class java.security.KeyGenerator
-
Generates a KeyGenerator object implementing the specified
algorithm, as supplied from the specified provider, if such an
algorithm is available from the provider.
- getMode().
Method in class java.security.Cipher
- Returns this cipher's standard mode name.
- getModulus().
Method in interface java.security.interfaces.RSAKey
- Returns the modulus.
- getPadding().
Method in class java.security.Cipher
- Returns this cipher's padding scheme name.
- getProvider().
Method in class java.security.Cipher
- Returns the name of the provider of this cipher.
- getState().
Method in class java.security.Cipher
- Returns the state of this cipher object.
- identities().
Method in class sun.security.provider.IdentityDatabase
-
- IdentityDatabase(File).
Constructor for class sun.security.provider.IdentityDatabase
- Construct a new, empty database with a specified source file.
- IdentityDatabase(String).
Constructor for class sun.security.provider.IdentityDatabase
- Construct a new, empty database.
- IllegalBlockSizeException(int, int).
Constructor for class java.security.IllegalBlockSizeException
- Constructs an IllegalBlockSizeException with the specified
block size and illegal data size values.
- IllegalBlockSizeException(String).
Constructor for class java.security.IllegalBlockSizeException
- Constructs an IllegalBlockSizeException with the specified
detail message.
- initDecrypt(Key).
Method in class java.security.Cipher
- Initializes this cipher for decryption, using the specified
key.
- initEncrypt(Key).
Method in class java.security.Cipher
- Initializes this cipher for encryption, using the specified
key.
- initialize(int, BigInteger, SecureRandom).
Method in interface java.security.interfaces.RSAKeyPairGenerator
-
Initializes the key pair generator using the specified "strength"
(desired key length in bits), public exponent, and source of random
bits.
- initialize(SecureRandom).
Method in class sun.security.provider.DESKeyGenerator
- Initialize the key generator.
- initialize(SecureRandom).
Method in class java.security.KeyGenerator
- Initialize the key generator.
- initialize(SecureRandom).
Method in class sun.security.provider.KeyGenerator
- Initialize the key generator.
- KeyGenerator(String).
Constructor for class java.security.KeyGenerator
- Creates a KeyGenerator object for the specified algorithm.
- KeyGenerator(String, int).
Constructor for class sun.security.provider.KeyGenerator
-
- outBufferSize(int).
Method in class java.security.Cipher
- Returns the size of the output buffer necessary to hold the
data resulting from a call to crypt or a call to update.
- pad(byte[], int, int).
Method in interface java.security.Padding
- Returns the padding for a given array of bytes.
- pad(byte[], int, int).
Method in class sun.security.pkcs.PKCS5
- Returns the padding for a given array.
- paddingScheme().
Method in interface java.security.Padding
- Returns the standard name of the padding scheme implemented.
- paddingScheme().
Method in class sun.security.pkcs.PKCS5
- Return the standard name of the padding scheme implemented.
- padLength(byte[], int, int).
Method in class sun.security.pkcs.PKCS5
- Return the length of the padding for some length.
- padLength(int).
Method in interface java.security.Padding
- Returns the absolute value of the increase in size which a
padding operation would cause on input data of a given length.
- padLength(int).
Method in class sun.security.pkcs.PKCS5
-
- PKCS5().
Constructor for class sun.security.pkcs.PKCS5
-
- read().
Method in class java.security.CipherInputStream
- Returns the next encrypted or decrypted byte, depending on the
cipher state.
- read(byte[], int, int).
Method in class java.security.CipherInputStream
- Fills up the specified bytes of the
b array with the
next len encrypted or decrypted bytes
(depending on the cipher state).
- removeIdentity(Identity).
Method in class sun.security.provider.IdentityDatabase
- Removes an identity to the database.
- save().
Method in class sun.security.provider.IdentityDatabase
- Saves the database to the default source file.
- save(OutputStream).
Method in class sun.security.provider.IdentityDatabase
- Save the database in its current state to an output stream.
- SecretKey(byte[], String).
Constructor for class sun.security.provider.SecretKey
-
- setInitializationVector(byte[]).
Method in interface java.security.FeedbackCipher
- Sets the initialization vector for this object.
- size().
Method in class sun.security.provider.IdentityDatabase
-
- Sun().
Constructor for class sun.security.provider.Sun
-
- toString().
Method in class sun.security.provider.IdentityDatabase
-
- UNINITIALIZED.
Static variable in class java.security.Cipher
- The state of the cipher object when it is uninitialized,
that is, the state it is in right after it has been created by a
call to
getInstance.
- unpad(byte[], int, int).
Method in interface java.security.Padding
- Given the specified subarray of bytes that includes padding
bytes, returns the index indicating where padding starts.
- unpad(byte[], int, int).
Method in class sun.security.pkcs.PKCS5
- Returns the index where padding starts.
- write(byte[], int, int).
Method in class java.security.CipherOutputStream
- Supplies bytes to be used for encryption or decryption,
depending on the cipher state.
- write(int).
Method in class java.security.CipherOutputStream
- Supplies a byte to be used for encryption or decryption,
depending on the cipher state.