Class EnvelopedData


  • public class EnvelopedData
    extends Object
    Definition: Cryptographic Message Syntax (CMS) data structure containing encrypted data with encryption key -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains: the version of the data structure (which is v0 in EPAS protocol context) the protected encrytion key for every adressee (recipient) the encrypted data

    Java class for EnvelopedData complex type.

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

     <complexType name="EnvelopedData">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice maxOccurs="unbounded">
               <element name="KeyTransport" type="{}KeyTransport"/>
               <element name="KEK" type="{}KEK"/>
             </choice>
             <element name="EncryptedContent" type="{}EncryptedContent"/>
           </sequence>
           <attribute name="Version" type="{}VersionType" default="v0" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • keyTransportOrKEK

        protected List<Object> keyTransportOrKEK
        The Key transport or kek.
      • encryptedContent

        protected EncryptedContent encryptedContent
        The Encrypted content.
    • Constructor Detail

      • EnvelopedData

        public EnvelopedData()
    • Method Detail

      • getKeyTransportOrKEK

        public List<Object> getKeyTransportOrKEK()
        Gets the value of the keyTransportOrKEK property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the keyTransportOrKEK property.

        For example, to add a new item, do as follows:

            getKeyTransportOrKEK().add(newItem);
         

        Objects of the following type(s) are allowed in the list KeyTransport KEK

        Returns:
        the key transport or kek
      • getEncryptedContent

        public EncryptedContent getEncryptedContent()
        Gets the value of the encryptedContent property.
        Returns:
        possible object is EncryptedContent
      • setEncryptedContent

        public void setEncryptedContent​(EncryptedContent value)
        Sets the value of the encryptedContent property.
        Parameters:
        value - allowed object is EncryptedContent
      • getVersion

        public VersionType getVersion()
        Gets the value of the version property.
        Returns:
        possible object is VersionType
      • setVersion

        public void setVersion​(VersionType value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is VersionType