Class EncapsulatedContent


  • public class EncapsulatedContent
    extends Object
    Definition: Cryptographic Message Syntax (CMS) data structure containing content to authenticate -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains: the type of the encapsulated content, which is id-data for an application data or another CMS data structure the data to authenticate

    Java class for EncapsulatedContent complex type.

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

     <complexType name="EncapsulatedContent">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Content" type="{}Content" minOccurs="0"/>
           </sequence>
           <attribute name="ContentType" use="required" type="{}ContentType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • content

        protected byte[] content
        The Content.
      • contentType

        protected ContentType contentType
        The Content type.
    • Constructor Detail

      • EncapsulatedContent

        public EncapsulatedContent()
    • Method Detail

      • getContent

        public byte[] getContent()
        Gets the value of the content property.
        Returns:
        possible object is byte[]
      • setContent

        public void setContent​(byte[] value)
        Sets the value of the content property.
        Parameters:
        value - allowed object is byte[]
      • 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