3 ## SSL test configurations
11 use OpenSSL::Test::Utils qw(anydisabled);
13 my $dir_sep = $^O ne "VMS" ? "/" : "";
16 "ECDSA.Certificate" => "\${ENV::TEST_CERTS_DIR}${dir_sep}server-ecdsa-cert.pem",
17 "ECDSA.PrivateKey" => "\${ENV::TEST_CERTS_DIR}${dir_sep}server-ecdsa-key.pem",
18 # TODO(TLS1.3): add test cases for TLSv1.3
19 "MaxProtocol" => "TLSv1.2"
24 name => "ECDSA CipherString Selection",
27 "CipherString" => "aECDSA",
30 "ExpectedServerCertType" =>, "P-256",
31 "ExpectedServerSignType" =>, "EC",
32 "ExpectedResult" => "Success"
36 name => "RSA CipherString Selection",
39 "CipherString" => "aRSA",
42 "ExpectedServerCertType" =>, "RSA",
43 "ExpectedServerSignType" =>, "RSA-PSS",
44 "ExpectedResult" => "Success"
48 name => "ECDSA CipherString Selection, no ECDSA certificate",
51 "CipherString" => "aECDSA"
54 "ExpectedResult" => "ServerFail"
58 name => "ECDSA Signature Algorithm Selection",
61 "SignatureAlgorithms" => "ECDSA+SHA256",
64 "ExpectedServerCertType" => "P-256",
65 "ExpectedServerSignHash" => "SHA256",
66 "ExpectedServerSignType" => "EC",
67 "ExpectedResult" => "Success"
71 name => "ECDSA Signature Algorithm Selection, no ECDSA certificate",
74 "SignatureAlgorithms" => "ECDSA+SHA256",
77 "ExpectedResult" => "ServerFail"
81 name => "RSA Signature Algorithm Selection",
84 "SignatureAlgorithms" => "RSA+SHA256",
87 "ExpectedServerCertType" => "RSA",
88 "ExpectedServerSignHash" => "SHA256",
89 "ExpectedServerSignType" => "RSA",
90 "ExpectedResult" => "Success"
94 name => "RSA-PSS Signature Algorithm Selection",
97 "SignatureAlgorithms" => "RSA-PSS+SHA256",
100 "ExpectedServerCertType" => "RSA",
101 "ExpectedServerSignHash" => "SHA256",
102 "ExpectedServerSignType" => "RSA-PSS",
103 "ExpectedResult" => "Success"