Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1.1
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.mozilla.jss.crypto

Generic cryptographic operations, such as signing and key pair generation.

See:
Description

Interface Summary
CryptoStore | This is an interface for a permanent repository of cryptographic objects, such as keys, certs, and passwords.
CryptoToken | A CryptoToken performs cryptographic operations and stores cryptographic items, such as keys and certs.
InternalCertificate | Certificates residing in the internal database.
JSSSecureRandom | An interface for secure random numbers.
KeyGenerator | Generates symmetric keys for encryption and decryption.
KeyGenerator.CharToByteConverter | An interface for converting a password of Java characters into an array of bytes.
KeyWrapper |
PrivateKey | Private Keys used by JSS.
SymmetricKey |
TokenCertificate | An X509 Certificate that lives on a PKCS #11 token.
TokenSupplier | An interface that allows providers to access CryptoManager without actually knowing about CryptoManager.
X509Certificate | Certificates handled by JSS.

Class Summary
Algorithm | Represents a cryptographic algorithm.
Cipher | A context for performing symmetric encryption and decryption.
DigestAlgorithm |
DigestTest |
EncryptionAlgorithm | An algorithm for performing symmetric encryption.
HMACAlgorithm | Algorithms for performing HMACs.
IVParameterSpec | An algorithm parameter that consists of an initialization vector (IV).
JCASigTest |
JSSMessageDigest | A class for performing message digesting (hashing) and MAC operations.
KeyGenAlgorithm | Algorithms that can be used for generating symmetric keys.
KeyPairAlgorithm | Algorithms that can be used for keypair generation.
KeyPairGenerator | Generates RSA and DSA key pairs.
KeyPairGeneratorSpi |
KeyWrapAlgorithm |
ListCerts |
PBEAlgorithm | Algorithms that can be used for generating symmetric keys from passwords.
PBEKeyGenParams |
PQGParams | PQG parameters for DSA key generation, along with the seed, counter, and H values for verification.
PrivateKey.Type |
RSAParameterSpec | This class specifies the parameters used for generating an RSA key pair.
Signature | A class for producing and verifying digital signatures.
SignatureAlgorithm | Algorithms that can be used for signing.
SignatureSpi | You don't need to use this unless you are hacking JSS.
SymmetricKey.Type |
SymmetricKey.Usage | In PKCS #11, each key can be marked with the operations it will be used to perform.
TokenSupplierManager | The org.mozilla.jss.provider package comes before CryptoManager in the depency list, so this class is used to allow them to access CryptoManager sneakily.
Tunnel | This is a private JSS class that allows the pkcs11 package access to some of the package methods in the crypto package.

Exception Summary
AlreadyInitializedException | This exception is thrown if an initialization operation is attempted on something that is already initialized.
BadPaddingException |
IllegalBlockSizeException |
InvalidDERException | This exception is thrown when we encounter a bogus DER blob.
InvalidKeyFormatException | An exception of this type is thrown if an encoded private key cannot be decoded.
KeyAlreadyImportedException | This exception is thrown if the user tries to import a key which is already in the specified token
NoSuchItemOnTokenException | Thrown if a cryptographic item does not exist on the token it is trying to be used on.
NoSuchPaddingException | This class is a stub for javax.crypto.NoSuchPaddingException until we move to JDK 1.2.
ObjectNotFoundException | This exception is thrown whenever something isn't implemented.
PQGParamGenException |
ShortBufferException | This class is a placeholder for javax.crypto.ShortBufferException until we move to JDK 1.2.
SymmetricKey.NotExtractableException |
TokenException | This class indicates that an unknown error occurred on a CryptoToken.

## Package org.mozilla.jss.crypto Description

Generic cryptographic operations, such as signing and key pair generation.

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1.1
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES