Class UintBase

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
    Direct Known Subclasses:
    UINT16, UINT3, UINT32, UINT64, UINT8

    public abstract class UintBase
    extends org.bouncycastle.asn1.ASN1Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.math.BigInteger value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        UintBase​(int value)  
        UintBase​(long value)  
        UintBase​(java.math.BigInteger value)  
      protected UintBase​(org.bouncycastle.asn1.ASN1Integer integer)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void assertLimit()  
      java.math.BigInteger getValue()  
      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
    • Field Detail

      • value

        protected final java.math.BigInteger value
    • Constructor Detail

      • UintBase

        public UintBase​(java.math.BigInteger value)
      • UintBase

        public UintBase​(int value)
      • UintBase

        public UintBase​(long value)
      • UintBase

        protected UintBase​(org.bouncycastle.asn1.ASN1Integer integer)
    • Method Detail

      • getValue

        public java.math.BigInteger getValue()
      • 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
      • assertLimit

        protected abstract void assertLimit()