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
ConstructorsConstructorDescriptionX509ExtensionUtilsBC(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 actualcreateAuthorityKeyIdentifiermethod for the wrapped X509ExtensionUtils object.createSubjectKeyIdentifier(ISubjectPublicKeyInfo publicKeyInfo) Calls actualcreateSubjectKeyIdentifiermethod for the wrapped X509ExtensionUtils object.booleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.X509ExtensionUtilsGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
X509ExtensionUtilsBC
public X509ExtensionUtilsBC(org.bouncycastle.cert.X509ExtensionUtils extensionUtils) Creates new wrapper instance forX509ExtensionUtils.- Parameters:
-
extensionUtils-X509ExtensionUtilsto 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 actualcreateAuthorityKeyIdentifiermethod for the wrapped X509ExtensionUtils object.- Specified by:
-
createAuthorityKeyIdentifierin interfaceIX509ExtensionUtils - Parameters:
-
publicKeyInfo- SubjectPublicKeyInfo wrapper - Returns:
-
IAuthorityKeyIdentifierwrapper for the created AuthorityKeyIdentifier.
-
createSubjectKeyIdentifier
Calls actualcreateSubjectKeyIdentifiermethod for the wrapped X509ExtensionUtils object.- Specified by:
-
createSubjectKeyIdentifierin interfaceIX509ExtensionUtils - Parameters:
-
publicKeyInfo- SubjectPublicKeyInfo wrapper - Returns:
-
ISubjectKeyIdentifierwrapper 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
DelegatestoStringmethod call to the wrapped object.
-