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 for SubjectPublicKeyInfo.
  • Constructor Details

    • SubjectPublicKeyInfoBC

      public SubjectPublicKeyInfoBC (org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo)
      Creates new wrapper instance for SubjectPublicKeyInfo.
      Parameters:
      subjectPublicKeyInfo - SubjectPublicKeyInfo to be wrapped
    • SubjectPublicKeyInfoBC

      public SubjectPublicKeyInfoBC (Object obj)
      Creates new wrapper instance for SubjectPublicKeyInfo.
      Parameters:
      obj - to get SubjectPublicKeyInfo 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

      public IAlgorithmIdentifier getAlgorithm()
      Calls actual getAlgorithm method for the wrapped SubjectPublicKeyInfo object.
      Specified by:
      getAlgorithm in interface ISubjectPublicKeyInfo
      Returns:
      IAlgorithmIdentifier wrapped AlgorithmIdentifier.