Package com.itextpdf.bouncycastle.cms
Class RecipientIdBC
java.lang.Object
com.itextpdf.bouncycastle.cms.RecipientIdBC
- All Implemented Interfaces:
-
IRecipientId
Wrapper class for
RecipientId
.
-
Constructor Summary
ConstructorDescriptionRecipientIdBC
(org.bouncycastle.cms.RecipientId recipientId) Creates new wrapper instance forRecipientId
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.RecipientId
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.boolean
match
(IX509CertificateHolder holder) Calls actualmatch
method for the wrapped RecipientId object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
RecipientIdBC
public RecipientIdBC(org.bouncycastle.cms.RecipientId recipientId) Creates new wrapper instance forRecipientId
.- 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
Calls actualmatch
method for the wrapped RecipientId object.- Specified by:
-
match
in interfaceIRecipientId
- Parameters:
-
holder
- X509CertificateHolder wrapper - Returns:
- boolean value.
-
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.
-