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

public Class BodyPartID

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1Integer, .ASN1Object, .ASN1Primitive

      bodyIdMax INTEGER ::= 4294967295

      BodyPartID ::= INTEGER(0..bodyIdMax)

Field Summary

Modifier and TypeField and Description
public static final long
private final long

Constructor Summary

AccessConstructor and Description
public
BodyPartID(long id)

private

Method Summary

Modifier and TypeMethod and Description
private static long
public long
public static BodyPartID
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

bodyIdMaxback to summary
public static final long bodyIdMax
idback to summary
private final long id

Constructor Detail

BodyPartIDback to summary
public BodyPartID(long id)
BodyPartIDback to summary
private BodyPartID(ASN1Integer id)

Method Detail

convertback to summary
private static long convert(BigInteger value)
getIDback to summary
public long getID()
getInstanceback to summary
public static BodyPartID getInstance(Object o)
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.