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

# Class XadesCSpecification

java.lang.Object
be.fgov.ehealth.technicalconnector.signature.impl.xades.impl.XadesCSpecification

All Implemented Interfaces:
  `XadesSpecification`

public class XadesCSpecification extends Object implements XadesSpecification

- ## Field Summary

  ### Fields inherited from interface be.fgov.ehealth.technicalconnector.signature.impl.xades.XadesSpecification

  `XMLNS_XADES_1_3_2`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `XadesCSpecification()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addOptionalAfterSignatureParts(UnsignedPropertiesBuilder unsignedProps, org.apache.xml.security.signature.XMLSignature sig, String uuid, Map<String,Object> options)`
  `void`
  `addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options)`
  `static boolean`
  `isSelfSigned(X509Certificate cert)`
  `void`
  `verify(SignatureVerificationResult result, Element sigElement)`

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

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

- ## Constructor Details

  - ### XadesCSpecification

    public XadesCSpecification()

- ## Method Details

  - ### isSelfSigned

    public static boolean isSelfSigned(X509Certificate cert)

  - ### addOptionalBeforeSignatureParts

    public void addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options) throws TechnicalConnectorException
    Specified by:
      `addOptionalBeforeSignatureParts` in interface `XadesSpecification`
    Throws:
      `TechnicalConnectorException`

  - ### addOptionalAfterSignatureParts

    public void addOptionalAfterSignatureParts(UnsignedPropertiesBuilder unsignedProps, org.apache.xml.security.signature.XMLSignature sig, String uuid, Map<String,Object> options) throws TechnicalConnectorException
    Specified by:
      `addOptionalAfterSignatureParts` in interface `XadesSpecification`
    Throws:
      `TechnicalConnectorException`

  - ### verify

    public void verify(SignatureVerificationResult result, Element sigElement)
    Specified by:
      `verify` in interface `XadesSpecification`