Package com.adyen.model.nexo
Class NamedKeyEncryptedData
- java.lang.Object
-
- com.adyen.model.nexo.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 dataJava 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 Summary
Fields Modifier and Type Field Description protected EncryptedContentencryptedContentThe Encrypted content.protected StringkeyNameThe Key name.protected VersionTypeversionThe Version.
-
Constructor Summary
Constructors Constructor Description NamedKeyEncryptedData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedContentgetEncryptedContent()Gets the value of the encryptedContent property.StringgetKeyName()Gets the value of the keyName property.VersionTypegetVersion()Gets the value of the version property.voidsetEncryptedContent(EncryptedContent value)Sets the value of the encryptedContent property.voidsetKeyName(String value)Sets the value of the keyName property.voidsetVersion(VersionType value)Sets the value of the version property.
-
-
-
Field Detail
-
keyName
protected String keyName
The Key name.
-
encryptedContent
protected EncryptedContent encryptedContent
The Encrypted content.
-
version
protected VersionType version
The Version.
-
-
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 isString
-
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
-
-