Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.cmc
Class BodyPartReference

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.bouncycastle.asn1.cmc.BodyPartReference
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class BodyPartReference
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice

BodyPartReference ::= CHOICE { bodyPartID BodyPartID, bodyPartPath BodyPartPath }


Constructor Summary
BodyPartReference(BodyPartID bodyPartID)
           
BodyPartReference(BodyPartPath bodyPartPath)
           
 
Method Summary
 BodyPartID getBodyPartID()
           
 BodyPartPath getBodyPartPath()
           
static BodyPartReference getInstance(java.lang.Object obj)
           
 boolean isBodyPartID()
           
 org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
           
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyPartReference

public BodyPartReference(BodyPartID bodyPartID)

BodyPartReference

public BodyPartReference(BodyPartPath bodyPartPath)
Method Detail

getInstance

public static BodyPartReference getInstance(java.lang.Object obj)

isBodyPartID

public boolean isBodyPartID()

getBodyPartID

public BodyPartID getBodyPartID()

getBodyPartPath

public BodyPartPath getBodyPartPath()

toASN1Primitive

public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Specified by:
toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable

Bouncy Castle Cryptography Library 1.79