public class PBMParameter
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
PBMParameter(org.bouncycastle.asn1.ASN1OctetString salt,
org.bouncycastle.asn1.x509.AlgorithmIdentifier owf,
org.bouncycastle.asn1.ASN1Integer iterationCount,
org.bouncycastle.asn1.x509.AlgorithmIdentifier mac) |
PBMParameter(byte[] salt,
org.bouncycastle.asn1.x509.AlgorithmIdentifier owf,
int iterationCount,
org.bouncycastle.asn1.x509.AlgorithmIdentifier mac) |
Modifier and Type | Method and Description |
---|---|
static PBMParameter |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.ASN1Integer |
getIterationCount() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getMac() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getOwf() |
org.bouncycastle.asn1.ASN1OctetString |
getSalt() |
org.bouncycastle.asn1.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])
|
public PBMParameter(byte[] salt, org.bouncycastle.asn1.x509.AlgorithmIdentifier owf, int iterationCount, org.bouncycastle.asn1.x509.AlgorithmIdentifier mac)
public PBMParameter(org.bouncycastle.asn1.ASN1OctetString salt, org.bouncycastle.asn1.x509.AlgorithmIdentifier owf, org.bouncycastle.asn1.ASN1Integer iterationCount, org.bouncycastle.asn1.x509.AlgorithmIdentifier mac)
public static PBMParameter getInstance(java.lang.Object o)
public org.bouncycastle.asn1.ASN1OctetString getSalt()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getOwf()
public org.bouncycastle.asn1.ASN1Integer getIterationCount()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getMac()
public org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object