Package com.itextpdf.bouncycastle.cms
Class CMSEnvelopedDataBC
java.lang.Object
com.itextpdf.bouncycastle.cms.CMSEnvelopedDataBC
- All Implemented Interfaces:
-
ICMSEnvelopedData
Wrapper class for
CMSEnvelopedData
.
-
Constructor Summary
ConstructorDescriptionCMSEnvelopedDataBC
(org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData) Creates new wrapper instance forCMSEnvelopedData
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.CMSEnvelopedData
Gets actual org.bouncycastle object being wrapped.Calls actualgetRecipientInfos
method for the wrapped CMSEnvelopedData object.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
CMSEnvelopedDataBC
public CMSEnvelopedDataBC(org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData) Creates new wrapper instance forCMSEnvelopedData
.- Parameters:
-
cmsEnvelopedData
-CMSEnvelopedData
to be wrapped
-
-
Method Details
-
getCmsEnvelopedData
public org.bouncycastle.cms.CMSEnvelopedData getCmsEnvelopedData()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
CMSEnvelopedData
.
-
getRecipientInfos
Calls actualgetRecipientInfos
method for the wrapped CMSEnvelopedData object.- Specified by:
-
getRecipientInfos
in interfaceICMSEnvelopedData
- Returns:
-
IRecipientInformationStore
the wrapper for the received RecipientInformationStore 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.
-