kz.gamma.asn1.cmp
Class PBMParameter
java.lang.Object
kz.gamma.asn1.ASN1Encodable
kz.gamma.asn1.cmp.PBMParameter
- All Implemented Interfaces:
- kz.gamma.asn1.DEREncodable
public class PBMParameter
- extends kz.gamma.asn1.ASN1Encodable
|
Field Summary |
private kz.gamma.asn1.DERInteger |
iterationCount
|
private kz.gamma.asn1.x509.AlgorithmIdentifier |
mac
|
private kz.gamma.asn1.x509.AlgorithmIdentifier |
owf
|
private kz.gamma.asn1.ASN1OctetString |
salt
|
| Fields inherited from class kz.gamma.asn1.ASN1Encodable |
BER, DER |
|
Constructor Summary |
private |
PBMParameter(kz.gamma.asn1.ASN1Sequence seq)
|
|
Method Summary |
static PBMParameter |
getInstance(java.lang.Object o)
|
kz.gamma.asn1.DERInteger |
getIterationCount()
|
kz.gamma.asn1.x509.AlgorithmIdentifier |
getMac()
|
kz.gamma.asn1.x509.AlgorithmIdentifier |
getOwf()
|
kz.gamma.asn1.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])
|
| Methods inherited from class kz.gamma.asn1.ASN1Encodable |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
salt
private kz.gamma.asn1.ASN1OctetString salt
owf
private kz.gamma.asn1.x509.AlgorithmIdentifier owf
iterationCount
private kz.gamma.asn1.DERInteger iterationCount
mac
private kz.gamma.asn1.x509.AlgorithmIdentifier mac
PBMParameter
private PBMParameter(kz.gamma.asn1.ASN1Sequence seq)
getInstance
public static PBMParameter getInstance(java.lang.Object o)
getOwf
public kz.gamma.asn1.x509.AlgorithmIdentifier getOwf()
getIterationCount
public kz.gamma.asn1.DERInteger getIterationCount()
getMac
public kz.gamma.asn1.x509.AlgorithmIdentifier getMac()
toASN1Object
public kz.gamma.asn1.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])
- Specified by:
toASN1Object in class kz.gamma.asn1.ASN1Encodable
- Returns:
- a basic ASN.1 object representation.
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.