Interface IKeyUsage

All Superinterfaces:
IASN1Encodable
All Known Implementing Classes:
KeyUsageBC, KeyUsageBCFips

public interface IKeyUsage extends IASN1Encodable
This interface represents the wrapper for KeyUsage that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets digitalSignature constant for the wrapped KeyUsage.
    int
    Gets nonRepudiation constant for the wrapped KeyUsage.

    Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable

    isNull, toASN1Primitive
  • Method Details

    • getDigitalSignature

      int getDigitalSignature()
      Gets digitalSignature constant for the wrapped KeyUsage.
      Returns:
      KeyUsage.digitalSignature value.
    • getNonRepudiation

      int getNonRepudiation()
      Gets nonRepudiation constant for the wrapped KeyUsage.
      Returns:
      KeyUsage.nonRepudiation value.