Class HttpHeadersPayloadBuilder

java.lang.Object
eu.europa.esig.dss.jades.signature.HttpHeadersPayloadBuilder

public class HttpHeadersPayloadBuilder extends Object
Builds payload binaries from HTTPHeaderDocuments for the 'sigD' HttpHeaders mechanism
  • Constructor Details

    • HttpHeadersPayloadBuilder

      public HttpHeadersPayloadBuilder(List<DSSDocument> detachedContents, boolean isTimestamp)
      The default constructor
      Parameters:
      detachedContents - a list of detached DSSDocuments
      isTimestamp - a boolean value defines if the payload shall be computed for a timestamp
  • Method Details

    • build

      public byte[] build()
      Builds the payload from HTTPHeaderDocuments
      Returns:
      payload binaries