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.CMSEnvelopedData
cmsEnvelopedData
-
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 boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.org.bouncycastle.cms.CMSEnvelopedData
getCmsEnvelopedData()
Gets actual org.bouncycastle object being wrapped.IRecipientInformationStore
getRecipientInfos()
Calls actualgetRecipientInfos
method for the wrapped CMSEnvelopedData object.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method 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 actualgetRecipientInfos
method for the wrapped CMSEnvelopedData object.- Specified by:
getRecipientInfos
in interfaceICMSEnvelopedData
- Returns:
IRecipientInformationStore
the 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-