com.sun.midp.crypto |
Provides implementation of basic hashing and message digest
cryptographic functionality.
Supported Signatures:
Signature |
Algorithm ID |
MD5 with RSA |
MD5withRSA |
SHA-1 with RSA |
SHA-1withRSA |
Supported Message Digests:
Digest |
Algorithm ID |
MD2 |
MD2 |
MD5 |
MD5 |
SHA-1 |
SHA-1 |
Supported Ciphers:
Cipher |
Algorithm ID |
AES |
AES[/CBC | /ECB [/PKCS5PADDING | /NOPADDING]] |
DES |
DES[/CBC | /ECB[/PKCS5PADDING | /NOPADDING]] |
DES EDE |
DESEDE[/CBC | /ECB[/PKCS5PADDING | /NOPADDING]] |
ARC4 |
ARC4 | ARCFOUR | RC4 |
RSA |
RSA |
|
Java Source File Name | Type | Comment |
AES.java | Class | Wrapper for all AES cipher classes. |
AES_CBC.java | Class | AES CBC Cipher. |
AES_ECB.java | Class | This class is an implementation of AES cipher in ECB mode. |
AlgorithmParameterSpec.java | Interface | A (transparent) specification of cryptographic parameters.
This interface contains no methods or constants. |
ARC4.java | Class | |
BadPaddingException.java | Class | This exception is thrown when a particular padding mechanism is
expected for the input data but the data is not padded properly. |
BlockCipherBase.java | Class | Class providing common functionality for DES ciphers. |
Cipher.java | Class | Implements an abstract class that generalizes all ciphers. |
CryptoParameter.java | Interface | A (transparent) specification of cryptographic parameters.
This interface contains no methods or constants. |
DES.java | Class | Wrapper for all DES cipher classes. |
DESEDE.java | Class | DES EDE (Triple DES)cipher implementation. |
DES_CBC.java | Class | DES CBC Cipher algorithm. |
DES_ECB.java | Class | DES cipher implementation. |
DigestException.java | Class | This is the generic Message Digest exception. |
GeneralSecurityException.java | Class | The GeneralSecurityException class is a generic
security exception class that provides type safety for all the
security-related exception classes that extend from it. |
IllegalBlockSizeException.java | Class | 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. |
InvalidAlgorithmParameterException.java | Class | This is the exception for invalid or inappropriate algorithm parameters. |
InvalidKeyException.java | Class | This is the exception for invalid Keys (invalid encoding, wrong
length, uninitialized, etc). |
InvalidKeySpecException.java | Class | This is the exception for invalid key specifications. |
IvParameter.java | Class | This class specifies an initialization vector (IV). |
Key.java | Interface | Implements an abstract class that represents all keys (both
symmetric and asymmetric). |
KeyException.java | Class | This is the basic key exception. |
MD2.java | Class | |
MD5.java | Class | |
MessageDigest.java | Class | This MessageDigest class provides applications the functionality of a
message digest algorithm, such as MD5 or SHA.
Message digests are secure one-way hash functions that take arbitrary-sized
data and output a fixed-length hash value.
A MessageDigest object starts out initialized. |
NoSuchAlgorithmException.java | Class | This exception is thrown when a particular cryptographic algorithm is
requested but is not available in the environment. |
NoSuchPaddingException.java | Class | This exception is thrown when a particular padding mechanism is
requested but is not available in the environment. |
Padder.java | Interface | Implementors will provide padding schemes for the respective ciphers. |
PKCS5Padding.java | Class | This class implements padding as specified in the PKCS#5 standard. |
PRand.java | Class | Implements a pseudo random number generator. |
PrivateKey.java | Interface | The PrivateKey abstract class is the base class for all private
keys used in asymmetric algorithms. |
PublicKey.java | Interface | The PublicKey abstract class is the base class for all public
keys used in asymmetric algorithms. |
RSA.java | Class | |
RSAKey.java | Class | Implements RSAKey with methods to set and get RSA exponent
and modulus. |
RsaMd5Sig.java | Class | Implements RSA MD5 Signatures. |
RSAPrivateKey.java | Class | Specifies the RSA private key interface. |
RSAPublicKey.java | Class | Specifies the RSA public key interface. |
RsaShaSig.java | Class | Implements RSA SHA1 Signatures. |
RSASig.java | Class | Implements RSA Signatures. |
SecretKey.java | Class | Implements the base interface for keys used in symmetric algorithms. |
SecureRandom.java | Class | Implements an abstract class that generalizes random number
generators. |
SHA.java | Class | Implements the SHA-1 message digest algorithm. |
ShortBufferException.java | Class | This exception is thrown when an output buffer provided by the user
is too short to hold the operation result. |
Signature.java | Class | This Signature class is used to provide applications
the functionality
of a digital signature algorithm. |
SignatureException.java | Class | This is the generic Signature exception. |
Util.java | Class | This class defines some static utility methods. |