Package com.itextpdf.bouncycastle.cms
Class RecipientBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cms.RecipientBC
-
- All Implemented Interfaces:
IRecipient
- Direct Known Subclasses:
JceKeyAgreeEnvelopedRecipientBC,JceKeyTransEnvelopedRecipientBC
public class RecipientBC extends java.lang.Object implements IRecipient
Wrapper class forRecipient.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cms.Recipientrecipient
-
Constructor Summary
Constructors Constructor Description RecipientBC(org.bouncycastle.cms.Recipient recipient)Creates new wrapper instance forRecipient.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.RecipientgetRecipient()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Method Detail
-
getRecipient
public org.bouncycastle.cms.Recipient getRecipient()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
Recipient.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-