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 HMACAlgorithm
PBEKeyGenParams.hashAlgorithm
static final HMACAlgorithm
HMACAlgorithm.SHA1
Deprecated, for removal: This API element is subject to removal in a future version.static final HMACAlgorithm
HMACAlgorithm.SHA256
static final HMACAlgorithm
HMACAlgorithm.SHA384
static final HMACAlgorithm
HMACAlgorithm.SHA512
Fields in org.mozilla.jss.crypto with type parameters of type HMACAlgorithmModifier and TypeFieldDescriptionprivate static Hashtable
<OBJECT_IDENTIFIER, HMACAlgorithm> HMACAlgorithm.oidMap
Methods in org.mozilla.jss.crypto that return HMACAlgorithmModifier and TypeMethodDescriptionstatic HMACAlgorithm
HMACAlgorithm.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 SymmetricKey
PK11KeyGenerator.generatePBE
(PK11Token token, KeyGenAlgorithm algorithm, EncryptionAlgorithm encAlg, HMACAlgorithm hashAlg, byte[] pass, byte[] salt, int iterationCount) A native method to generate a PBE key.