Package com.itextpdf.bouncycastle.cms
Class RecipientBC
java.lang.Object
com.itextpdf.bouncycastle.cms.RecipientBC
- All Implemented Interfaces:
-
IRecipient
- Direct Known Subclasses:
-
JceKeyAgreeEnvelopedRecipientBC,JceKeyTransEnvelopedRecipientBC
Wrapper class for
Recipient.
-
Constructor Summary
ConstructorsConstructorDescriptionRecipientBC(org.bouncycastle.cms.Recipient recipient) Creates new wrapper instance forRecipient. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cms.RecipientGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
RecipientBC
public RecipientBC(org.bouncycastle.cms.Recipient recipient) Creates new wrapper instance forRecipient.- Parameters:
-
recipient-Recipientto 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
DelegatestoStringmethod call to the wrapped object.
-