public class MacData extends ASN1Object
| Modifier and Type | Field and Description |
|---|---|
(package private) DigestInfo |
digInfo |
(package private) java.math.BigInteger |
iterationCount |
private static java.math.BigInteger |
ONE |
(package private) byte[] |
salt |
| Modifier | Constructor and Description |
|---|---|
private |
MacData(ASN1Sequence seq) |
|
MacData(DigestInfo digInfo,
byte[] salt,
int iterationCount) |
| Modifier and Type | Method and Description |
|---|---|
static MacData |
getInstance(java.lang.Object obj) |
java.math.BigInteger |
getIterationCount() |
DigestInfo |
getMac() |
byte[] |
getSalt() |
ASN1Primitive |
toASN1Primitive()
MacData ::= SEQUENCE {
mac DigestInfo,
macSalt OCTET STRING,
iterations INTEGER DEFAULT 1
-- Note: The default is for historic reasons and its use is deprecated.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectprivate static final java.math.BigInteger ONE
DigestInfo digInfo
byte[] salt
java.math.BigInteger iterationCount
private MacData(ASN1Sequence seq)
public MacData(DigestInfo digInfo, byte[] salt, int iterationCount)
public static MacData getInstance(java.lang.Object obj)
public DigestInfo getMac()
public byte[] getSalt()
public java.math.BigInteger getIterationCount()
public ASN1Primitive toASN1Primitive()
MacData ::= SEQUENCE {
mac DigestInfo,
macSalt OCTET STRING,
iterations INTEGER DEFAULT 1
-- Note: The default is for historic reasons and its use is deprecated. A
-- higher value, like 1024 is recommended.
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object