Class SubjectPublicKeyInfoBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.SubjectPublicKeyInfoBC
-
- All Implemented Interfaces:
IASN1Encodable,ISubjectPublicKeyInfo
public class SubjectPublicKeyInfoBC extends ASN1EncodableBC implements ISubjectPublicKeyInfo
Wrapper class forSubjectPublicKeyInfo.
-
-
Constructor Summary
Constructors Constructor Description SubjectPublicKeyInfoBC(java.lang.Object obj)Creates new wrapper instance forSubjectPublicKeyInfo.SubjectPublicKeyInfoBC(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo)Creates new wrapper instance forSubjectPublicKeyInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAlgorithmIdentifiergetAlgorithm()Calls actualgetAlgorithmmethod for the wrapped SubjectPublicKeyInfo object.org.bouncycastle.asn1.x509.SubjectPublicKeyInfogetSubjectPublicKeyInfo()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 Detail
-
SubjectPublicKeyInfoBC
public SubjectPublicKeyInfoBC(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo)
Creates new wrapper instance forSubjectPublicKeyInfo.- Parameters:
subjectPublicKeyInfo-SubjectPublicKeyInfoto be wrapped
-
SubjectPublicKeyInfoBC
public SubjectPublicKeyInfoBC(java.lang.Object obj)
Creates new wrapper instance forSubjectPublicKeyInfo.- Parameters:
obj- to getSubjectPublicKeyInfoinstance to be wrapped
-
-
Method Detail
-
getSubjectPublicKeyInfo
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPublicKeyInfo()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
SubjectPublicKeyInfo.
-
getAlgorithm
public IAlgorithmIdentifier getAlgorithm()
Calls actualgetAlgorithmmethod for the wrapped SubjectPublicKeyInfo object.- Specified by:
getAlgorithmin interfaceISubjectPublicKeyInfo- Returns:
IAlgorithmIdentifierwrapped AlgorithmIdentifier.
-
-