Class SignedData
- java.lang.Object
-
- com.adyen.model.nexo.SignedData
-
public class SignedData extends Object
Definition: Cryptographic Message Syntax (CMS) data structure containing signed data -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains: the version of the data structure (which is v1 in EPAS protocol context) the identifiers of the messageType digest algorithms the encapsulated content the certificates for the verification of the signatureJava class for SignedData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignedData"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="DigestAlgorithm" type="{}AlgorithmIdentifier" maxOccurs="unbounded"/> <element name="EncapsulatedContent" type="{}EncapsulatedContent"/> <element name="Certificate" type="{}Certificate" maxOccurs="unbounded" minOccurs="0"/> <element name="Signer" type="{}Signer" maxOccurs="unbounded"/> </sequence> <attribute name="Version" type="{}VersionType" default="v1" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<byte[]>certificateThe Certificate.protected List<AlgorithmIdentifier>digestAlgorithmThe Digest algorithm.protected EncapsulatedContentencapsulatedContentThe Encapsulated content.protected List<Signer>signerThe Signer.protected VersionTypeversionThe Version.
-
Constructor Summary
Constructors Constructor Description SignedData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<byte[]>getCertificate()Gets the value of the certificate property.List<AlgorithmIdentifier>getDigestAlgorithm()Gets the value of the digestAlgorithm property.EncapsulatedContentgetEncapsulatedContent()Gets the value of the encapsulatedContent property.List<Signer>getSigner()Gets the value of the signer property.VersionTypegetVersion()Gets the value of the version property.voidsetEncapsulatedContent(EncapsulatedContent value)Sets the value of the encapsulatedContent property.voidsetVersion(VersionType value)Sets the value of the version property.
-
-
-
Field Detail
-
digestAlgorithm
protected List<AlgorithmIdentifier> digestAlgorithm
The Digest algorithm.
-
encapsulatedContent
protected EncapsulatedContent encapsulatedContent
The Encapsulated content.
-
certificate
protected List<byte[]> certificate
The Certificate.
-
version
protected VersionType version
The Version.
-
-
Method Detail
-
getDigestAlgorithm
public List<AlgorithmIdentifier> getDigestAlgorithm()
Gets the value of the digestAlgorithm property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the digestAlgorithm property.For example, to add a new item, do as follows:
getDigestAlgorithm().add(newItem);Objects of the following type(s) are allowed in the list
AlgorithmIdentifier- Returns:
- the digest algorithm
-
getEncapsulatedContent
public EncapsulatedContent getEncapsulatedContent()
Gets the value of the encapsulatedContent property.- Returns:
- possible object is
EncapsulatedContent
-
setEncapsulatedContent
public void setEncapsulatedContent(EncapsulatedContent value)
Sets the value of the encapsulatedContent property.- Parameters:
value- allowed object isEncapsulatedContent
-
getCertificate
public List<byte[]> getCertificate()
Gets the value of the certificate property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the certificate property.For example, to add a new item, do as follows:
getCertificate().add(newItem);Objects of the following type(s) are allowed in the list byte[]
- Returns:
- the certificate
-
getSigner
public List<Signer> getSigner()
Gets the value of the signer property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the signer property.For example, to add a new item, do as follows:
getSigner().add(newItem);Objects of the following type(s) are allowed in the list
Signer- Returns:
- the signer
-
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
-
-