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

public Class BodyPartPath

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence

   BodyPartPath ::= SEQUENCE SIZE (1..MAX) OF BodyPartID

Field Summary

Modifier and TypeField and Description
private final BodyPartID[]

Constructor Summary

AccessConstructor and Description
public
BodyPartPath(BodyPartID
the BodyPartID to be contained.
bodyPartID
)

Construct a BodyPartPath object containing one BodyPartID.

public
BodyPartPath(BodyPartID[] bodyPartIDs)

private

Method Summary

Modifier and TypeMethod and Description
public BodyPartID[]
public static BodyPartPath
public static BodyPartPath
getInstance(ASN1TaggedObject obj, boolean explicit)

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

bodyPartIDsback to summary
private final BodyPartID[] bodyPartIDs

Constructor Detail

BodyPartPathback to summary
public BodyPartPath(BodyPartID bodyPartID)

Construct a BodyPartPath object containing one BodyPartID.

Parameters
bodyPartID:BodyPartID

the BodyPartID to be contained.

BodyPartPathback to summary
public BodyPartPath(BodyPartID[] bodyPartIDs)
BodyPartPathback to summary
private BodyPartPath(ASN1Sequence seq)

Method Detail

getBodyPartIDsback to summary
public BodyPartID[] getBodyPartIDs()
getInstanceback to summary
public static BodyPartPath getInstance(Object obj)
getInstanceback to summary
public static BodyPartPath getInstance(ASN1TaggedObject obj, boolean explicit)
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.