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
ConstructorsConstructorDescriptionCreates new wrapper instance forSubjectPublicKeyInfo.SubjectPublicKeyInfoBC(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo) Creates new wrapper instance forSubjectPublicKeyInfo. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetAlgorithmmethod for the wrapped SubjectPublicKeyInfo object.org.bouncycastle.asn1.x509.SubjectPublicKeyInfoGets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
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
-
SubjectPublicKeyInfoBC
public SubjectPublicKeyInfoBC(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo) Creates new wrapper instance forSubjectPublicKeyInfo.- Parameters:
-
subjectPublicKeyInfo-SubjectPublicKeyInfoto be wrapped
-
SubjectPublicKeyInfoBC
Creates new wrapper instance forSubjectPublicKeyInfo.- Parameters:
-
obj- to getSubjectPublicKeyInfoinstance 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 actualgetAlgorithmmethod for the wrapped SubjectPublicKeyInfo object.- Specified by:
-
getAlgorithmin interfaceISubjectPublicKeyInfo - Returns:
-
IAlgorithmIdentifierwrapped AlgorithmIdentifier.
-