Class CMSEnvelopedDataBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cms.CMSEnvelopedDataBCFips
All Implemented Interfaces:
ICMSEnvelopedData

public class CMSEnvelopedDataBCFips extends Object implements ICMSEnvelopedData
Wrapper class for CMSEnvelopedData.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CMSEnvelopedDataBCFips(org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData)
    Creates new wrapper instance for CMSEnvelopedData.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.cms.CMSEnvelopedData
    Gets actual org.bouncycastle object being wrapped.
    Calls actual getRecipientInfos method for the wrapped CMSEnvelopedData object.
    int
    Returns a hash code value based on the wrapped object.
    Delegates toString method call to the wrapped object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CMSEnvelopedDataBCFips

      public CMSEnvelopedDataBCFips (org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData)
      Creates new wrapper instance for CMSEnvelopedData.
      Parameters:
      cmsEnvelopedData - CMSEnvelopedData to be wrapped
  • Method Details

    • getCmsEnvelopedData

      public org.bouncycastle.cms.CMSEnvelopedData getCmsEnvelopedData()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped CMSEnvelopedData.
    • getRecipientInfos

      public IRecipientInformationStore getRecipientInfos()
      Calls actual getRecipientInfos method for the wrapped CMSEnvelopedData object.
      Specified by:
      getRecipientInfos in interface ICMSEnvelopedData
      Returns:
      IRecipientInformationStore the wrapper for the received RecipientInformationStore object.
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object