Class ASN1Integer

  • All Implemented Interfaces:
    io.anyline.nfc.bouncycastle.asn1.ASN1Encodable , io.anyline.nfc.bouncycastle.util.Encodable

    
    public class ASN1Integer
    extends ASN1Primitive
                        

    Class representing the ASN.1 INTEGER type.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ASN1Integer(long value) Construct an INTEGER from the passed in long value.
      ASN1Integer(BigInteger value) Construct an INTEGER from the passed in BigInteger value.
      ASN1Integer(Array<byte> bytes) Construct an INTEGER from the passed in byte array.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • ASN1Integer

        ASN1Integer(long value)
        Construct an INTEGER from the passed in long value.
        Parameters:
        value - the long representing the value desired.
      • ASN1Integer

        ASN1Integer(BigInteger value)
        Construct an INTEGER from the passed in BigInteger value.
        Parameters:
        value - the BigInteger representing the value desired.
      • ASN1Integer

        ASN1Integer(Array<byte> bytes)
        Construct an INTEGER from the passed in byte array.
        Parameters:
        bytes - the byte array representing a 2's complement encoding of a BigInteger.