RSAPSSPadding

Security and signatures

Description

When set, the CMS Sign methods sign RSA keys with RSASSA-PSS padding instead of PKCS #1 v1.5. A key that is itself an RSA-PSS key signs with PSS regardless of the flag. PSS padding is offered only for the detached profile, so SignAttached fails while PSS is effective.

The flag does not apply to OCSP requests: SignOCSPRequest rejects an enabled flag and follows the padding parameters of the key or token certificate instead.

Syntax

Delphi

property RSAPSSPadding: Boolean read FRSAPSSPadding write FRSAPSSPadding;

Remarks

The default value is False.

SHA-3 digests combined with RSA-PSS are produced through a dedicated CMS signing path that re-signs the authenticated attributes.

See also

SetSignProcessRSAPSSPadding, NativeCMSSignedAttributes