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

public Class BodyPartReference

extends ASN1Object
implements ASN1Choice
Class Inheritance
All Implemented Interfaces
org.bouncycastle.asn1.ASN1Choice
Imports
java.io.IOException, org.bouncycastle.asn1.ASN1Choice, .ASN1Encodable, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence

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

Field Summary

Modifier and TypeField and Description
private final BodyPartID
private final BodyPartPath

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public BodyPartID
public BodyPartPath
public static BodyPartReference
public boolean
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

bodyPartIDback to summary
private final BodyPartID bodyPartID
bodyPartPathback to summary
private final BodyPartPath bodyPartPath

Constructor Detail

BodyPartReferenceback to summary
public BodyPartReference(BodyPartID bodyPartID)
BodyPartReferenceback to summary
public BodyPartReference(BodyPartPath bodyPartPath)

Method Detail

getBodyPartIDback to summary
public BodyPartID getBodyPartID()
getBodyPartPathback to summary
public BodyPartPath getBodyPartPath()
getInstanceback to summary
public static BodyPartReference getInstance(Object obj)
isBodyPartIDback to summary
public boolean isBodyPartID()
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.