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

public Class TaggedAttribute

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .ASN1Set, .DERSequence

TaggedAttribute from RFC5272
TaggedAttribute ::= SEQUENCE {
bodyPartID         BodyPartID,
attrType           OBJECT IDENTIFIER,
attrValues         SET OF AttributeValue
}

Field Summary

Modifier and TypeField and Description
private final ASN1ObjectIdentifier
private final ASN1Set
private final BodyPartID

Constructor Summary

AccessConstructor and Description
private
public
TaggedAttribute(BodyPartID bodyPartID, ASN1ObjectIdentifier attrType, ASN1Set attrValues)

Method Summary

Modifier and TypeMethod and Description
public ASN1ObjectIdentifier
public ASN1Set
public BodyPartID
public static TaggedAttribute
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

attrTypeback to summary
private final ASN1ObjectIdentifier attrType
attrValuesback to summary
private final ASN1Set attrValues
bodyPartIDback to summary
private final BodyPartID bodyPartID

Constructor Detail

TaggedAttributeback to summary
private TaggedAttribute(ASN1Sequence seq)
TaggedAttributeback to summary
public TaggedAttribute(BodyPartID bodyPartID, ASN1ObjectIdentifier attrType, ASN1Set attrValues)

Method Detail

getAttrTypeback to summary
public ASN1ObjectIdentifier getAttrType()
getAttrValuesback to summary
public ASN1Set getAttrValues()
getBodyPartIDback to summary
public BodyPartID getBodyPartID()
getInstanceback to summary
public static TaggedAttribute getInstance(Object o)
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.