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

CMSBytesDER-encoded CMS SignedData to inspect

Return values

FalseThe blob is not a CMS SignedData or its signature algorithm is outside the modern set
TrueThe 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

See also

PLVerifyModernDetachedCMS, PLBuildModernDetachedCMS