Package com.itextpdf.bouncycastle.cms
Class CMSEnvelopedDataBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cms.CMSEnvelopedDataBC
-
- All Implemented Interfaces:
ICMSEnvelopedData
public class CMSEnvelopedDataBC extends java.lang.Object implements ICMSEnvelopedData
Wrapper class forCMSEnvelopedData.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cms.CMSEnvelopedDatacmsEnvelopedData
-
Constructor Summary
Constructors Constructor Description CMSEnvelopedDataBC(org.bouncycastle.cms.CMSEnvelopedData cmsEnvelopedData)Creates new wrapper instance forCMSEnvelopedData.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.CMSEnvelopedDatagetCmsEnvelopedData()Gets actual org.bouncycastle object being wrapped.IRecipientInformationStoregetRecipientInfos()Calls actualgetRecipientInfosmethod for the wrapped CMSEnvelopedData object.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Method Detail
-
getCmsEnvelopedData
public org.bouncycastle.cms.CMSEnvelopedData getCmsEnvelopedData()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
CMSEnvelopedData.
-
getRecipientInfos
public IRecipientInformationStore getRecipientInfos()
Calls actualgetRecipientInfosmethod for the wrapped CMSEnvelopedData object.- Specified by:
getRecipientInfosin interfaceICMSEnvelopedData- Returns:
IRecipientInformationStorethe wrapper for the received RecipientInformationStore object.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-