Package com.adyen.model.nexo
Class Signer
- java.lang.Object
-
- com.adyen.model.nexo.Signer
-
public class Signer extends Object
Definition: Cryptographic Message Syntax (CMS) data structure containing signer information -- 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 information about the signerJava class for Signer complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Signer"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="SignerIdentifier" type="{}SignerIdentifier"/> <element name="DigestAlgorithm" type="{}AlgorithmIdentifier"/> <element name="SignatureAlgorithm" type="{}AlgorithmIdentifier"/> <element name="Signature" type="{}Signature"/> </sequence> <attribute name="Version" type="{}VersionType" default="v1" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AlgorithmIdentifierdigestAlgorithmThe Digest algorithm.protected byte[]signatureThe Signature.protected AlgorithmIdentifiersignatureAlgorithmThe Signature algorithm.protected SignerIdentifiersignerIdentifierThe Signer identifier.protected VersionTypeversionThe Version.
-
Constructor Summary
Constructors Constructor Description Signer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmIdentifiergetDigestAlgorithm()Gets the value of the digestAlgorithm property.byte[]getSignature()Gets the value of the signature property.AlgorithmIdentifiergetSignatureAlgorithm()Gets the value of the signatureAlgorithm property.SignerIdentifiergetSignerIdentifier()Gets the value of the signerIdentifier property.VersionTypegetVersion()Gets the value of the version property.voidsetDigestAlgorithm(AlgorithmIdentifier value)Sets the value of the digestAlgorithm property.voidsetSignature(byte[] value)Sets the value of the signature property.voidsetSignatureAlgorithm(AlgorithmIdentifier value)Sets the value of the signatureAlgorithm property.voidsetSignerIdentifier(SignerIdentifier value)Sets the value of the signerIdentifier property.voidsetVersion(VersionType value)Sets the value of the version property.
-
-
-
Field Detail
-
signerIdentifier
protected SignerIdentifier signerIdentifier
The Signer identifier.
-
digestAlgorithm
protected AlgorithmIdentifier digestAlgorithm
The Digest algorithm.
-
signatureAlgorithm
protected AlgorithmIdentifier signatureAlgorithm
The Signature algorithm.
-
signature
protected byte[] signature
The Signature.
-
version
protected VersionType version
The Version.
-
-
Method Detail
-
getSignerIdentifier
public SignerIdentifier getSignerIdentifier()
Gets the value of the signerIdentifier property.- Returns:
- possible object is
SignerIdentifier
-
setSignerIdentifier
public void setSignerIdentifier(SignerIdentifier value)
Sets the value of the signerIdentifier property.- Parameters:
value- allowed object isSignerIdentifier
-
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
-
getSignatureAlgorithm
public AlgorithmIdentifier getSignatureAlgorithm()
Gets the value of the signatureAlgorithm property.- Returns:
- possible object is
AlgorithmIdentifier
-
setSignatureAlgorithm
public void setSignatureAlgorithm(AlgorithmIdentifier value)
Sets the value of the signatureAlgorithm property.- Parameters:
value- allowed object isAlgorithmIdentifier
-
getSignature
public byte[] getSignature()
Gets the value of the signature property.- Returns:
- possible object is byte[]
-
setSignature
public void setSignature(byte[] value)
Sets the value of the signature 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
-
-