public class MacData extends ASN1Object
Constructor and Description |
---|
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.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
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 ASN1Encodable
toASN1Primitive
in class ASN1Object