Package com.itextpdf.bouncycastle.cms
Class RecipientIdBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cms.RecipientIdBC
-
- All Implemented Interfaces:
IRecipientId
public class RecipientIdBC extends java.lang.Object implements IRecipientId
Wrapper class forRecipientId
.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cms.RecipientId
recipientId
-
Constructor Summary
Constructors Constructor Description RecipientIdBC(org.bouncycastle.cms.RecipientId recipientId)
Creates new wrapper instance forRecipientId
.
-
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.org.bouncycastle.cms.RecipientId
getRecipientId()
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.java.lang.String
toString()
DelegatestoString
method call to the wrapped object.
-
-
-
Method Detail
-
getRecipientId
public org.bouncycastle.cms.RecipientId getRecipientId()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
RecipientId
.
-
match
public boolean match(IX509CertificateHolder holder)
Calls actualmatch
method for the wrapped RecipientId object.- Specified by:
match
in interfaceIRecipientId
- Parameters:
holder
- X509CertificateHolder wrapper- Returns:
- boolean value.
-
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
-
-