Package org.bouncycastle.asn1.cmc
Class BodyPartList
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.BodyPartList
- All Implemented Interfaces:
ASN1Encodable,Encodable
BodyPartList ::= SEQUENCE SIZE (1..MAX) OF BodyPartID
-
Constructor Summary
ConstructorsConstructorDescriptionBodyPartList(BodyPartID bodyPartID) Construct a BodyPartList object containing one BodyPartID.BodyPartList(BodyPartID[] bodyPartIDs) -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyPartListgetInstance(Object obj) static BodyPartListgetInstance(ASN1TaggedObject obj, boolean explicit) Method providing a primitive representation of this object suitable for encoding.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
-
getBodyPartIDs
-
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-