Class RecipientInformationStoreBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cms.RecipientInformationStoreBCFips
All Implemented Interfaces:
IRecipientInformationStore

public class RecipientInformationStoreBCFips extends Object implements IRecipientInformationStore
Wrapper class for RecipientInformationStore.
  • Constructor Details

    • RecipientInformationStoreBCFips

      public RecipientInformationStoreBCFips (org.bouncycastle.cms.RecipientInformationStore recipientInformationStore)
      Creates new wrapper instance for RecipientInformationStore.
      Parameters:
      recipientInformationStore - RecipientInformationStore to be wrapped
  • Method Details

    • getRecipientInformationStore

      public org.bouncycastle.cms.RecipientInformationStore getRecipientInformationStore()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped RecipientInformationStore.
    • getRecipients

      public Collection<IRecipientInformation> getRecipients()
      Calls actual getRecipients method for the wrapped RecipientInformationStore object.
      Specified by:
      getRecipients in interface IRecipientInformationStore
      Returns:
      a collection of wrapped recipients.
    • get

      public IRecipientInformation get (IRecipientId id)
      Calls actual get method for the wrapped RecipientInformationStore object.
      Specified by:
      get in interface IRecipientInformationStore
      Parameters:
      id - RecipientId wrapper
      Returns:
      IRecipientInformation the wrapper for received RecipientInformation 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