Class RecipientIdBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cms.RecipientIdBCFips
All Implemented Interfaces:
IRecipientId

public class RecipientIdBCFips extends Object implements IRecipientId
Wrapper class for RecipientId.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecipientIdBCFips(org.bouncycastle.cms.RecipientId recipientId)
    Creates new wrapper instance for RecipientId.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.cms.RecipientId
    Gets actual org.bouncycastle object being wrapped.
    int
    Returns a hash code value based on the wrapped object.
    boolean
    Calls actual match method for the wrapped RecipientId 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

    • RecipientIdBCFips

      public RecipientIdBCFips (org.bouncycastle.cms.RecipientId recipientId)
      Creates new wrapper instance for RecipientId.
      Parameters:
      recipientId - RecipientId to be wrapped
  • Method Details

    • getRecipientId

      public org.bouncycastle.cms.RecipientId getRecipientId()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped RecipientId.
    • match

      public boolean match (IX509CertificateHolder holder)
      Calls actual match method for the wrapped RecipientId object.
      Specified by:
      match in interface IRecipientId
      Parameters:
      holder - X509CertificateHolder wrapper
      Returns:
      boolean value.
    • 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