public class BodyPartList
extends org.bouncycastle.asn1.ASN1Object
BodyPartList ::= SEQUENCE SIZE (1..MAX) OF BodyPartID
Constructor and Description |
---|
BodyPartList(BodyPartID bodyPartID)
Construct a BodyPartList object containing one BodyPartID.
|
BodyPartList(BodyPartID[] bodyPartIDs) |
Modifier and Type | Method and Description |
---|---|
BodyPartID[] |
getBodyPartIDs() |
static BodyPartList |
getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj,
boolean explicit) |
static BodyPartList |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public BodyPartList(BodyPartID bodyPartID)
bodyPartID
- the BodyPartID to be contained.public BodyPartList(BodyPartID[] bodyPartIDs)
public static BodyPartList getInstance(java.lang.Object obj)
public static BodyPartList getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit)
public BodyPartID[] getBodyPartIDs()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object