Class CMSAuthEnvelopedData

java.lang.Object
org.bouncycastle.cms.CMSAuthEnvelopedData
All Implemented Interfaces:
org.bouncycastle.util.Encodable

public class CMSAuthEnvelopedData extends Object implements org.bouncycastle.util.Encodable
containing class for an CMS AuthEnveloped Data object
  • Constructor Details Link icon

  • Method Details Link icon

    • getOriginatorInfo Link icon

      public OriginatorInformation getOriginatorInfo()
      Return the originator information associated with this message if present.
      Returns:
      OriginatorInformation, null if not present.
    • getRecipientInfos Link icon

      public RecipientInformationStore getRecipientInfos()
      return a store of the intended recipients for this message
    • getAuthAttrs Link icon

      public 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.
      Returns:
      the authenticated attributes.
    • getUnauthAttrs Link icon

      public org.bouncycastle.asn1.cms.AttributeTable getUnauthAttrs()
      return a table of the unauthenticated attributes indexed by the OID of the attribute.
      Returns:
      the unauthenticated attributes.
    • getMac Link icon

      public byte[] getMac()
      Return the MAC value that was originally calculated for this AuthEnveloped data.
      Returns:
      the MAC data associated with the stream.
    • toASN1Structure Link icon

      public org.bouncycastle.asn1.cms.ContentInfo toASN1Structure()
      return the ContentInfo
    • getEncoded Link icon

      public byte[] getEncoded() throws IOException
      return the ASN.1 encoded representation of this object.
      Specified by:
      getEncoded in interface org.bouncycastle.util.Encodable
      Throws:
      IOException