Class RecipientInformationBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cms.RecipientInformationBCFips
- All Implemented Interfaces:
-
IRecipientInformation
Wrapper class for
RecipientInformation.
-
Constructor Summary
ConstructorsConstructorDescriptionRecipientInformationBCFips(org.bouncycastle.cms.RecipientInformation recipientInformation) Creates new wrapper instance forRecipientInformation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.byte[]getContent(IRecipient recipient) Calls actualgetContentmethod for the wrapped RecipientInformation object.org.bouncycastle.cms.RecipientInformationGets actual org.bouncycastle object being wrapped.getRID()Calls actualgetRIDmethod for the wrapped RecipientInformation object.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
RecipientInformationBCFips
public RecipientInformationBCFips(org.bouncycastle.cms.RecipientInformation recipientInformation) Creates new wrapper instance forRecipientInformation.- Parameters:
-
recipientInformation-RecipientInformationto be wrapped
-
-
Method Details
-
getRecipientInformation
public org.bouncycastle.cms.RecipientInformation getRecipientInformation()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
RecipientInformation.
-
getContent
Calls actualgetContentmethod for the wrapped RecipientInformation object.- Specified by:
-
getContentin 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 actualgetRIDmethod for the wrapped RecipientInformation object.- Specified by:
-
getRIDin interfaceIRecipientInformation - Returns:
-
IRecipientIdthe 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
DelegatestoStringmethod call to the wrapped object.
-