public class PKMACValue extends ASN1Encodable
BER, DER| Constructor and Description |
|---|
PKMACValue(AlgorithmIdentifier aid,
DERBitString value)
Creates a new PKMACValue.
|
PKMACValue(PBMParameter params,
DERBitString value)
Creates a new PKMACValue.
|
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getAlgId() |
static PKMACValue |
getInstance(ASN1TaggedObject obj,
boolean isExplicit) |
static PKMACValue |
getInstance(Object o) |
DERBitString |
getValue() |
DERObject |
toASN1Object()
PKMACValue ::= SEQUENCE {
algId AlgorithmIdentifier,
-- algorithm value shall be PasswordBasedMac 1.2.840.113533.7.66.13
-- parameter value is PBMParameter
value BIT STRING }
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic PKMACValue(PBMParameter params, DERBitString value)
params - parameters for password-based MACvalue - MAC of the DER-encoded SubjectPublicKeyInfopublic PKMACValue(AlgorithmIdentifier aid, DERBitString value)
aid - CMPObjectIdentifiers.passwordBasedMAC, with PBMParametervalue - MAC of the DER-encoded SubjectPublicKeyInfopublic static PKMACValue getInstance(Object o)
public static PKMACValue getInstance(ASN1TaggedObject obj, boolean isExplicit)
public AlgorithmIdentifier getAlgId()
public DERBitString getValue()
public DERObject toASN1Object()
PKMACValue ::= SEQUENCE {
algId AlgorithmIdentifier,
-- algorithm value shall be PasswordBasedMac 1.2.840.113533.7.66.13
-- parameter value is PBMParameter
value BIT STRING }
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.