Package org.bouncycastle.asn1.pkcs
Class MacData
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.pkcs.MacData
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MacData
getInstance
(Object obj) getMac()
byte[]
getSalt()
MacData ::= SEQUENCE { mac DigestInfo, macSalt OCTET STRING, iterations INTEGER DEFAULT 1 -- Note: The default is for historic reasons and its use is deprecated.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
MacData
-
-
Method Details
-
getInstance
-
getMac
-
getSalt
public byte[] getSalt() -
getIterationCount
-
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.
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- the basic ASN1Primitive construction.
-