public class CMSAuthEnvelopedData
extends java.lang.Object
implements org.bouncycastle.util.Encodable
| Constructor and Description |
|---|
CMSAuthEnvelopedData(byte[] authEnvData) |
CMSAuthEnvelopedData(ContentInfo contentInfo) |
CMSAuthEnvelopedData(java.io.InputStream authEnvData) |
| Modifier and Type | Method and Description |
|---|---|
AttributeTable |
getAuthAttrs()
return a table of the authenticated attributes (as in those used to provide associated data) indexed by
the OID of the attribute.
|
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
byte[] |
getMac()
Return the MAC value that was originally calculated for this AuthEnveloped data.
|
OriginatorInformation |
getOriginatorInfo()
Return the originator information associated with this message if present.
|
RecipientInformationStore |
getRecipientInfos()
return a store of the intended recipients for this message
|
AttributeTable |
getUnauthAttrs()
return a table of the unauthenticated attributes indexed by
the OID of the attribute.
|
ContentInfo |
toASN1Structure()
return the ContentInfo
|
public CMSAuthEnvelopedData(byte[] authEnvData)
throws CMSException
CMSExceptionpublic CMSAuthEnvelopedData(java.io.InputStream authEnvData)
throws CMSException
CMSExceptionpublic CMSAuthEnvelopedData(ContentInfo contentInfo)
throws CMSException
CMSExceptionpublic OriginatorInformation getOriginatorInfo()
public RecipientInformationStore getRecipientInfos()
public AttributeTable getAuthAttrs()
public AttributeTable getUnauthAttrs()
public byte[] getMac()
public ContentInfo toASN1Structure()
public byte[] getEncoded()
throws java.io.IOException
getEncoded in interface org.bouncycastle.util.Encodablejava.io.IOException