Interface IKeyUsage
- All Superinterfaces:
-
IASN1Encodable
- All Known Implementing Classes:
-
KeyUsageBC
,KeyUsageBCFips
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 TypeMethodDescriptionint
GetsdigitalSignature
constant for the wrapped KeyUsage.int
GetsnonRepudiation
constant for the wrapped KeyUsage.Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Method Details
-
getDigitalSignature
int getDigitalSignature()GetsdigitalSignature
constant for the wrapped KeyUsage.- Returns:
- KeyUsage.digitalSignature value.
-
getNonRepudiation
int getNonRepudiation()GetsnonRepudiation
constant for the wrapped KeyUsage.- Returns:
- KeyUsage.nonRepudiation value.
-