public class PBMParameter extends ASN1Encodable
BER, DER
Constructor and Description |
---|
PBMParameter(ASN1OctetString salt,
AlgorithmIdentifier owf,
DERInteger iterationCount,
AlgorithmIdentifier mac) |
PBMParameter(byte[] salt,
AlgorithmIdentifier owf,
int iterationCount,
AlgorithmIdentifier mac) |
Modifier and Type | Method and Description |
---|---|
static PBMParameter |
getInstance(Object o) |
DERInteger |
getIterationCount() |
AlgorithmIdentifier |
getMac() |
AlgorithmIdentifier |
getOwf() |
ASN1OctetString |
getSalt() |
DERObject |
toASN1Object()
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])
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public PBMParameter(byte[] salt, AlgorithmIdentifier owf, int iterationCount, AlgorithmIdentifier mac)
public PBMParameter(ASN1OctetString salt, AlgorithmIdentifier owf, DERInteger iterationCount, AlgorithmIdentifier mac)
public static PBMParameter getInstance(Object o)
public ASN1OctetString getSalt()
public AlgorithmIdentifier getOwf()
public DERInteger getIterationCount()
public AlgorithmIdentifier getMac()
public DERObject toASN1Object()
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])
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.