Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

SelectSignatureHashFloor

procedure SelectSignatureHashFloor;
SIGNATURE HASH FLOOR. CheckSignature refuses a signature made over MD2, MD5 or SHA-1 - md2WithRSAEncryption, md5WithRSAEncryption, sha1WithRSAEncryption, id-dsa-with-sha1, ecdsa-with-SHA1, and RSASSA-PSS over SHA-1, the hash its parameters default to - on a certificate, a CRL, an OCSP response or any other iSigned, whatever aState says. It reports pcvUnsupportedHashAlgorithm, so the certificate filter chain never admits such a certificate either. One case is exempt: an object checked against itself (aCACert nil, or an object with the same signature value), which is how a self-signed trust anchor is checked as its own issuer and how a PKCS#10 request's proof of possession is checked. A hash collision gains nothing there, since only the holder of the key can sign; and a trust anchor is trusted because it is in the trust store, not because of its self-signature. SelectLegacySignatureHashes turns the floor off, for reading old material that has no SHA-2 replacement; SelectSignatureHashFloor, the default, turns it back on. The setting is process-wide.