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

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

public class UnsignedPropertiesBuilder
extends Object

Builder to generate UnsignedProperties


Constructor Summary
UnsignedPropertiesBuilder()
           
 
Method Summary
 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 Business ORGPHARMACY 3.13.1 API
Copyright © {inceptionYear}-2017 eHealth. All Rights Reserved.