public class MacData extends ASN1Encodable
BER, DER
Constructor and Description |
---|
MacData(ASN1Sequence seq) |
MacData(DigestInfo digInfo,
byte[] salt,
int iterationCount) |
Modifier and Type | Method and Description |
---|---|
static MacData |
getInstance(Object obj) |
BigInteger |
getIterationCount() |
DigestInfo |
getMac() |
byte[] |
getSalt() |
DERObject |
toASN1Object()
MacData ::= SEQUENCE {
mac DigestInfo,
macSalt OCTET STRING,
iterations INTEGER DEFAULT 1
-- Note: The default is for historic reasons and its use is deprecated.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public MacData(ASN1Sequence seq)
public MacData(DigestInfo digInfo, byte[] salt, int iterationCount)
public DigestInfo getMac()
public byte[] getSalt()
public BigInteger getIterationCount()
public DERObject toASN1Object()
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.
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.