Skip to content

Commit bbba835

Browse files
committed
Document RSA absent-parameter algorithms
1 parent 094eead commit bbba835

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/verify.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ pub static SUPPORTED_SIG_ALGS: WebPkiSupportedAlgorithms = WebPkiSupportedAlgori
3535
RSA_PSS_SHA512,
3636
RSA_PSS_SHA384,
3737
RSA_PSS_SHA256,
38+
// RFC 4055 requires accepting sha*WithRSAEncryption AlgorithmIdentifiers both with
39+
// explicit NULL parameters and with parameters absent in certificate signatures.
3840
RSA_PKCS1_SHA512,
3941
RSA_PKCS1_SHA512_ABSENT_PARAMS,
4042
RSA_PKCS1_SHA384,

0 commit comments

Comments
 (0)