Class PBMParameter

    • Method Detail

      • getInstance

        public static PBMParameter getInstance​(java.lang.Object o)
      • getIterationCount

        public ASN1Integer getIterationCount()
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
          PBMParameter ::= SEQUENCE {
                                salt                OCTET STRING,
                                -- note:  implementations MAY wish to limit acceptable sizes
                                -- of this string to values appropriate for their environment
                                -- in order to reduce the risk of denial-of-service attacks
                                owf                 AlgorithmIdentifier,
                                -- AlgId for a One-Way Function (SHA-1 recommended)
                                iterationCount      INTEGER,
                                -- number of times the OWF is applied
                                -- note:  implementations MAY wish to limit acceptable sizes
                                -- of this integer to values appropriate for their environment
                                -- in order to reduce the risk of denial-of-service attacks
                                mac                 AlgorithmIdentifier
                                -- the MAC AlgId (e.g., DES-MAC, Triple-DES-MAC [PKCS11],
            }   -- or HMAC [RFC2104, RFC2202])
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a basic ASN.1 object representation.