Class ASN1IntegerBCFips

All Implemented Interfaces:
IASN1Encodable, IASN1Integer, IASN1Primitive

public class ASN1IntegerBCFips extends ASN1PrimitiveBCFips implements IASN1Integer
Wrapper class for ASN1Integer.
  • Constructor Details

    • ASN1IntegerBCFips

      public ASN1IntegerBCFips (org.bouncycastle.asn1.ASN1Integer i)
      Creates new wrapper instance for ASN1Integer.
      Parameters:
      i - ASN1Integer to be wrapped
    • ASN1IntegerBCFips

      public ASN1IntegerBCFips (int i)
      Creates new wrapper instance for ASN1Integer.
      Parameters:
      i - int value to create ASN1Integer to be wrapped
    • ASN1IntegerBCFips

      public ASN1IntegerBCFips (BigInteger i)
      Creates new wrapper instance for ASN1Integer.
      Parameters:
      i - BigInteger value to create ASN1Integer to be wrapped
  • Method Details

    • getASN1Integer

      public org.bouncycastle.asn1.ASN1Integer getASN1Integer()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped ASN1Integer.
    • getValue

      public BigInteger getValue()
      Calls actual getValue method for the wrapped ASN1Integer object.
      Specified by:
      getValue in interface IASN1Integer
      Returns:
      BigInteger value.