Class RecipientIdBC
java.lang.Object
com.itextpdf.bouncycastle.cms.RecipientIdBC
- All Implemented Interfaces:
IRecipientId
Wrapper class for
RecipientId.-
Field Summary
Fields -
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.
-
Field Details
-
recipientId
private final org.bouncycastle.cms.RecipientId recipientId
-
-
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
-
hashCode
-
toString
-