<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.1" />

Org.BouncyCastle.Asn1.DerInteger

public class DerInteger : Asn1Object
namespace Org.BouncyCastle.Asn1 { public class DerInteger : Asn1Object { public const string AllowUnsafeProperty = "Org.BouncyCastle.Asn1.AllowUnsafeInteger"; public BigInteger PositiveValue { get; } public BigInteger Value { get; } public int IntPositiveValueExact { get; } public int IntValueExact { get; } public long LongValueExact { get; } public static DerInteger GetInstance(object obj); public static DerInteger GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit); public DerInteger(int value); public DerInteger(long value); public DerInteger(BigInteger value); public DerInteger(byte[] bytes); public bool HasValue(int x); public bool HasValue(long x); public bool HasValue(BigInteger x); } }