Interface IKeyUsage
- All Superinterfaces:
IASN1Encodable
- All Known Implementing Classes:
KeyUsageBC
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 TypeMethodDescriptionintGetsdigitalSignatureconstant for the wrapped KeyUsage.intGetsnonRepudiationconstant for the wrapped KeyUsage.Methods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Method Details
-
getDigitalSignature
int getDigitalSignature()GetsdigitalSignatureconstant for the wrapped KeyUsage.- Returns:
- KeyUsage.digitalSignature value.
-
getNonRepudiation
int getNonRepudiation()GetsnonRepudiationconstant for the wrapped KeyUsage.- Returns:
- KeyUsage.nonRepudiation value.
-