Top Description Fields Constructors Methods
org.bouncycastle.asn1.pkcs

public Class PBMAC1Params

extends ASN1Object
implements PKCSObjectIdentifiers
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
Imports
java.util.Enumeration, org.bouncycastle.asn1.ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence, org.bouncycastle.asn1.x509.AlgorithmIdentifier

From https://datatracker.ietf.org/doc/html/rfc8018
PBMAC1-params ::= SEQUENCE {
    keyDerivationFunc AlgorithmIdentifier {{PBMAC1-KDFs}},
    messageAuthScheme AlgorithmIdentifier {{PBMAC1-MACs}} }

Field Summary

Modifier and TypeField and Description
private AlgorithmIdentifier
private AlgorithmIdentifier

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static PBMAC1Params
public AlgorithmIdentifier
public AlgorithmIdentifier
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

funcback to summary
private AlgorithmIdentifier func
schemeback to summary
private AlgorithmIdentifier scheme

Constructor Detail

PBMAC1Paramsback to summary
public PBMAC1Params(AlgorithmIdentifier keyDevFunc, AlgorithmIdentifier encScheme)
PBMAC1Paramsback to summary
private PBMAC1Params(ASN1Sequence obj)

Method Detail

getInstanceback to summary
public static PBMAC1Params getInstance(Object obj)
getKeyDerivationFuncback to summary
public AlgorithmIdentifier getKeyDerivationFunc()
getMessageAuthSchemeback to summary
public AlgorithmIdentifier getMessageAuthScheme()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.