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
ConstructorsConstructorDescriptionCMSEnvelopedDataBC(org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData) Creates new wrapper instance forCMSEnvelopedData. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cms.CMSEnvelopedDataGets actual org.bouncycastle object being wrapped.Calls actualgetRecipientInfosmethod for the wrapped CMSEnvelopedData object.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
CMSEnvelopedDataBC
public CMSEnvelopedDataBC(org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData) Creates new wrapper instance forCMSEnvelopedData.- Parameters:
-
cmsEnvelopedData-CMSEnvelopedDatato be wrapped
-
-
Method Details
-
getCmsEnvelopedData
public org.bouncycastle.cms.CMSEnvelopedData getCmsEnvelopedData()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
CMSEnvelopedData.
-
getRecipientInfos
Calls actualgetRecipientInfosmethod for the wrapped CMSEnvelopedData object.- Specified by:
-
getRecipientInfosin interfaceICMSEnvelopedData - Returns:
-
IRecipientInformationStorethe 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
DelegatestoStringmethod call to the wrapped object.
-