Package com.itextpdf.bouncycastle.cms
Class RecipientBC
java.lang.Object
com.itextpdf.bouncycastle.cms.RecipientBC
- All Implemented Interfaces:
-
IRecipient
- Direct Known Subclasses:
-
JceKeyTransEnvelopedRecipientBC
Wrapper class for
Recipient
.
-
Constructor Summary
ConstructorDescriptionRecipientBC
(org.bouncycastle.cms.Recipient recipient) Creates new wrapper instance forRecipient
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.Recipient
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
RecipientBC
public RecipientBC(org.bouncycastle.cms.Recipient recipient) Creates new wrapper instance forRecipient
.- Parameters:
-
recipient
-Recipient
to be wrapped
-
-
Method Details
-
getRecipient
public org.bouncycastle.cms.Recipient getRecipient()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
Recipient
.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-