iText 9.1.0 API
iText.Commons.Bouncycastle.Asn1.X509.IKeyUsage Interface Reference

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.X509.IKeyUsage:
iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.X509.KeyUsageBC iText.Bouncycastlefips.Asn1.X509.KeyUsageBCFips

Public Member Functions

int  GetDigitalSignature ()
  Gets digitalSignature constant for the wrapped KeyUsage. More...
 
int  GetNonRepudiation ()
  Gets nonRepudiation constant for the wrapped KeyUsage. 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 KeyUsage that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetDigitalSignature()

int iText.Commons.Bouncycastle.Asn1.X509.IKeyUsage.GetDigitalSignature ( )

Gets digitalSignature constant for the wrapped KeyUsage.

Returns
KeyUsage.digitalSignature value.

Implemented in iText.Bouncycastle.Asn1.X509.KeyUsageBC, and iText.Bouncycastlefips.Asn1.X509.KeyUsageBCFips.

◆ GetNonRepudiation()

int iText.Commons.Bouncycastle.Asn1.X509.IKeyUsage.GetNonRepudiation ( )

Gets nonRepudiation constant for the wrapped KeyUsage.

Returns
KeyUsage.nonRepudiation value.

Implemented in iText.Bouncycastle.Asn1.X509.KeyUsageBC, and iText.Bouncycastlefips.Asn1.X509.KeyUsageBCFips.