Class X509ExtensionUtilsBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.X509ExtensionUtilsBCFips
- All Implemented Interfaces:
-
IX509ExtensionUtils
Wrapper class for
X509ExtensionUtils
.
-
Constructor Summary
ConstructorDescriptionX509ExtensionUtilsBCFips
(IDigestCalculator digestCalculator) Creates new wrapper instance forX509ExtensionUtils
.X509ExtensionUtilsBCFips
(org.bouncycastle.cert.X509ExtensionUtils extensionUtils) Creates new wrapper instance forX509ExtensionUtils
. -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthorityKeyIdentifier
(ISubjectPublicKeyInfo publicKeyInfo) Calls actualcreateAuthorityKeyIdentifier
method for the wrapped X509ExtensionUtils object.createSubjectKeyIdentifier
(ISubjectPublicKeyInfo publicKeyInfo) Calls actualcreateSubjectKeyIdentifier
method for the wrapped X509ExtensionUtils object.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.X509ExtensionUtils
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
X509ExtensionUtilsBCFips
public X509ExtensionUtilsBCFips(org.bouncycastle.cert.X509ExtensionUtils extensionUtils) Creates new wrapper instance forX509ExtensionUtils
.- Parameters:
-
extensionUtils
-X509ExtensionUtils
to be wrapped
-
X509ExtensionUtilsBCFips
Creates new wrapper instance forX509ExtensionUtils
.- Parameters:
-
digestCalculator
- DigestCalculator wrapper to createX509ExtensionUtils
-
-
Method Details
-
getExtensionUtils
public org.bouncycastle.cert.X509ExtensionUtils getExtensionUtils()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
X509ExtensionUtils
.
-
createAuthorityKeyIdentifier
Calls actualcreateAuthorityKeyIdentifier
method for the wrapped X509ExtensionUtils object.- Specified by:
-
createAuthorityKeyIdentifier
in interfaceIX509ExtensionUtils
- Parameters:
-
publicKeyInfo
- SubjectPublicKeyInfo wrapper - Returns:
-
IAuthorityKeyIdentifier
wrapper for the created AuthorityKeyIdentifier.
-
createSubjectKeyIdentifier
Calls actualcreateSubjectKeyIdentifier
method for the wrapped X509ExtensionUtils object.- Specified by:
-
createSubjectKeyIdentifier
in interfaceIX509ExtensionUtils
- Parameters:
-
publicKeyInfo
- SubjectPublicKeyInfo wrapper - Returns:
-
ISubjectKeyIdentifier
wrapper for the created SubjectKeyIdentifier.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-