methodTstCustomCertificateManager.GetSignPrivateKey
function GetSignPrivateKey(const aIdentifier: OctetString): iSignPrivateKey; overload;
Locate any signing private key (RSA, DSA, ECDSA, EdDSA, ML-DSA, ...) matching aIdentifier, without the caller needing to know the algorithm family. This is the general entry point apps use to obtain the private key for producing a signature (e.g. TLS CertificateVerify, CMS SignedData).
function GetSignPrivateKey(const aCert: iCertificate): iSignPrivateKey; overload;
As above, keyed by the certificate; also copies the certificate's attributes onto the returned key (SetAttributes), so the signature uses the algorithm parameters declared by that certificate.