THPDFSignatureProviderRequest Record

Carries the algorithm, input, key material and bookkeeping identifiers for one signature provider operation

Declaration

THPDFSignatureProviderRequest= record
  Algorithm: THPDFSignatureAlgorithm;
  AlgorithmOID: AnsiString;
  DigestAlgorithmOID: AnsiString;
  PSSSaltLength: Integer;
  InputKind: THPDFSignatureInputKind;
  Input: TBytes;
  PublicKey: TBytes;
  Signature: TBytes;
  CertificateDER: TBytes;
  KeyIdentifier: AnsiString;
  OperationIdentifier: AnsiString;
  Context: TBytes;
end;

Unit

HPDFSignatureProvider

Fields

FieldPurpose
AlgorithmSignature algorithm to carry out, such as hsaRSAPKCS1v15, hsaRSAPSS or hsaECDSA
AlgorithmOIDObject identifier naming the signature algorithm
DigestAlgorithmOIDObject identifier naming the digest algorithm
PSSSaltLengthSalt length for RSA-PSS; the provider rejects values outside 0..65535
InputKindWhether Input holds a message (sikMessage) or a digest that is ready to use (sikDigest)
InputMessage or digest bytes; input that is empty or oversized is rejected as malformed
PublicKeyPublic key bytes brought in when a signature is verified
SignatureSignature bytes that verify operations check
CertificateDERDER certificate used for estimating the resulting signature size
KeyIdentifierProvider-specific identifier that names the signing key
OperationIdentifierIdentifier that the provider checks against its cancellation source between retries
ContextProvider-defined context bytes that travel with the request

Usage notes

Related APIs