Uses of Class
org.mozilla.jss.crypto.Algorithm
Packages that use Algorithm
Package
Description
Configuration and top-level operations of the JSS system.
Generic cryptographic operations, such as signing and key pair generation.
-
Uses of Algorithm in org.mozilla.jss
Methods in org.mozilla.jss with parameters of type AlgorithmModifier and TypeMethodDescriptionCryptoManager.getTokensSupportingAlgorithm
(Algorithm alg) Retrieves all tokens that support the given algorithm. -
Uses of Algorithm in org.mozilla.jss.crypto
Subclasses of Algorithm in org.mozilla.jss.cryptoModifier and TypeClassDescriptionclass
Algorithms for performing CMACs.class
class
An algorithm for performing symmetric encryption.class
Algorithms for performing HMACs.class
Algorithms that can be used for generating symmetric keys.class
Algorithms that can be used for keypair generation.class
class
Algorithms that can be used for generating symmetric keys from passwords.class
Algorithms that can be used for signing.Fields in org.mozilla.jss.crypto declared as AlgorithmModifier and TypeFieldDescriptionprotected Algorithm
KeyPairAlgorithm.algFamily
static final Algorithm
KeyPairAlgorithm.DSAFamily
static final Algorithm
KeyPairAlgorithm.ECFamily
static final Algorithm
KeyPairAlgorithm.RSAFamily
Methods in org.mozilla.jss.crypto that return AlgorithmModifier and TypeMethodDescriptionKeyPairAlgorithm.getAlgFamily()
Returns the algorithm family for a given key pair generation algorithm.SignatureAlgorithm.getSigningAlg()
The raw encryption portion of the signature algorithm.Methods in org.mozilla.jss.crypto with parameters of type AlgorithmModifier and TypeMethodDescriptionboolean
CryptoToken.doesAlgorithm
(Algorithm alg) Determines whether this token supports the given algorithm.byte[]
CryptoStore.getEncryptedPrivateKeyInfo
(KeyGenerator.CharToByteConverter conv, Password pw, Algorithm alg, int n, PrivateKey k) Get an encrypted private key, with optional password conversion.Constructors in org.mozilla.jss.crypto with parameters of type AlgorithmModifierConstructorDescriptionprotected
KeyPairAlgorithm
(int oidIndex, String name, Algorithm algFamily) -
Uses of Algorithm in org.mozilla.jss.pkcs11
Fields in org.mozilla.jss.pkcs11 declared as AlgorithmModifier and TypeFieldDescriptionprotected Algorithm
PK11Signature.algorithm
protected Algorithm[]
KeyType.algorithms
protected Algorithm
PK11Signature.digestAlgorithm
Fields in org.mozilla.jss.pkcs11 with type parameters of type AlgorithmMethods in org.mozilla.jss.pkcs11 that return AlgorithmModifier and TypeMethodDescriptionprivate static Algorithm
PK11KeyWrapper.algFromType
(PrivateKey.Type type) private static Algorithm
PK11KeyWrapper.algFromType
(SymmetricKey.Type type) private Algorithm
PK11Signature.getRSAPSSDigestAlgFromSpec
(PSSParameterSpec params) KeyType.supportedAlgorithms()
Returns an array of algorithms supported by this key type.Methods in org.mozilla.jss.pkcs11 with parameters of type AlgorithmModifier and TypeMethodDescriptionboolean
PK11Token.doesAlgorithm
(Algorithm alg) Determines whether this token is capable of performing the given algorithm.byte[]
PK11Store.getEncryptedPrivateKeyInfo
(KeyGenerator.CharToByteConverter conv, Password pw, Algorithm alg, int n, PrivateKey k) static KeyType
KeyType.getKeyTypeFromAlgorithm
(Algorithm alg) Returns the KeyType corresponding to the given Algorithm.private static PrivateKey
PK11KeyWrapper.nativeUnwrapPrivWithSym
(PK11Token token, SymmetricKey unwrappingKey, byte[] wrappedKey, KeyWrapAlgorithm alg, Algorithm type, byte[] publicValue, byte[] IV, boolean temporary) Unwrap a private with a symmetric.private static SymmetricKey
PK11KeyWrapper.nativeUnwrapSymPlaintext
(PK11Token token, byte[] wrappedKey, Algorithm type, int usageEnum, boolean temporary) private static SymmetricKey
PK11KeyWrapper.nativeUnwrapSymWithPriv
(PK11Token token, PrivateKey unwrappingKey, byte[] wrappedKey, KeyWrapAlgorithm alg, Algorithm type, int keyLen, NativeProxy params, long params_size, int usageEnum) Unwrap a symmetric with a private.private static SymmetricKey
PK11KeyWrapper.nativeUnwrapSymWithSym
(PK11Token token, SymmetricKey unwrappingKey, byte[] wrappedKey, KeyWrapAlgorithm alg, Algorithm type, int keyLen, byte[] IV, int usageEnum, boolean temporary) Unwrap a symmetric with a symmetric.Constructors in org.mozilla.jss.pkcs11 with parameters of type Algorithm -
Uses of Algorithm in org.mozilla.jss.provider.javax.crypto
Methods in org.mozilla.jss.provider.javax.crypto with parameters of type AlgorithmModifier and TypeMethodDescriptionprivate AlgorithmParameterSpec
JSSCipherSpi.generateAlgParams
(Algorithm alg, int blockSize)