Package com.adyen.model.nexo
Class EnvelopedData
- java.lang.Object
-
- com.adyen.model.nexo.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 dataJava 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 Summary
Fields Modifier and Type Field Description protected EncryptedContentencryptedContentThe Encrypted content.protected List<Object>keyTransportOrKEKThe Key transport or kek.protected VersionTypeversionThe Version.
-
Constructor Summary
Constructors Constructor Description EnvelopedData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedContentgetEncryptedContent()Gets the value of the encryptedContent property.List<Object>getKeyTransportOrKEK()Gets the value of the keyTransportOrKEK property.VersionTypegetVersion()Gets the value of the version property.voidsetEncryptedContent(EncryptedContent value)Sets the value of the encryptedContent property.voidsetVersion(VersionType value)Sets the value of the version property.
-
-
-
Field Detail
-
encryptedContent
protected EncryptedContent encryptedContent
The Encrypted content.
-
version
protected VersionType version
The Version.
-
-
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
setmethod 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
KeyTransportKEK- 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 isEncryptedContent
-
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 isVersionType
-
-