PLIsModernDetachedCMS
Cryptography, digital signatures
Description
Reports whether a DER-encoded CMS blob uses one of the modern signature algorithms the verifier understands
Syntax
Delphi
Function PLIsModernDetachedCMS(Const CMSBytes: AnsiString): Boolean;Parameters
| CMSBytes | DER-encoded CMS SignedData to inspect |
|---|
Return values
| False | The blob is not a CMS SignedData or its signature algorithm is outside the modern set |
|---|---|
| True | The signer info carries Ed25519, ECDSA or RSA-PSS that PLVerifyModernDetachedCMS can process |
Remarks
A cheap triage call: run it before the heavier parse-and-verify path to decide whether the standard CryptoAPI verifier must take over instead