PLVerifyRSAPSSPure
Cryptography, digital signatures
Description
Verifies an RSA-PSS signature against a public key, digest, hash OID and explicit salt length without any system crypto
Syntax
Delphi
Function PLVerifyRSAPSSPure(Const PublicKey, Digest, HashOID: AnsiString;
SaltLength: Integer; Const Signature: AnsiString): Boolean;Parameters
| PublicKey | Raw RSA public key bytes from the certificate SubjectPublicKeyInfo |
|---|---|
| Digest | The hash bytes that were signed |
| HashOID | OID of the hash used for both PSS hashing and MGF1 |
| SaltLength | Salt byte count the signer used; must match to verify |
| Signature | The signature bytes to verify |
Return values
| True | The PSS structure and mask comparison verify |
|---|---|
| False | Malformed input, wrong salt length, or the verification failed |
Remarks
Used when a signature policy pins an explicit salt length that platform verification APIs would reject
See also
PLVerifyRSAPKCS1Pure, PLVerifyECDSAPure, PLCertificatePublicKeyInfo