public class PBMParameter extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private ASN1Integer |
iterationCount |
private AlgorithmIdentifier |
mac |
private AlgorithmIdentifier |
owf |
private ASN1OctetString |
salt |
Modifier | Constructor and Description |
---|---|
|
PBMParameter(ASN1OctetString salt,
AlgorithmIdentifier owf,
ASN1Integer iterationCount,
AlgorithmIdentifier mac) |
private |
PBMParameter(ASN1Sequence seq) |
|
PBMParameter(byte[] salt,
AlgorithmIdentifier owf,
int iterationCount,
AlgorithmIdentifier mac) |
Modifier and Type | Method and Description |
---|---|
static PBMParameter |
getInstance(Object o) |
ASN1Integer |
getIterationCount() |
AlgorithmIdentifier |
getMac() |
AlgorithmIdentifier |
getOwf() |
ASN1OctetString |
getSalt() |
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])
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private ASN1OctetString salt
private AlgorithmIdentifier owf
private ASN1Integer iterationCount
private AlgorithmIdentifier mac
private PBMParameter(ASN1Sequence seq)
public PBMParameter(byte[] salt, AlgorithmIdentifier owf, int iterationCount, AlgorithmIdentifier mac)
public PBMParameter(ASN1OctetString salt, AlgorithmIdentifier owf, ASN1Integer iterationCount, AlgorithmIdentifier mac)
public static PBMParameter getInstance(Object o)
public ASN1OctetString getSalt()
public AlgorithmIdentifier getOwf()
public ASN1Integer getIterationCount()
public AlgorithmIdentifier getMac()
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])
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object