be.fgov.ehealth.certra.protocol.v2

## Class GenerateCertificateRequest

- java.lang.Object
- - be.fgov.ehealth.commons.protocol.v2.RequestType
  - - be.fgov.ehealth.certra.protocol.v2.GenerateCertificateRequest

- All Implemented Interfaces:
    Serializable

      @Generated(value="com.sun.tools.xjc.Driver",
                 date="2022-12-09T10:58:05+01:00",
                 comments="JAXB RI v2.2.11")
      public class GenerateCertificateRequest
      extends RequestType
      implements Serializable

  Request type used to start the generation of a new eHealth authentication certificate. It contains the eHealth "Certificate Signing Request" that should be signed by the Belgian eID card of the user requesting the certificate. A new certificate can only be generated when there is no other certificate for that same DN in an active state, or when the active certificate is close to its expiration date.

  Java class for GenerateCertificateRequestType complex type.

  The following schema fragment specifies the expected content contained within this class.

       <complexType name="GenerateCertificateRequestType">
         <complexContent>
           <extension base="{urn:be:fgov:ehealth:commons:protocol:v2}RequestType">
             <sequence>
               <element name="EHealthCSR" type="{urn:be:fgov:ehealth:certra:core:v2}EHealthCertificateSigningRequestType"/>
               <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
             </sequence>
           </extension>
         </complexContent>
       </complexType>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GenerateCertificateRequest()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `EHealthCertificateSigningRequestType` | `getEHealthCSR()` Gets the value of the eHealthCSR property.
    `Signature` | `getSignature()` An enveloped XML signature that signs the entire request.
    `void` | `setEHealthCSR(EHealthCertificateSigningRequestType value)` Sets the value of the eHealthCSR property.
    `void` | `setSignature(Signature value)` Sets the value of the signature property.

    - ### Methods inherited from class be.fgov.ehealth.commons.protocol.v2.RequestType

      `getId, getIssueInstant, setId, setIssueInstant`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GenerateCertificateRequest

          public GenerateCertificateRequest()

  - ### Method Detail

    - #### getEHealthCSR

          public EHealthCertificateSigningRequestType getEHealthCSR()

      Gets the value of the eHealthCSR property.
      Returns:
        possible object is `EHealthCertificateSigningRequestType`

    - #### setEHealthCSR

          public void setEHealthCSR(EHealthCertificateSigningRequestType value)

      Sets the value of the eHealthCSR property.
      Parameters:
        `value` - allowed object is `EHealthCertificateSigningRequestType`

    - #### getSignature

          public Signature getSignature()

      An enveloped XML signature that signs the entire request. It must be created with the "Signature" key of a valid Belgian eID. The person signing this request must correspond to the person identified in the EHealthCSR element (either as the natural person identified by the EHealthCSR or as a user that is authorized to manage certificates of the organization identified by the EHealthCSR).
      Returns:
        possible object is `Signature`

    - #### setSignature

          public void setSignature(Signature value)

      Sets the value of the signature property.
      Parameters:
        `value` - allowed object is `Signature`

Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.