Class SubjectPublicKeyInfoBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.SubjectPublicKeyInfoBCFips
All Implemented Interfaces:
IASN1Encodable, ISubjectPublicKeyInfo

public class SubjectPublicKeyInfoBCFips extends ASN1EncodableBCFips implements ISubjectPublicKeyInfo
Wrapper class for SubjectPublicKeyInfo.
  • Constructor Details

    • SubjectPublicKeyInfoBCFips

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

      public SubjectPublicKeyInfoBCFips (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.