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

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.IAsn1Object:
iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.Asn1ObjectBC iText.Bouncycastlefips.Asn1.Asn1ObjectBCFips iText.Commons.Bouncycastle.Asn1.Cmp.IPkiFailureInfo iText.Commons.Bouncycastle.Asn1.IAsn1OctetString iText.Commons.Bouncycastle.Asn1.IAsn1Sequence iText.Commons.Bouncycastle.Asn1.IAsn1Set iText.Commons.Bouncycastle.Asn1.IAsn1TaggedObject iText.Commons.Bouncycastle.Asn1.IDerBitString iText.Commons.Bouncycastle.Asn1.IDerEnumerated iText.Commons.Bouncycastle.Asn1.IDerGeneralizedTime iText.Commons.Bouncycastle.Asn1.IDerIA5String iText.Commons.Bouncycastle.Asn1.IDerInteger iText.Commons.Bouncycastle.Asn1.IDerNull iText.Commons.Bouncycastle.Asn1.IDerObjectIdentifier iText.Commons.Bouncycastle.Asn1.IDerUtcTime

Public Member Functions

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 ASN1Primitive that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetEncoded() [1/2]

byte [] iText.Commons.Bouncycastle.Asn1.IAsn1Object.GetEncoded ( )

Calls actual getEncoded method for the wrapped ASN1Primitive object.

Returns
the default encoding for the wrapped object.

Implemented in iText.Bouncycastle.Asn1.Asn1ObjectBC, and iText.Bouncycastlefips.Asn1.Asn1ObjectBCFips.

◆ GetEncoded() [2/2]

byte [] iText.Commons.Bouncycastle.Asn1.IAsn1Object.GetEncoded ( String  encoding )

Calls actual getEncoded method for the wrapped ASN1Primitive object.

Parameters
encoding encoding value
Returns
the default encoding for the wrapped object.

Implemented in iText.Bouncycastle.Asn1.Asn1ObjectBC, and iText.Bouncycastlefips.Asn1.Asn1ObjectBCFips.