iText 8.0.5 API
iText.Commons.Bouncycastle.Asn1.IDerEnumerated Interface Reference

This interface represents the wrapper for ASN1Enumerated that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.IDerEnumerated:
iText.Commons.Bouncycastle.Asn1.IAsn1Object iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.DerEnumeratedBC iText.Bouncycastlefips.Asn1.DerEnumeratedBCFips

Public Member Functions

int  IntValueExact ()
  Calls actual intValueExact() method for the wrapped ASN1Enumerated object. More...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.Asn1.IAsn1Object
byte[]  GetEncoded ()
  Calls actual getEncoded method for the wrapped ASN1Primitive object. More...
 
byte[]  GetEncoded (String encoding)
  Calls actual getEncoded method for the wrapped ASN1Primitive object. More...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.Asn1.IAsn1Encodable
IAsn1Object  ToASN1Primitive ()
  Calls actual toASN1Primitive method for the wrapped ASN1Encodable object. More...
 
bool  IsNull ()
  Checks if wrapped object is null. More...
 

Detailed Description

This interface represents the wrapper for ASN1Enumerated that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ IntValueExact()

int iText.Commons.Bouncycastle.Asn1.IDerEnumerated.IntValueExact ( )

Calls actual intValueExact() method for the wrapped ASN1Enumerated object.

Returns
integer value of the wrapped ASN1Enumerated object.

Implemented in iText.Bouncycastle.Asn1.DerEnumeratedBC, and iText.Bouncycastlefips.Asn1.DerEnumeratedBCFips.