THPDFCSCSignatureProvider.Sign Method

function Sign(const Request: THPDFSignatureProviderRequest;
  out Signature: TBytes): THPDFSignatureProviderStatus;
  override;

Signs one digest through the CSC signatures/signHash endpoint and returns the DER-encoded signature bytes

The request is wrapped into a one-element batch and delegated to SignHashBatch, so authorization, idempotency, retry, and cancellation behave exactly as for batch signing

spsValid returns exactly one signature in Signature; a batch result whose cardinality differs is reported as spsMalformed, and any other provider status is passed through unchanged

CSC Remote Signature Provider

Modern Signature Providers