File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,14 @@ class AlgorithmOID(TLSEnum):
345345 SignatureScheme .rsa_pss_rsae_sha384
346346 oid [bytes (a2b_hex ('300b0609608648016503040203' ))] = \
347347 SignatureScheme .rsa_pss_rsae_sha512
348+ # for RSA-PSS an AlgorithmIdentifier with and without NULL parameters
349+ # is valid. See RFC 4055 Section 2.1
350+ oid [bytes (a2b_hex ('300d06096086480165030402010500' ))] = \
351+ SignatureScheme .rsa_pss_rsae_sha256
352+ oid [bytes (a2b_hex ('300d06096086480165030402020500' ))] = \
353+ SignatureScheme .rsa_pss_rsae_sha384
354+ oid [bytes (a2b_hex ('300d06096086480165030402030500' ))] = \
355+ SignatureScheme .rsa_pss_rsae_sha512
348356 oid [bytes (a2b_hex ('06072A8648CE380403' ))] = \
349357 SignatureScheme .dsa_sha1
350358 oid [bytes (a2b_hex ('0609608648016503040301' ))] = \
You can’t perform that action at this time.
0 commit comments