Class KeyUsageBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.KeyUsageBCFips
- All Implemented Interfaces:
-
IASN1Encodable,IKeyUsage
Wrapper class for
KeyUsage.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyUsageBCFips(org.bouncycastle.asn1.x509.KeyUsage keyUsage) Creates new wrapper instance forKeyUsage. -
Method Summary
Modifier and TypeMethodDescriptionintGetsdigitalSignatureconstant for the wrapped KeyUsage.static KeyUsageBCFipsGets wrapper instance.org.bouncycastle.asn1.x509.KeyUsageGets actual org.bouncycastle object being wrapped.intGetsnonRepudiationconstant for the wrapped KeyUsage.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
KeyUsageBCFips
public KeyUsageBCFips(org.bouncycastle.asn1.x509.KeyUsage keyUsage) Creates new wrapper instance forKeyUsage.- Parameters:
-
keyUsage-KeyUsageto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
KeyUsageBCFipsinstance.
-
getKeyUsage
public org.bouncycastle.asn1.x509.KeyUsage getKeyUsage()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
KeyUsage.
-
getDigitalSignature
public int getDigitalSignature()GetsdigitalSignatureconstant for the wrapped KeyUsage.- Specified by:
-
getDigitalSignaturein interfaceIKeyUsage - Returns:
- KeyUsage.digitalSignature value.
-
getNonRepudiation
public int getNonRepudiation()GetsnonRepudiationconstant for the wrapped KeyUsage.- Specified by:
-
getNonRepudiationin interfaceIKeyUsage - Returns:
- KeyUsage.nonRepudiation value.
-