com.adyen.model.nexo.EnvelopedData Maven / Gradle / Ivy
package com.adyen.model.nexo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* 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>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnvelopedData", propOrder = {
"keyTransportOrKEK",
"encryptedContent"
})
public class EnvelopedData {
/**
* The Key transport or kek.
*/
@XmlElements({
@XmlElement(name = "KeyTransport", type = KeyTransport.class),
@XmlElement(name = "KEK", type = KEK.class)
})
protected List