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

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.IDerGeneralizedTime:
iText.Commons.Bouncycastle.Asn1.IAsn1Object iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.IAsn1GeneralizedTimeBC iText.Bouncycastlefips.Asn1.DerGeneralizedTimeBCFips

Public Member Functions

DateTime  GetDate ()
  Calls actual getDate method for the wrapped ASN1GeneralizedTime 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 ASN1GeneralizedTime that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetDate()

DateTime iText.Commons.Bouncycastle.Asn1.IDerGeneralizedTime.GetDate ( )

Calls actual getDate method for the wrapped ASN1GeneralizedTime object.

Returns

System.DateTime date stored in the wrapped ASN1GeneralizedTime.

Implemented in iText.Bouncycastle.Asn1.IAsn1GeneralizedTimeBC, and iText.Bouncycastlefips.Asn1.DerGeneralizedTimeBCFips.