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

public Class PbkdMacIntegrityCheck

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DEROctetString, .DERSequence, org.bouncycastle.asn1.pkcs.KeyDerivationFunc, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.util.Arrays

PbkdMacIntegrityCheck ::= SEQUENCE {
    macAlgorithm AlgorithmIdentifier,
    pbkdAlgorithm KeyDerivationFunc,
    mac OCTET STRING
}

Field Summary

Modifier and TypeField and Description
private final ASN1OctetString
private final AlgorithmIdentifier
private final KeyDerivationFunc

Constructor Summary

AccessConstructor and Description
public
PbkdMacIntegrityCheck(AlgorithmIdentifier macAlgorithm, KeyDerivationFunc pbkdAlgorithm, byte[] mac)

private

Method Summary

Modifier and TypeMethod and Description
public static PbkdMacIntegrityCheck
public byte[]
public AlgorithmIdentifier
public KeyDerivationFunc
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:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

macback to summary
private final ASN1OctetString mac
macAlgorithmback to summary
private final AlgorithmIdentifier macAlgorithm
pbkdAlgorithmback to summary
private final KeyDerivationFunc pbkdAlgorithm

Constructor Detail

PbkdMacIntegrityCheckback to summary
public PbkdMacIntegrityCheck(AlgorithmIdentifier macAlgorithm, KeyDerivationFunc pbkdAlgorithm, byte[] mac)
PbkdMacIntegrityCheckback to summary
private PbkdMacIntegrityCheck(ASN1Sequence seq)

Method Detail

getInstanceback to summary
public static PbkdMacIntegrityCheck getInstance(Object o)
getMacback to summary
public byte[] getMac()
getMacAlgorithmback to summary
public AlgorithmIdentifier getMacAlgorithm()
getPbkdAlgorithmback to summary
public KeyDerivationFunc getPbkdAlgorithm()
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.