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

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.IAsn1OctetString:
iText.Commons.Bouncycastle.Asn1.IAsn1Object iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.Asn1OctetStringBC iText.Bouncycastlefips.Asn1.Asn1OctetStringBCFips iText.Commons.Bouncycastle.Asn1.IDerOctetString iText.Bouncycastle.Asn1.DerOctetStringBC iText.Bouncycastlefips.Asn1.DerOctetStringBCFips iText.Bouncycastle.Asn1.DerOctetStringBC iText.Bouncycastlefips.Asn1.DerOctetStringBCFips

Public Member Functions

byte[]  GetOctets ()
  Calls actual getOctets method for the wrapped ASN1OctetString object. More...
 
byte[]  GetDerEncoded ()
  Calls actual GetDerEncoded method for the wrapped ASN1OctetString 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 ASN1OctetString that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetDerEncoded()

byte [] iText.Commons.Bouncycastle.Asn1.IAsn1OctetString.GetDerEncoded ( )

Calls actual GetDerEncoded method for the wrapped ASN1OctetString object.

Returns
DER-encoded byte array.

Implemented in iText.Bouncycastle.Asn1.Asn1OctetStringBC, and iText.Bouncycastlefips.Asn1.Asn1OctetStringBCFips.

◆ GetOctets()

byte [] iText.Commons.Bouncycastle.Asn1.IAsn1OctetString.GetOctets ( )

Calls actual getOctets method for the wrapped ASN1OctetString object.

Returns
octets byte array.

Implemented in iText.Bouncycastle.Asn1.Asn1OctetStringBC, and iText.Bouncycastlefips.Asn1.Asn1OctetStringBCFips.