All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.EncryptedContent Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 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 data
 *
 * 

Java 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>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EncryptedContent", propOrder = { "contentEncryptionAlgorithm", "encryptedData" }) public class EncryptedContent { /** * The Content encryption algorithm. */ @XmlElement(name = "ContentEncryptionAlgorithm", required = true) protected AlgorithmIdentifier contentEncryptionAlgorithm; /** * The Encrypted data. */ @XmlElement(name = "EncryptedData", required = true) protected byte[] encryptedData; /** * The Content. */ @XmlAttribute(name = "ContentType", required = true) protected ContentType contentType; /** * Gets the value of the contentEncryptionAlgorithm property. * * @return possible object is {@link AlgorithmIdentifier } */ public AlgorithmIdentifier getContentEncryptionAlgorithm() { return contentEncryptionAlgorithm; } /** * Sets the value of the contentEncryptionAlgorithm property. * * @param value allowed object is {@link AlgorithmIdentifier } */ public void setContentEncryptionAlgorithm(AlgorithmIdentifier value) { this.contentEncryptionAlgorithm = value; } /** * Gets the value of the encryptedData property. * * @return possible object is byte[] */ public byte[] getEncryptedData() { return encryptedData; } /** * Sets the value of the encryptedData property. * * @param value allowed object is byte[] */ public void setEncryptedData(byte[] value) { this.encryptedData = value; } /** * Gets the value of the contentType property. * * @return possible object is {@link ContentType } */ public ContentType getContentType() { return contentType; } /** * Sets the value of the contentType property. * * @param value allowed object is {@link ContentType } */ public void setContentType(ContentType value) { this.contentType = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy