Class MacData

    • Constructor Detail

      • MacData

        public MacData​(DigestInfo digInfo,
                       byte[] salt,
                       int iterationCount)
    • Method Detail

      • getInstance

        public static MacData getInstance​(java.lang.Object obj)
      • getSalt

        public byte[] getSalt()
      • getIterationCount

        public java.math.BigInteger getIterationCount()
      • toASN1Primitive

        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.
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        the basic ASN1Primitive construction.