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
ConstructorsConstructorDescriptionRecipientIdBC(org.bouncycastle.cms.RecipientId recipientId) Creates new wrapper instance forRecipientId. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cms.RecipientIdGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.booleanmatch(IX509CertificateHolder holder) Calls actualmatchmethod for the wrapped RecipientId object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
RecipientIdBC
public RecipientIdBC(org.bouncycastle.cms.RecipientId recipientId) Creates new wrapper instance forRecipientId.- Parameters:
-
recipientId-RecipientIdto be wrapped
-
-
Method Details
-
getRecipientId
public org.bouncycastle.cms.RecipientId getRecipientId()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
RecipientId.
-
match
Calls actualmatchmethod for the wrapped RecipientId object.- Specified by:
-
matchin 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
DelegatestoStringmethod call to the wrapped object.
-