Package com.adyen.model.nexo
Class EncryptedContent
- java.lang.Object
-
- com.adyen.model.nexo.EncryptedContent
-
public class EncryptedContent 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 type of the encrypted content, which is id-data for an application data or another CMS data structure the protected encryption key for every recipient the encrypted dataJava class for EncryptedContent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EncryptedContent"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ContentEncryptionAlgorithm" type="{}AlgorithmIdentifier"/> <element name="EncryptedData" type="{}EncryptedData"/> </sequence> <attribute name="Content" use="required" type="{}ContentType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AlgorithmIdentifiercontentEncryptionAlgorithmThe Content encryption algorithm.protected ContentTypecontentTypeThe Content.protected byte[]encryptedDataThe Encrypted data.
-
Constructor Summary
Constructors Constructor Description EncryptedContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmIdentifiergetContentEncryptionAlgorithm()Gets the value of the contentEncryptionAlgorithm property.ContentTypegetContentType()Gets the value of the contentType property.byte[]getEncryptedData()Gets the value of the encryptedData property.voidsetContentEncryptionAlgorithm(AlgorithmIdentifier value)Sets the value of the contentEncryptionAlgorithm property.voidsetContentType(ContentType value)Sets the value of the contentType property.voidsetEncryptedData(byte[] value)Sets the value of the encryptedData property.
-
-
-
Field Detail
-
contentEncryptionAlgorithm
protected AlgorithmIdentifier contentEncryptionAlgorithm
The Content encryption algorithm.
-
encryptedData
protected byte[] encryptedData
The Encrypted data.
-
contentType
protected ContentType contentType
The Content.
-
-
Method Detail
-
getContentEncryptionAlgorithm
public AlgorithmIdentifier getContentEncryptionAlgorithm()
Gets the value of the contentEncryptionAlgorithm property.- Returns:
- possible object is
AlgorithmIdentifier
-
setContentEncryptionAlgorithm
public void setContentEncryptionAlgorithm(AlgorithmIdentifier value)
Sets the value of the contentEncryptionAlgorithm property.- Parameters:
value- allowed object isAlgorithmIdentifier
-
getEncryptedData
public byte[] getEncryptedData()
Gets the value of the encryptedData property.- Returns:
- possible object is byte[]
-
setEncryptedData
public void setEncryptedData(byte[] value)
Sets the value of the encryptedData property.- Parameters:
value- allowed object is byte[]
-
getContentType
public ContentType getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
ContentType
-
setContentType
public void setContentType(ContentType value)
Sets the value of the contentType property.- Parameters:
value- allowed object isContentType
-
-