Package org.bouncycastle.asn1.cmc
Class BodyPartList
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.BodyPartList
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class BodyPartList
extends org.bouncycastle.asn1.ASN1Object
BodyPartList ::= SEQUENCE SIZE (1..MAX) OF BodyPartID
-
Constructor Summary
ConstructorDescriptionBodyPartList
(BodyPartID bodyPartID) Construct a BodyPartList object containing one BodyPartID.BodyPartList
(BodyPartID[] bodyPartIDs) -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyPartList
getInstance
(Object obj) static BodyPartList
getInstance
(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
BodyPartList
Construct a BodyPartList object containing one BodyPartID.- Parameters:
bodyPartID
- the BodyPartID to be contained.
-
BodyPartList
-
-
Method Details
-
getInstance
-
getInstance
public static BodyPartList getInstance(org.bouncycastle.asn1.ASN1TaggedObject obj, boolean explicit) -
getBodyPartIDs
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-