public class CMSAuthEnvelopedData
extends java.lang.Object
implements org.bouncycastle.util.Encodable
Constructor and Description |
---|
CMSAuthEnvelopedData(byte[] authEnvData) |
CMSAuthEnvelopedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) |
CMSAuthEnvelopedData(java.io.InputStream authEnvData) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.cms.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
|
org.bouncycastle.asn1.cms.AttributeTable |
getUnauthAttrs()
return a table of the unauthenticated attributes indexed by
the OID of the attribute.
|
org.bouncycastle.asn1.cms.ContentInfo |
toASN1Structure()
return the ContentInfo
|
public CMSAuthEnvelopedData(byte[] authEnvData) throws CMSException
CMSException
public CMSAuthEnvelopedData(java.io.InputStream authEnvData) throws CMSException
CMSException
public CMSAuthEnvelopedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) throws CMSException
CMSException
public OriginatorInformation getOriginatorInfo()
public RecipientInformationStore getRecipientInfos()
public org.bouncycastle.asn1.cms.AttributeTable getAuthAttrs()
public org.bouncycastle.asn1.cms.AttributeTable getUnauthAttrs()
public byte[] getMac()
public org.bouncycastle.asn1.cms.ContentInfo toASN1Structure()
public byte[] getEncoded() throws java.io.IOException
getEncoded
in interface org.bouncycastle.util.Encodable
java.io.IOException