Interface IKeyUsage

  • All Superinterfaces:
    IASN1Encodable
    All Known Implementing Classes:
    KeyUsageBC

    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 Detail

      • 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.