Class QWACUtils

java.lang.Object
eu.europa.esig.dss.validation.qwac.QWACUtils

public class QWACUtils extends Object
Contains utility methods for performing QWAC validation process
  • Method Details

    • getTLSCertificateBindingUrl

      public static String getTLSCertificateBindingUrl(Map<String, List<String>> headers)
      Loops over the headers and returns the tls-certificate-binding URL value from a "Link" header if found. If no matching value found, the method returns NULL.
      Parameters:
      headers - a map of header name and values
      Returns:
      String TSL Certificate Binding URL
    • getIdentifiedTLSCertificates

      public static List<CertificateWrapper> getIdentifiedTLSCertificates(SignatureWrapper signature, List<CertificateWrapper> certificates)
      Gets TLS Binding Certificates identified from the binding signature
      Parameters:
      signature - SignatureWrapper
      certificates - a list of CertificateWrapper candidates
      Returns:
      a list of CertificateWrapper identified TLS/SSL certificates