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 and Description
    `XadesCSpecification()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### XadesCSpecification

          public XadesCSpecification()

  - ### Method Detail

    - #### 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`

Connector Packaging generic 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.