be.fgov.ehealth.technicalconnector.signature.impl.xades.domain

## Class UnsignedPropertiesBuilder

- java.lang.Object
- - be.fgov.ehealth.technicalconnector.signature.impl.xades.domain.UnsignedPropertiesBuilder

-     public class UnsignedPropertiesBuilder
      extends Object

  Builder to generate `UnsignedProperties`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnsignedPropertiesBuilder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCertificate(X509Certificate cert)`
    `void` | `addCrlRef(X509CRL crl)`
    `void` | `addOCSPRef(byte[] oscpEncoded)`
    `void` | `addSignatureTimestamp(byte[] tsToken, String c14nMethod)`
    `UnsignedProperties` | `build()`
    `Document` | `buildAsDocument()`
    `String` | `getId()`
    `void` | `setId(String id)`

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

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

- - ### Constructor Detail

    - #### UnsignedPropertiesBuilder

          public UnsignedPropertiesBuilder()

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### addSignatureTimestamp

          public void addSignatureTimestamp(byte[] tsToken,
                                            String c14nMethod)

    - #### addCertificate

          public void addCertificate(X509Certificate cert)

    - #### addOCSPRef

          public void addOCSPRef(byte[] oscpEncoded)

    - #### addCrlRef

          public void addCrlRef(X509CRL crl)

    - #### build

          public UnsignedProperties build()

    - #### buildAsDocument

          public Document buildAsDocument()

Connector Packaging TECHNICAL 4.0.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.