Class ContentInformation


  • public class ContentInformation
    extends Object
    Definition: General Cryptographic Message Syntax (CMS) data structure -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains two data elements: The type of content of the CMS data structure The content itself These CMS data structures could be nested to allow a sequence of cryptographic processings on a part of a messageType (e.g.

    Java class for ContentInformation complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ContentInformation">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice>
               <element name="EnvelopedData" type="{}EnvelopedData"/>
               <element name="AuthenticatedData" type="{}AuthenticatedData"/>
               <element name="SignedData" type="{}SignedData"/>
               <element name="DigestedData" type="{}DigestedData"/>
               <element name="NamedKeyEncryptedData" type="{}NamedKeyEncryptedData"/>
             </choice>
           </sequence>
           <attribute name="Content" use="required" type="{}ContentType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • envelopedData

        protected EnvelopedData envelopedData
        The Enveloped data.
      • authenticatedData

        protected AuthenticatedData authenticatedData
        The Authenticated data.
      • signedData

        protected SignedData signedData
        The Signed data.
      • digestedData

        protected DigestedData digestedData
        The Digested data.
      • namedKeyEncryptedData

        protected NamedKeyEncryptedData namedKeyEncryptedData
        The Named key encrypted data.
      • contentType

        protected ContentType contentType
        The Content.
    • Constructor Detail

      • ContentInformation

        public ContentInformation()
    • Method Detail

      • getEnvelopedData

        public EnvelopedData getEnvelopedData()
        Gets the value of the envelopedData property.
        Returns:
        possible object is EnvelopedData
      • setEnvelopedData

        public void setEnvelopedData​(EnvelopedData value)
        Sets the value of the envelopedData property.
        Parameters:
        value - allowed object is EnvelopedData
      • setAuthenticatedData

        public void setAuthenticatedData​(AuthenticatedData value)
        Sets the value of the authenticatedData property.
        Parameters:
        value - allowed object is AuthenticatedData
      • getSignedData

        public SignedData getSignedData()
        Gets the value of the signedData property.
        Returns:
        possible object is SignedData
      • setSignedData

        public void setSignedData​(SignedData value)
        Sets the value of the signedData property.
        Parameters:
        value - allowed object is SignedData
      • getDigestedData

        public DigestedData getDigestedData()
        Gets the value of the digestedData property.
        Returns:
        possible object is DigestedData
      • setDigestedData

        public void setDigestedData​(DigestedData value)
        Sets the value of the digestedData property.
        Parameters:
        value - allowed object is DigestedData
      • setNamedKeyEncryptedData

        public void setNamedKeyEncryptedData​(NamedKeyEncryptedData value)
        Sets the value of the namedKeyEncryptedData property.
        Parameters:
        value - allowed object is NamedKeyEncryptedData
      • getContentType

        public ContentType getContentType()
        Gets the value of the contentType property.
        Returns:
        possible object is ContentType
      • setContentType

        public void setContentType​(ContentType value)
        Sets the value of the contentType property.
        Parameters:
        value - allowed object is ContentType