Package 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
  Description
  `UnsignedPropertiesBuilder()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### UnsignedPropertiesBuilder

    public UnsignedPropertiesBuilder()

- ## Method Details

  - ### 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()