Package com.itextpdf.bouncycastle.cms
Class RecipientInformationStoreBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cms.RecipientInformationStoreBC
-
- All Implemented Interfaces:
IRecipientInformationStore
public class RecipientInformationStoreBC extends java.lang.Object implements IRecipientInformationStore
Wrapper class forRecipientInformationStore
.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cms.RecipientInformationStore
recipientInformationStore
-
Constructor Summary
Constructors Constructor Description RecipientInformationStoreBC(org.bouncycastle.cms.RecipientInformationStore recipientInformationStore)
Creates new wrapper instance forRecipientInformationStore
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.IRecipientInformation
get(IRecipientId id)
Calls actualget
method for the wrapped RecipientInformationStore object.org.bouncycastle.cms.RecipientInformationStore
getRecipientInformationStore()
Gets actual org.bouncycastle object being wrapped.java.util.Collection<IRecipientInformation>
getRecipients()
Calls actualgetRecipients
method for the wrapped RecipientInformationStore object.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method call to the wrapped object.
-
-
-
Method Detail
-
getRecipientInformationStore
public org.bouncycastle.cms.RecipientInformationStore getRecipientInformationStore()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
RecipientInformationStore
.
-
getRecipients
public java.util.Collection<IRecipientInformation> getRecipients()
Calls actualgetRecipients
method for the wrapped RecipientInformationStore object.- Specified by:
getRecipients
in interfaceIRecipientInformationStore
- Returns:
- a collection of wrapped recipients.
-
get
public IRecipientInformation get(IRecipientId id)
Calls actualget
method for the wrapped RecipientInformationStore object.- Specified by:
get
in interfaceIRecipientInformationStore
- Parameters:
id
- RecipientId wrapper- Returns:
IRecipientInformation
the wrapper for received RecipientInformation object.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-