Package com.adyen.model.nexo
Class DigestedData
- java.lang.Object
-
- com.adyen.model.nexo.DigestedData
-
public class DigestedData extends Object
Definition: Cryptographic Message Syntax (CMS) data structure containing digested data -- Reference: RFC 3852: Cryptographic Message Syntax (CMS) -- Usage: This data structure contains: the version of the data structure the identifiers of the messageType digest algorithms the encapsulated content the digested dataJava class for DigestedData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DigestedData"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="DigestAlgorithm" type="{}AlgorithmIdentifier"/> <element name="EncapsulatedContent" type="{}EncapsulatedContent"/> <element name="Digest" type="{}Digest"/> </sequence> <attribute name="Version" type="{}VersionType" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]digestThe Digest.protected AlgorithmIdentifierdigestAlgorithmThe Digest algorithm.protected EncapsulatedContentencapsulatedContentThe Encapsulated content.protected VersionTypeversionThe Version.
-
Constructor Summary
Constructors Constructor Description DigestedData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getDigest()Gets the value of the digest property.AlgorithmIdentifiergetDigestAlgorithm()Gets the value of the digestAlgorithm property.EncapsulatedContentgetEncapsulatedContent()Gets the value of the encapsulatedContent property.VersionTypegetVersion()Gets the value of the version property.voidsetDigest(byte[] value)Sets the value of the digest property.voidsetDigestAlgorithm(AlgorithmIdentifier value)Sets the value of the digestAlgorithm 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 AlgorithmIdentifier digestAlgorithm
The Digest algorithm.
-
encapsulatedContent
protected EncapsulatedContent encapsulatedContent
The Encapsulated content.
-
digest
protected byte[] digest
The Digest.
-
version
protected VersionType version
The Version.
-
-
Method Detail
-
getDigestAlgorithm
public AlgorithmIdentifier getDigestAlgorithm()
Gets the value of the digestAlgorithm property.- Returns:
- possible object is
AlgorithmIdentifier
-
setDigestAlgorithm
public void setDigestAlgorithm(AlgorithmIdentifier value)
Sets the value of the digestAlgorithm property.- Parameters:
value- allowed object isAlgorithmIdentifier
-
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
-
getDigest
public byte[] getDigest()
Gets the value of the digest property.- Returns:
- possible object is byte[]
-
setDigest
public void setDigest(byte[] value)
Sets the value of the digest property.- Parameters:
value- allowed object is byte[]
-
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
-
-