Package org.mozilla.jss.crypto

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.
KeyGenAlgorithm.KeyStrengthValidator
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.
BadPaddingException
Cipher A context for performing symmetric encryption and decryption.
DigestAlgorithm
EncryptionAlgorithm An algorithm for performing symmetric encryption.
EncryptionAlgorithm.Alg
EncryptionAlgorithm.Mode
EncryptionAlgorithm.Padding
HMACAlgorithm Algorithms for performing HMACs.
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.
IVParameterSpec An algorithm parameter that consists of an initialization vector (IV).
JSSMessageDigest A class for performing message digesting (hashing) and MAC operations.
KeyGenAlgorithm Algorithms that can be used for generating symmetric keys.
KeyGenAlgorithm.FixedKeyStrengthValidator
KeyPairAlgorithm Algorithms that can be used for keypair generation.
KeyPairGenerator Generates RSA and DSA key pairs.
KeyPairGeneratorSpi
KeyWrapAlgorithm
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.
PBEAlgorithm Algorithms that can be used for generating symmetric keys from passwords.
PBEKeyGenParams
PQGParamGenException
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
ShortBufferException This class is a placeholder for javax.crypto.ShortBufferException until we move to JDK 1.2.
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.NotExtractableException
SymmetricKey.Type
SymmetricKey.Usage In PKCS #11, each key can be marked with the operations it will be used to perform.
TokenException This class indicates that an unknown error occurred on a CryptoToken.
TokenRuntimeException This class indicates that an unknown error occurred on a CryptoToken.
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.
KeyAlreadyImportedException This exception is thrown if the user tries to import a key which is already in the specified token