Class NamedKeyEncryptedData


  • public class NamedKeyEncryptedData
    extends Object
    Definition: Cryptographic Message Syntax (CMS) data structure containing encrypted data and integrated optional data filed keyName. -- 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 keyName the encrypred content info including the encrypted data

    Java class for NamedKeyEncryptedData complex type.

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

     <complexType name="NamedKeyEncryptedData">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="KeyName" type="{}KeyName" minOccurs="0"/>
             <element name="EncryptedContent" type="{}EncryptedContent"/>
           </sequence>
           <attribute name="Version" type="{}VersionType" default="v0" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • keyName

        protected String keyName
        The Key name.
      • encryptedContent

        protected EncryptedContent encryptedContent
        The Encrypted content.
    • Constructor Detail

      • NamedKeyEncryptedData

        public NamedKeyEncryptedData()
    • Method Detail

      • getKeyName

        public String getKeyName()
        Gets the value of the keyName property.
        Returns:
        possible object is String
      • setKeyName

        public void setKeyName​(String value)
        Sets the value of the keyName property.
        Parameters:
        value - allowed object is String
      • 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