public class PBMParameter extends ASN1Encodable
| Modifier and Type | Field and Description |
|---|---|
private DERInteger |
iterationCount |
private AlgorithmIdentifier |
mac |
private AlgorithmIdentifier |
owf |
private ASN1OctetString |
salt |
BER, DER| Modifier | Constructor and Description |
|---|---|
private |
PBMParameter(ASN1Sequence seq) |
| Modifier and Type | Method and Description |
|---|---|
static PBMParameter |
getInstance(java.lang.Object o) |
DERInteger |
getIterationCount() |
AlgorithmIdentifier |
getMac() |
AlgorithmIdentifier |
getOwf() |
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, hashCodeprivate ASN1OctetString salt
private AlgorithmIdentifier owf
private DERInteger iterationCount
private AlgorithmIdentifier mac
private PBMParameter(ASN1Sequence seq)
public static PBMParameter getInstance(java.lang.Object o)
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 ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.