public class PKCS12PBMac1Algorithm extends PKCS12MacAlgorithm
PKCS12MacAlgorithm
for the PKCS#5 v2.1
password-based PBMAC1 Message Authentication Scheme as described in
RFC 9579.
PBKDF2 is used a key derivation function and HMAC as message authentication scheme.
The usage of PBMAC1 for protecting the integrity of PKCS#12 key stores is described in RFC 9579. Since PBMAC1 for PKCS#12 may not be widely deployed yet interoperability may be taken into consideration when using PBMAC1 for protecting the integrity of newly generated PKCS#12 key stores.
Modifier and Type | Field and Description |
---|---|
static PKCS12PBMac1Algorithm |
PBMAC1_PBKDF2_HMAC_SHA224
PBMAC1 with PBKDF2 and HMAC with SHA-224.
|
static PKCS12PBMac1Algorithm |
PBMAC1_PBKDF2_HMAC_SHA256
PBMAC1 with PBKDF2 and HMAC with SHA-256.
|
static PKCS12PBMac1Algorithm |
PBMAC1_PBKDF2_HMAC_SHA384
PBMAC1 with PBKDF2 and HMAC with SHA-384.
|
static PKCS12PBMac1Algorithm |
PBMAC1_PBKDF2_HMAC_SHA512
PBMAC1 with PBKDF2 and HMAC with SHA-512.
|
HMAC_SHA1, HMAC_SHA224, HMAC_SHA256, HMAC_SHA384, HMAC_SHA512, NONE
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a clone of this PKCS12MacAlgorithm.
|
getPKCS12MacAlgorithm
equals, getIterationCount, getSaltLength, setIterationCount, setSalt, setSaltLength, toString
public static final PKCS12PBMac1Algorithm PBMAC1_PBKDF2_HMAC_SHA224
Salt length: 28.
Iteration count: 10000.
public static final PKCS12PBMac1Algorithm PBMAC1_PBKDF2_HMAC_SHA256
Salt length: 32.
Iteration count: 10000.
public static final PKCS12PBMac1Algorithm PBMAC1_PBKDF2_HMAC_SHA384
Salt length: 48.
Iteration count: 10000.
public static final PKCS12PBMac1Algorithm PBMAC1_PBKDF2_HMAC_SHA512
Salt length: 64.
Iteration count: 10000.
public java.lang.Object clone()
clone
in class PKCS12MacAlgorithm