Package com.itextpdf.bouncycastle.cert
Class X509ExtensionUtilsBC
java.lang.Object
com.itextpdf.bouncycastle.cert.X509ExtensionUtilsBC
- All Implemented Interfaces:
-
IX509ExtensionUtils
Wrapper class for
X509ExtensionUtils
.
-
Constructor Summary
ConstructorDescriptionX509ExtensionUtilsBC
(IDigestCalculator digestCalculator) Creates new wrapper instance forX509ExtensionUtils
.X509ExtensionUtilsBC
(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
-
X509ExtensionUtilsBC
public X509ExtensionUtilsBC(org.bouncycastle.cert.X509ExtensionUtils extensionUtils) Creates new wrapper instance forX509ExtensionUtils
.- Parameters:
-
extensionUtils
-X509ExtensionUtils
to be wrapped
-
X509ExtensionUtilsBC
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.
-