Uses of Class
org.mozilla.jss.crypto.HMACAlgorithm
Packages that use HMACAlgorithm
Package
Description
Generic cryptographic operations, such as signing and key pair generation.
-
Uses of HMACAlgorithm in org.mozilla.jss.crypto
Fields in org.mozilla.jss.crypto declared as HMACAlgorithmModifier and TypeFieldDescriptionprivate HMACAlgorithmPBEKeyGenParams.hashAlgorithmstatic final HMACAlgorithmHMACAlgorithm.SHA1Deprecated, for removal: This API element is subject to removal in a future version.static final HMACAlgorithmHMACAlgorithm.SHA256static final HMACAlgorithmHMACAlgorithm.SHA384static final HMACAlgorithmHMACAlgorithm.SHA512Fields in org.mozilla.jss.crypto with type parameters of type HMACAlgorithmModifier and TypeFieldDescriptionprivate static Hashtable<OBJECT_IDENTIFIER, HMACAlgorithm> HMACAlgorithm.oidMapMethods in org.mozilla.jss.crypto that return HMACAlgorithmModifier and TypeMethodDescriptionstatic HMACAlgorithmHMACAlgorithm.fromOID(OBJECT_IDENTIFIER oid) Looks up the HMAC algorithm with the given OID.PBEKeyGenParams.getHashAlgorithm()The hash algorithm is used with PBEv2 algorithms because it cannot be derived from the key generation algorithm.Constructors in org.mozilla.jss.crypto with parameters of type HMACAlgorithmModifierConstructorDescriptionPBEKeyGenParams(char[] pass, byte[] salt, int iterations, EncryptionAlgorithm encAlg, HMACAlgorithm hashAlg) Creates PBE parameters using default encryption algorithm (DES3_EDE3_CBC). -
Uses of HMACAlgorithm in org.mozilla.jss.pkcs11
Methods in org.mozilla.jss.pkcs11 with parameters of type HMACAlgorithmModifier and TypeMethodDescriptionprivate static SymmetricKeyPK11KeyGenerator.generatePBE(PK11Token token, KeyGenAlgorithm algorithm, EncryptionAlgorithm encAlg, HMACAlgorithm hashAlg, byte[] pass, byte[] salt, int iterationCount) A native method to generate a PBE key.