com.adyen.model.nexo.ContentInformation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
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: General Cryptographic Message Syntax (CMS) data structure -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains two data elements: The type of content of the CMS data structure The content itself These CMS data structures could be nested to allow a sequence of cryptographic processings on a part of a messageType (e.g.
*
* Java class for ContentInformation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ContentInformation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="EnvelopedData" type="{}EnvelopedData"/>
* <element name="AuthenticatedData" type="{}AuthenticatedData"/>
* <element name="SignedData" type="{}SignedData"/>
* <element name="DigestedData" type="{}DigestedData"/>
* <element name="NamedKeyEncryptedData" type="{}NamedKeyEncryptedData"/>
* </choice>
* </sequence>
* <attribute name="Content" use="required" type="{}ContentType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ContentInformation", propOrder = {
"envelopedData",
"authenticatedData",
"signedData",
"digestedData",
"namedKeyEncryptedData"
})
public class ContentInformation {
/**
* The Enveloped data.
*/
@XmlElement(name = "EnvelopedData")
protected EnvelopedData envelopedData;
/**
* The Authenticated data.
*/
@XmlElement(name = "AuthenticatedData")
protected AuthenticatedData authenticatedData;
/**
* The Signed data.
*/
@XmlElement(name = "SignedData")
protected SignedData signedData;
/**
* The Digested data.
*/
@XmlElement(name = "DigestedData")
protected DigestedData digestedData;
/**
* The Named key encrypted data.
*/
@XmlElement(name = "NamedKeyEncryptedData")
protected NamedKeyEncryptedData namedKeyEncryptedData;
/**
* The Content.
*/
@XmlAttribute(name = "ContentType", required = true)
protected ContentType contentType;
/**
* Gets the value of the envelopedData property.
*
* @return possible object is {@link EnvelopedData }
*/
public EnvelopedData getEnvelopedData() {
return envelopedData;
}
/**
* Sets the value of the envelopedData property.
*
* @param value allowed object is {@link EnvelopedData }
*/
public void setEnvelopedData(EnvelopedData value) {
this.envelopedData = value;
}
/**
* Gets the value of the authenticatedData property.
*
* @return possible object is {@link AuthenticatedData }
*/
public AuthenticatedData getAuthenticatedData() {
return authenticatedData;
}
/**
* Sets the value of the authenticatedData property.
*
* @param value allowed object is {@link AuthenticatedData }
*/
public void setAuthenticatedData(AuthenticatedData value) {
this.authenticatedData = value;
}
/**
* Gets the value of the signedData property.
*
* @return possible object is {@link SignedData }
*/
public SignedData getSignedData() {
return signedData;
}
/**
* Sets the value of the signedData property.
*
* @param value allowed object is {@link SignedData }
*/
public void setSignedData(SignedData value) {
this.signedData = value;
}
/**
* Gets the value of the digestedData property.
*
* @return possible object is {@link DigestedData }
*/
public DigestedData getDigestedData() {
return digestedData;
}
/**
* Sets the value of the digestedData property.
*
* @param value allowed object is {@link DigestedData }
*/
public void setDigestedData(DigestedData value) {
this.digestedData = value;
}
/**
* Gets the value of the namedKeyEncryptedData property.
*
* @return possible object is {@link NamedKeyEncryptedData }
*/
public NamedKeyEncryptedData getNamedKeyEncryptedData() {
return namedKeyEncryptedData;
}
/**
* Sets the value of the namedKeyEncryptedData property.
*
* @param value allowed object is {@link NamedKeyEncryptedData }
*/
public void setNamedKeyEncryptedData(NamedKeyEncryptedData value) {
this.namedKeyEncryptedData = 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;
}
}