Class 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 signer

    Java 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 Detail

      • signerIdentifier

        protected SignerIdentifier signerIdentifier
        The Signer identifier.
      • signatureAlgorithm

        protected AlgorithmIdentifier signatureAlgorithm
        The Signature algorithm.
      • signature

        protected byte[] signature
        The Signature.
    • Constructor Detail

      • Signer

        public Signer()
    • 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 is SignerIdentifier
      • setDigestAlgorithm

        public void setDigestAlgorithm​(AlgorithmIdentifier value)
        Sets the value of the digestAlgorithm property.
        Parameters:
        value - allowed object is AlgorithmIdentifier
      • setSignatureAlgorithm

        public void setSignatureAlgorithm​(AlgorithmIdentifier value)
        Sets the value of the signatureAlgorithm property.
        Parameters:
        value - allowed object is AlgorithmIdentifier
      • 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 is VersionType