Class RecipientInformationBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cms.RecipientInformationBCFips
- All Implemented Interfaces:
-
IRecipientInformation
Wrapper class for
RecipientInformation
.
-
Constructor Summary
ConstructorDescriptionRecipientInformationBCFips
(org.bouncycastle.cms.RecipientInformation recipientInformation) Creates new wrapper instance forRecipientInformation
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.byte[]
getContent
(IRecipient recipient) Calls actualgetContent
method for the wrapped RecipientInformation object.org.bouncycastle.cms.RecipientInformation
Gets actual org.bouncycastle object being wrapped.getRID()
Calls actualgetRID
method for the wrapped RecipientInformation object.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
RecipientInformationBCFips
public RecipientInformationBCFips(org.bouncycastle.cms.RecipientInformation recipientInformation) Creates new wrapper instance forRecipientInformation
.- Parameters:
-
recipientInformation
-RecipientInformation
to be wrapped
-
-
Method Details
-
getRecipientInformation
public org.bouncycastle.cms.RecipientInformation getRecipientInformation()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
RecipientInformation
.
-
getContent
Calls actualgetContent
method for the wrapped RecipientInformation object.- Specified by:
-
getContent
in interfaceIRecipientInformation
- Parameters:
-
recipient
- wrapper for recipient object to use to recover content encryption key - Returns:
- the content inside the EnvelopedData this RecipientInformation is associated with.
- Throws:
-
CMSExceptionBCFips
-
getRID
Calls actualgetRID
method for the wrapped RecipientInformation object.- Specified by:
-
getRID
in interfaceIRecipientInformation
- Returns:
-
IRecipientId
the wrapper for received RecipientId object.
-
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.
-