Class SubjectPublicKeyInfoBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.SubjectPublicKeyInfoBC
- All Implemented Interfaces:
-
IASN1Encodable
,ISubjectPublicKeyInfo
Wrapper class for
SubjectPublicKeyInfo
.
-
Constructor Summary
ConstructorDescriptionCreates new wrapper instance forSubjectPublicKeyInfo
.SubjectPublicKeyInfoBC
(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo) Creates new wrapper instance forSubjectPublicKeyInfo
. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetAlgorithm
method for the wrapped SubjectPublicKeyInfo object.org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
Gets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
SubjectPublicKeyInfoBC
public SubjectPublicKeyInfoBC(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo) Creates new wrapper instance forSubjectPublicKeyInfo
.- Parameters:
-
subjectPublicKeyInfo
-SubjectPublicKeyInfo
to be wrapped
-
SubjectPublicKeyInfoBC
Creates new wrapper instance forSubjectPublicKeyInfo
.- Parameters:
-
obj
- to getSubjectPublicKeyInfo
instance to be wrapped
-
-
Method Details
-
getSubjectPublicKeyInfo
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPublicKeyInfo()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
SubjectPublicKeyInfo
.
-
getAlgorithm
Calls actualgetAlgorithm
method for the wrapped SubjectPublicKeyInfo object.- Specified by:
-
getAlgorithm
in interfaceISubjectPublicKeyInfo
- Returns:
-
IAlgorithmIdentifier
wrapped AlgorithmIdentifier.
-