Package com.adyen.model.nexo
Class EncapsulatedContent
- java.lang.Object
-
- com.adyen.model.nexo.EncapsulatedContent
-
public class EncapsulatedContent extends Object
Definition: Cryptographic Message Syntax (CMS) data structure containing content to authenticate -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains: the type of the encapsulated content, which is id-data for an application data or another CMS data structure the data to authenticateJava class for EncapsulatedContent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EncapsulatedContent"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Content" type="{}Content" minOccurs="0"/> </sequence> <attribute name="ContentType" use="required" type="{}ContentType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]contentThe Content.protected ContentTypecontentTypeThe Content type.
-
Constructor Summary
Constructors Constructor Description EncapsulatedContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()Gets the value of the content property.ContentTypegetContentType()Gets the value of the contentType property.voidsetContent(byte[] value)Sets the value of the content property.voidsetContentType(ContentType value)Sets the value of the contentType property.
-
-
-
Field Detail
-
content
protected byte[] content
The Content.
-
contentType
protected ContentType contentType
The Content type.
-
-
Method Detail
-
getContent
public byte[] getContent()
Gets the value of the content property.- Returns:
- possible object is byte[]
-
setContent
public void setContent(byte[] value)
Sets the value of the content 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
-
-