Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.3
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 | Deprecated. Use the JCA interface instead (`SecureRandom`)
KeyGenAlgorithm.KeyStrengthValidator |
KeyGenerator | Deprecated. Use the JCA interface instead (`KeyGenerator`)
KeyGenerator.CharToByteConverter | An interface for converting a password of Java characters into an array of bytes.
KeyWrapper | Deprecated. Use the JCA interface instead (`Cipher`)
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 | Deprecated. Use the JCA interface instead (`Cipher`)
DigestAlgorithm |
EncryptionAlgorithm | An algorithm for performing symmetric encryption.
EncryptionAlgorithm.Alg |
EncryptionAlgorithm.Mode |
EncryptionAlgorithm.Padding |
HMACAlgorithm | Algorithms for performing HMACs.
IVParameterSpec | An algorithm parameter that consists of an initialization vector (IV).
JSSMessageDigest | Deprecated. Use the JCA interface instead (`MessageDigest`)
KeyGenAlgorithm | Algorithms that can be used for generating symmetric keys.
KeyGenAlgorithm.FixedKeyStrengthValidator |
KeyPairAlgorithm | Algorithms that can be used for keypair generation.
KeyPairGenerator | Deprecated. Use the JCA interface instead (`KeyPairGenerator`)
KeyPairGeneratorSpi |
KeyWrapAlgorithm |
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.
SecretDecoderRing | This is a proprietary NSS interface.
SecretKeyFacade |
Signature | Deprecated. Use the JCA interface instead (`Signature`)
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 | Deprecated. Use javax.crypto.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.
TokenRuntimeException | 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.3
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES