Package org.mozilla.jss.crypto
package org.mozilla.jss.crypto
Generic cryptographic operations, such as signing and key pair generation.
-
ClassDescriptionRepresents a cryptographic algorithm.This exception is thrown if an initialization operation is attempted on something that is already initialized.Deprecated.Use javax.crypto.BadPaddingException.A context for performing symmetric encryption and decryption.Algorithms for performing CMACs.This is an interface for a permanent repository of cryptographic objects, such as keys, certs, and passwords.A CryptoToken performs cryptographic operations and stores cryptographic items, such as keys and certs.An algorithm for performing symmetric encryption.Algorithms for performing HMACs.Certificates residing in the internal database.This exception is thrown when we encounter a bogus DER blob.An exception of this type is thrown if an encoded private key cannot be decoded.An algorithm parameter that consists of an initialization vector (IV).A class for performing message digesting (hashing) and MAC operations.This class is utilized by JSS to implement OAEP support.An interface for secure random numbers.A KBKDF Byte Array Parameter is a type of KBKDF Data Parameter that contains a single byte array that gets passed to the KBKDF to be inserted into the PRF input stream.A KBKDF Data Parameter is a structure of type CK_PRF_DATA_PARAM, with three members: a type, a pointer to its data, and the size of the data field.Class for supporting additional derived keys from PKCS#11 v3.0's SP800-108 KBKDF implementation.A KBKDF Optional Counter Parameter is a type of KBKDF Data Parameter that describes the optional counter variable for Feedback and Pipeline KBKDFs.A KBKDF Iteration Variable Parameter is a type of KBKDF Data Parameter that either references the counter variable or otherwise is a pointer to the output of the previous PRF invocation.A KBKDF Optional Counter Parameter is a type of KBKDF Data Parameter that describes the optional counter variable for Feedback and Pipeline KBKDFs.This exception is thrown if the user tries to import a key which is already in the specified tokenAlgorithms that can be used for generating symmetric keys.Generates symmetric keys for encryption and decryption.An interface for converting a password of Java characters into an array of bytes.Algorithms that can be used for keypair generation.Generates RSA and DSA key pairs.In PKCS #11, each keypair can be marked with the operations it will be used to perform.Thrown if a cryptographic item does not exist on the token it is trying to be used on.This class is a stub for javax.crypto.NoSuchPaddingException until we move to JDK 1.2.This exception is thrown whenever something isn't implemented.Algorithms that can be used for generating symmetric keys from passwords.This class helps JSS callers align with local system cryptographic policy.PQG parameters for DSA key generation, along with the seed, counter, and H values for verification.Private Keys used by JSS.Deprecated, for removal: This API element is subject to removal in a future version.This class has been deprecated in favour of the one provided java
RSAKeyGenParameterSpec
.This is a special-purpose interface for NSS.This class is a placeholder for javax.crypto.ShortBufferException until we move to JDK 1.2.A class for producing and verifying digital signatures.Algorithms that can be used for signing.You don't need to use this unless you are hacking JSS.In PKCS #11, each key can be marked with the operations it will be used to perform.An X509 Certificate that lives on a PKCS #11 token.This class indicates that an unknown error occurred on a CryptoToken.This class indicates that an unknown error occurred on a CryptoToken.An interface that allows providers to access CryptoManager without actually knowing about CryptoManager.The org.mozilla.jss.provider package comes before CryptoManager in the dependency list, so this class is used to allow them to access CryptoManager sneakily.This is a private JSS class that allows the pkcs11 package access to some of the package methods in the crypto package.Certificates handled by JSS.