Class BodyPartID

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.BodyPartID
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class BodyPartID extends org.bouncycastle.asn1.ASN1Object
       bodyIdMax INTEGER ::= 4294967295

       BodyPartID ::= INTEGER(0..bodyIdMax)
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BodyPartID(long id)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    static BodyPartID
     
    org.bouncycastle.asn1.ASN1Primitive
     

    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
  • Field Details

  • Constructor Details

    • BodyPartID

      public BodyPartID(long id)
  • Method Details

    • getInstance

      public static BodyPartID getInstance(Object o)
    • getID

      public long getID()
    • toASN1Primitive

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