be.fgov.ehealth.technicalconnector.signature

## Interface SignatureBuilder

- All Known Implementing Classes:
    CmsSignatureBuilder, XmlSignatureBuilder

      public interface SignatureBuilder

  interface for building signatures.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `AdvancedElectronicSignatureEnumeration` | `getSupportedAES()`
    `byte[]` | `sign(Credential signatureCredential, byte[] byteArrayToSign)`
    `byte[]` | `sign(Credential signatureCredential, byte[] byteArrayToSign, Map<String,Object> options)`
    `SignatureVerificationResult` | `verify(byte[] content, byte[] signature, Map<String,Object> options)`
    `SignatureVerificationResult` | `verify(byte[] signedByteArray, Map<String,Object> options)`
    `SignatureVerificationResult` | `verify(Document signedContent, Element sigElement, Map<String,Object> options)`

- - ### Method Detail

    - #### sign

          byte[] sign(Credential signatureCredential,
                      byte[] byteArrayToSign)
               throws TechnicalConnectorException

      Parameters:
        `signatureCredential` -
        `byteArrayToSign` -
      Returns:
      Throws:
        `TechnicalConnectorException`

    - #### sign

          byte[] sign(Credential signatureCredential,
                      byte[] byteArrayToSign,
                      Map<String,Object> options)
               throws TechnicalConnectorException

      Parameters:
        `signatureCredential` -
        `byteArrayToSign` -
        `options` -
      Returns:
      Throws:
        `TechnicalConnectorException`

    - #### verify

          SignatureVerificationResult verify(byte[] content,
                                             byte[] signature,
                                             Map<String,Object> options)
                                      throws TechnicalConnectorException

      Parameters:
        `content` -
        `signature` -
        `options` -
      Returns:
      Throws:
        `TechnicalConnectorException`

    - #### verify

          SignatureVerificationResult verify(byte[] signedByteArray,
                                             Map<String,Object> options)
                                      throws TechnicalConnectorException

      Parameters:
        `signedByteArray` -
        `options` -
      Returns:
      Throws:
        `TechnicalConnectorException`

    - #### verify

          SignatureVerificationResult verify(Document signedContent,
                                             Element sigElement,
                                             Map<String,Object> options)
                                      throws TechnicalConnectorException

      Parameters:
        `signedContent` -
        `sigElement` -
        `options` -
      Returns:
      Throws:
        `TechnicalConnectorException`

    - #### getSupportedAES

          AdvancedElectronicSignatureEnumeration getSupportedAES()

      Returns:

Connector Packaging PERSAUDIOLOGIST 4.8.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.