Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add additional test certs #4353

Merged
merged 10 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/ci_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ jobs:
- name: generate bindings
run: ${{env.ROOT_PATH}}/generate.sh --skip-tests

- name: generate test certs
run: ${{env.ROOT_PATH}}/bench/scripts/generate-certs.sh

- name: bench tests
working-directory: ${{env.ROOT_PATH}}/bench
run: cargo test
Expand Down
1 change: 0 additions & 1 deletion bindings/rust/bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ All benchmarks are run in an idealized environment, using only a single thread a
../generate.sh

# set up bench crate
scripts/generate-certs.sh
scripts/install-aws-lc.sh

# run all benchmarks (s2n-tls with AWS-LC)
Expand Down
1 change: 1 addition & 0 deletions bindings/rust/bench/certs/ecdsa256
1 change: 1 addition & 0 deletions bindings/rust/bench/certs/ecdsa384
9 changes: 9 additions & 0 deletions bindings/rust/bench/certs/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This folder actually just contains symlinks to the files in s2n-tls/test/pems/permutations

```
ln -s ../../../../tests/pems/permutations/ecdsa_p256_sha256 ecdsa256
ln -s ../../../../tests/pems/permutations/ecdsa_p384_sha384 ecdsa384
ln -s ../../../../tests/pems/permutations/rsa_2048_sha256 rsa2048
ln -s ../../../../tests/pems/permutations/rsa_3072_sha384 rsa3072
ln -s ../../../../tests/pems/permutations/rsa_4096_sha384 rsa4096
```
1 change: 1 addition & 0 deletions bindings/rust/bench/certs/rsa2048
1 change: 1 addition & 0 deletions bindings/rust/bench/certs/rsa3072
1 change: 1 addition & 0 deletions bindings/rust/bench/certs/rsa4096
16 changes: 16 additions & 0 deletions tests/pems/permutations/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
All of the certs in this directory are generated using the `generate-certs.sh` script included in this directory.

### PKI Structure
```
┌────root──────┐
│ │
│ │
▼ │
branch │
│ │
│ │
│ │
▼ ▼
leaf client
```
`generate-certs.sh` will generate 4 certificates for each key/length/digest selection, with the signing relationships that are indicated in the diagram above. This cert chain length was chosen because it matches the cert chain length used by public AWS services.
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBnjCCAUWgAwIBAgIUYeEg8Lsp45bfmXoDnhmkKQzqlAcwCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290MFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsBJrB8ZbAPSCfdXznilebLRtkxy48NdD
QsV0ZyZJID3q2t4wS4xDXi4CgUjNZtaXJtM516gYTqNCeYojVGYViqNjMGEwHQYD
VR0OBBYEFMHEM1VmenbYdnhboeOH0RNYN/3PMB8GA1UdIwQYMBaAFMHEM1VmenbY
dnhboeOH0RNYN/3PMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgIEMAoG
CCqGSM49BAMCA0cAMEQCID8rSmmnEDOXxmnK0T4DkRSSP/Oc5FiFEa2/wVbR/EhM
AiBxn9IIOUpnhBG1qvHhB/qKalqvprFc9FFBQC9xN90jRg==
-----END CERTIFICATE-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBlzCCATygAwIBAgIULPVIsn2T67D2XuLwF3M26/5FveswCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZjbGllbnQw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQMS8op4PjjVAeOVvCtL6UjWuZ2FzJ5
g7bemTQRAptrEcOhgWPnLWDh0m0+jQeRCT+pUT1wzKLhdkpjN2oZ1H4Ho1gwVjAU
BgNVHREEDTALgglsb2NhbGhvc3QwHQYDVR0OBBYEFGP9aKdqezka/A5Dt1ypXNLY
3kj6MB8GA1UdIwQYMBaAFMHEM1VmenbYdnhboeOH0RNYN/3PMAoGCCqGSM49BAMC
A0kAMEYCIQC9dceDtYu///egrgTGeKxWrIUFhQHEKihvnSEnfX0QawIhAJ+icnfk
1C6uGw+NpGbMqMvaXQ38bU/vJJVRGjcRR7hr
-----END CERTIFICATE-----
5 changes: 5 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgneHEAo+LmLtZAgFW
Pr/krUqBvdIYRykJOk88MsXqEmihRANCAAQMS8op4PjjVAeOVvCtL6UjWuZ2FzJ5
g7bemTQRAptrEcOhgWPnLWDh0m0+jQeRCT+pUT1wzKLhdkpjN2oZ1H4H
-----END PRIVATE KEY-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/intermediate-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBoTCCAUegAwIBAgIULPVIsn2T67D2XuLwF3M26/5FveowCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZicmFuY2gw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARLrFViJckEtfN8UFfk200qlFy5A6gI
IpaC4jP67utC9j9CcG4WQWDsTf8nkHArJ3B58NscK2QRcTj34vvchHXto2MwYTAP
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICBDAdBgNVHQ4EFgQUJiuhFpVH
T/OlHc/Pgan1he8ZLhUwHwYDVR0jBBgwFoAUwcQzVWZ6dth2eFuh44fRE1g3/c8w
CgYIKoZIzj0EAwIDSAAwRQIgUkB2FYBpqIUaq7DsJo4tzeYs3Y4uYQHXpZXVuEjg
W9wCIQC2nzJjFwV2NOqURQ20XcJ1wgU7uxJ/V2DzMw6m145u1A==
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgDrfWoiExR7tdCJt3
2H6wob3ZqcMyAORtPU24zUeIp8ChRANCAARLrFViJckEtfN8UFfk200qlFy5A6gI
IpaC4jP67utC9j9CcG4WQWDsTf8nkHArJ3B58NscK2QRcTj34vvchHXt
-----END PRIVATE KEY-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/server-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBlTCCATygAwIBAgIUINuWyvcnXfy+O6qGDH3js/0C+pswCgYIKoZIzj0EAwIw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMDUxOTAyNDRa
GA8yMjAzMDYxMjE5MDI0NFowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQf+yPDYUQFnb/U0rt30iXx4onLTDcm
fLompcKN/cKjAvEdvbY6UltJSTkjSJugMMoSQnk7s8eic03iw37eNN/jo1gwVjAU
BgNVHREEDTALgglsb2NhbGhvc3QwHQYDVR0OBBYEFH3FItlvAhX1zIcNqVVnP5N6
PmP/MB8GA1UdIwQYMBaAFCYroRaVR0/zpR3Pz4Gp9YXvGS4VMAoGCCqGSM49BAMC
A0cAMEQCIH9so5srhTY4qH+zu3AXUTXu1MxTt57vj2bXM46TSL0EAiBkfeC9AidE
9mENIktWF5uIK/G0nkoy2UAqDasrgq4GdA==
-----END CERTIFICATE-----
33 changes: 33 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/server-chain.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIBlTCCATygAwIBAgIUINuWyvcnXfy+O6qGDH3js/0C+pswCgYIKoZIzj0EAwIw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMDUxOTAyNDRa
GA8yMjAzMDYxMjE5MDI0NFowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQf+yPDYUQFnb/U0rt30iXx4onLTDcm
fLompcKN/cKjAvEdvbY6UltJSTkjSJugMMoSQnk7s8eic03iw37eNN/jo1gwVjAU
BgNVHREEDTALgglsb2NhbGhvc3QwHQYDVR0OBBYEFH3FItlvAhX1zIcNqVVnP5N6
PmP/MB8GA1UdIwQYMBaAFCYroRaVR0/zpR3Pz4Gp9YXvGS4VMAoGCCqGSM49BAMC
A0cAMEQCIH9so5srhTY4qH+zu3AXUTXu1MxTt57vj2bXM46TSL0EAiBkfeC9AidE
9mENIktWF5uIK/G0nkoy2UAqDasrgq4GdA==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIBoTCCAUegAwIBAgI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8rSmmnEDOXxmnK0T4DkRSSP/Oc5FiFEa2/wVbR/EhM
AiBxn9IIOUpnhBG1qvHhB/qKalqvprFc9FFBQC9xN90jRg==
-----END CERTIFICATE-----
5 changes: 5 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha256/server-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgMqDXcuTt1PeDhGeT
yyfdcc+n6cHy4b9Ro1dM9V79DzahRANCAAQf+yPDYUQFnb/U0rt30iXx4onLTDcm
fLompcKN/cKjAvEdvbY6UltJSTkjSJugMMoSQnk7s8eic03iw37eNN/j
-----END PRIVATE KEY-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBnjCCAUWgAwIBAgIUfQCgBbaBfiXXhWTscrTQMZvp9xAwCgYIKoZIzj0EAwMw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290MFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAERQ1SWSh30V4GMPVIzuRUSTCmfQ0E6R7x
/wQhPZ10l/xcyMUlbb5dZ2YPUNatgM1gxcuwXqn6WajSJvalsuNxHKNjMGEwHQYD
VR0OBBYEFDZY6PToKNkfbFcZM9dhqg+yW6HrMB8GA1UdIwQYMBaAFDZY6PToKNkf
bFcZM9dhqg+yW6HrMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgIEMAoG
CCqGSM49BAMDA0cAMEQCIA6N55t1qqPXhiAX2z7oTfDCtzDfAGW2Km6g7bYaVC7p
AiBfOID37bXwSJQ7hjMRT7U04NzkVy0BkJwrCjzRxuCqMA==
-----END CERTIFICATE-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBljCCATygAwIBAgIUaaL5aiCe9O1+c76+AjJQPEUuOc8wCgYIKoZIzj0EAwMw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZjbGllbnQw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAS1ShfWCUA5ziY/47wFgcAVyZp9UHiq
SU7UAtjqojM5fB9MPZsl6+80ZF7tphuYs9NZn0bNheD7T5/qNIsYEliro1gwVjAU
BgNVHREEDTALgglsb2NhbGhvc3QwHQYDVR0OBBYEFGzGxX0xBitnDDIHlXyG/B+V
Z2T0MB8GA1UdIwQYMBaAFDZY6PToKNkfbFcZM9dhqg+yW6HrMAoGCCqGSM49BAMD
A0gAMEUCIQDVWQSlgSIYcjioH6NRpYTtMnsVh0eSB09UU3s0E6ZXIQIgblVgF3sp
aUnH0uclI69N6ICw7QPUIPGROsbhQmzG1t0=
-----END CERTIFICATE-----
5 changes: 5 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg3W9+FEEjhrHBnaG+
7YgcyaQe2wOaH4RMZmpCT4p20p+hRANCAAS1ShfWCUA5ziY/47wFgcAVyZp9UHiq
SU7UAtjqojM5fB9MPZsl6+80ZF7tphuYs9NZn0bNheD7T5/qNIsYElir
-----END PRIVATE KEY-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/intermediate-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBoTCCAUegAwIBAgIUaaL5aiCe9O1+c76+AjJQPEUuOc4wCgYIKoZIzj0EAwMw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZicmFuY2gw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARHMcBPOKnF+MKQs9BKiyGkVvSCojQh
ERanvnb14WQgp1dE/5+dsZI5xOWh3py6sP7u5AHPOt/myuV/kbNx2akmo2MwYTAP
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwICBDAdBgNVHQ4EFgQUoFMnH36v
U3YB0H5w6d6zkv/xMFswHwYDVR0jBBgwFoAUNljo9Ogo2R9sVxkz12GqD7Jboesw
CgYIKoZIzj0EAwMDSAAwRQIhANeupL8b39RZUxm5v5YnJheMe98ITucclVp65dUg
EbvVAiBQ0Iz56vsN9H6905rQZhylHeRlwzDw7vFDjG6JHVSRQw==
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgkFIexK+dBiu0fPJh
jHmMPbVm/xjRWoSpWcwZ4vAqcX+hRANCAARHMcBPOKnF+MKQs9BKiyGkVvSCojQh
ERanvnb14WQgp1dE/5+dsZI5xOWh3py6sP7u5AHPOt/myuV/kbNx2akm
-----END PRIVATE KEY-----
11 changes: 11 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/server-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBlTCCATygAwIBAgIUSsZe/5+Zqop/g/ncxaPi1ImRa6wwCgYIKoZIzj0EAwMw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMDUxOTAyNDRa
GA8yMjAzMDYxMjE5MDI0NFowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQXpa6HdxfDJ8MXBNzFa10wgWMRBnBW
526S1F1SXEtmmcmKWomOdQN6SeDbcB+dkF7I2ucm1ZZcAnk4/sjsqJeUo1gwVjAU
BgNVHREEDTALgglsb2NhbGhvc3QwHQYDVR0OBBYEFHdeoL1h8+7D+Hxpjfy9j7t8
95RRMB8GA1UdIwQYMBaAFKBTJx9+r1N2AdB+cOnes5L/8TBbMAoGCCqGSM49BAMD
A0cAMEQCIDgMfr0WHWTa2WCXOccRv7uqZmrjlXYmtXPCf38QCKOFAiBPFSH+SpRz
vtJkL0XC4e/Wzqgmv0OaCbyJLY2zwR0ZjQ==
-----END CERTIFICATE-----
33 changes: 33 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/server-chain.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIBlTCCATygAwIBAgIUSsZe/5+Zqop/g/ncxaPi1ImRa6wwCgYIKoZIzj0EAwMw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMDUxOTAyNDRa
GA8yMjAzMDYxMjE5MDI0NFowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQXpa6HdxfDJ8MXBNzFa10wgWMRBnBW
526S1F1SXEtmmcmKWomOdQN6SeDbcB+dkF7I2ucm1ZZcAnk4/sjsqJeUo1gwVjAU
BgNVHREEDTALgglsb2NhbGhvc3QwHQYDVR0OBBYEFHdeoL1h8+7D+Hxpjfy9j7t8
95RRMB8GA1UdIwQYMBaAFKBTJx9+r1N2AdB+cOnes5L/8TBbMAoGCCqGSM49BAMD
A0cAMEQCIDgMfr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FDZY6PToKNkfbFcZM9dhqg+yW6HrMB8GA1UdIwQYMBaAFDZY6PToKNkf
bFcZM9dhqg+yW6HrMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgIEMAoG
CCqGSM49BAMDA0cAMEQCIA6N55t1qqPXhiAX2z7oTfDCtzDfAGW2Km6g7bYaVC7p
AiBfOID37bXwSJQ7hjMRT7U04NzkVy0BkJwrCjzRxuCqMA==
-----END CERTIFICATE-----
5 changes: 5 additions & 0 deletions tests/pems/permutations/ecdsa_p256_sha384/server-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-----BEGIN PRIVATE KEY-----
MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgagximCoq3bIhiDQl
B/hTltXA9cXUnk5F8UC8AyiI0m2hRANCAAQXpa6HdxfDJ8MXBNzFa10wgWMRBnBW
526S1F1SXEtmmcmKWomOdQN6SeDbcB+dkF7I2ucm1ZZcAnk4/sjsqJeU
-----END PRIVATE KEY-----
12 changes: 12 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIB3DCCAWKgAwIBAgIUc7JuOigzuhD4HHQNDVu5Kl8hqMEwCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290MHYw
EAYHKoZIzj0CAQYFK4EEACIDYgAEHc+gXpMOdJFDWqqCi6MoxiV7CS6Td7rduHiY
u9iY8p7PA5MA/mDWLR2HhTt7k7pmhC45qlHk4y0PQ+Y9dSEgenJzhlx2xfhqTavL
gCaTOEzj+9vxO+kzvg2hUtQr/7bmo2MwYTAdBgNVHQ4EFgQUosmoVrP+KRIFTX36
aRwwM3DTsEwwHwYDVR0jBBgwFoAUosmoVrP+KRIFTX36aRwwM3DTsEwwDwYDVR0T
AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAgQwCgYIKoZIzj0EAwIDaAAwZQIwJpWf
s+Gms/T8svux0CH+NkwAvNK9AUjy66QTshW80ym/AH5IECTSUkF8Nk8qi3mZAjEA
qAwhb4eBTsDuxzqaT7eNt1pC7SqKZlteBKIEwXvzLgS09h2nc0GnUqLGesQaD5jn
-----END CERTIFICATE-----
12 changes: 12 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIB1DCCAVmgAwIBAgIUN0Vct416jrbSLMddKhEzBcB8hOEwCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZjbGllbnQw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAAR+03i90xqpmO56kM0eP6AtjwKcuOeiJL6D
3iJabcCuwR26TGdwkCUcnGr8dpNvTVwr28R/SrqTMR7eqgcvcCDJC+2ZhhCNUAbx
eeb4sMOV/1ZT8J+d3Bs0rpvGtdB3DIWjWDBWMBQGA1UdEQQNMAuCCWxvY2FsaG9z
dDAdBgNVHQ4EFgQUgbN47IXy6+1+fRdEZhgffXDwcQYwHwYDVR0jBBgwFoAUosmo
VrP+KRIFTX36aRwwM3DTsEwwCgYIKoZIzj0EAwIDaQAwZgIxAPosS/LNE+dN52+Q
cbiuZwzrJ1u1zBj6j1Z/YZ739Jq6nejT0QRiJgpm3DW/BHdfuQIxANCKfc7Nyr9U
xy+9yUHThRNAAJ0xiLBTMnV6SLO5poFpncXbg4kwqG/MJDe58Atuyw==
-----END CERTIFICATE-----
6 changes: 6 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-----BEGIN PRIVATE KEY-----
MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDBXxbfXsneFEuFpdQ/E
rXHcrzQXs01mDRQvZD2XRhrmH/SzN2IjTZrpa93k/oWS69ihZANiAAR+03i90xqp
mO56kM0eP6AtjwKcuOeiJL6D3iJabcCuwR26TGdwkCUcnGr8dpNvTVwr28R/SrqT
MR7eqgcvcCDJC+2ZhhCNUAbxeeb4sMOV/1ZT8J+d3Bs0rpvGtdB3DIU=
-----END PRIVATE KEY-----
13 changes: 13 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/intermediate-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIB3TCCAWSgAwIBAgIUN0Vct416jrbSLMddKhEzBcB8hOAwCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZicmFuY2gw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAATvwejltuOjy3TzAVM5V0WquUOZNvvVVEAJ
yA2hHDI2hSDffXN4XAHhT/gqJiuM+quPb2RqkfQirrDojxkhBr73iEORFXb0Tg0Q
ZuQfLOnVoaTtuvONlQY+dnjV26oSchijYzBhMA8GA1UdEwEB/wQFMAMBAf8wDgYD
VR0PAQH/BAQDAgIEMB0GA1UdDgQWBBRM5PEN1caZwiSIIqp1HEvgsYXvkTAfBgNV
HSMEGDAWgBSiyahWs/4pEgVNffppHDAzcNOwTDAKBggqhkjOPQQDAgNnADBkAjBd
Xbp8Ov+6eLEv0Ha8DJ4UHLrwu4eZyOaGNPcg/ymSb/k4rpMi7BsJ7hVWyg9G7TcC
MGRCcTdl4P/JT/z43MNAkBDOUTn6h05BMsgISgt9GEqattqZGiEHYp17jMLb7p0+
Qw==
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-----BEGIN PRIVATE KEY-----
MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDARfh2dIXvCBgV3T6BA
URPQ0BpKzVKpkJYRJkaeyfb7vG7RRTgL8cm1AV7duvoVwO2hZANiAATvwejltuOj
y3TzAVM5V0WquUOZNvvVVEAJyA2hHDI2hSDffXN4XAHhT/gqJiuM+quPb2RqkfQi
rrDojxkhBr73iEORFXb0Tg0QZuQfLOnVoaTtuvONlQY+dnjV26oSchg=
-----END PRIVATE KEY-----
12 changes: 12 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/server-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIB1DCCAVmgAwIBAgIUZWU5x3lcfZkrMebY9jb89C2C2BMwCgYIKoZIzj0EAwIw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMDUxOTAyNDRa
GA8yMjAzMDYxMjE5MDI0NFowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAASBcTCO2ab61pvH9gJ+3jrDKsbnFSzZ5d5j
kKSmNHTblCHlh69B0rk9eXAbm2shVzf7RFa75QhIO1JoIq3zNXc+A63IgKgxgcij
V+137TWyeu5wXI9G5phezBAweJ4k4PejWDBWMBQGA1UdEQQNMAuCCWxvY2FsaG9z
dDAdBgNVHQ4EFgQULdXBt1MNJXcrmSM0qfRJOKmKfgAwHwYDVR0jBBgwFoAUTOTx
DdXGmcIkiCKqdRxL4LGF75EwCgYIKoZIzj0EAwIDaQAwZgIxAKas2biglZ8cL7ie
dazSByIXZ0+0OOqgw533lEs+D748nfZ9cdytnOBe3TDylVYfyAIxAJmK5Xr06vcx
bLJK5FCp89Q2m0f6jzB074DorYF1E/OuqDqdp/DSweukoMlaaPdsvA==
-----END CERTIFICATE-----
37 changes: 37 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/server-chain.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
-----BEGIN CERTIFICATE-----
MIIB1DCCAVmgAwIBAgIUZWU5x3lcfZkrMebY9jb89C2C2BMwCgYIKoZIzj0EAwIw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMDUxOTAyNDRa
GA8yMjAzMDYxMjE5MDI0NFowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAASBcTCO2ab61pvH9gJ+3jrDKsbnFSzZ5d5j
kKSmNHTblCHlh69B0rk9eXAbm2shVzf7RFa75QhIO1JoIq3zNXc+A63IgKgxgcij
V+137TWyeu5wXI9G5phezBAweJ4k4PejWDBWMBQGA1UdEQQNMAuCCWxvY2FsaG9z
dDAdBgNVHQ4EFgQULdXBt1MNJXcrmSM0qfRJOKmKfgAwHwYDVR0jBBgwFoAUTOTx
DdXGmcIkiCKqdRxL4LGF75EwCgYIKoZIzj0EAwIDaQAwZgIxAKas2biglZ8cL7ie
dazSByIXZ0+0OOqgw533lEs+D748nfZ9cdytnOBe3TDylVYfyAIxAJmK5Xr06vcx
bLJK5FCp89Q2m0f6jzB074DorYF1E/OuqDqdp/DSweukoMlaaPdsvA==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB3TCCAWSgAwIBAgIUN0Vct416jrbSLMddKhEzBcB8hOAwCgYIKoZIzj0EAwIw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZicmFuY2gw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAATvwejltuOjy3TzAVM5V0W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SqKZlteBKIEwXvzLgS09h2nc0GnUqLGesQaD5jn
-----END CERTIFICATE-----
6 changes: 6 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha256/server-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-----BEGIN PRIVATE KEY-----
MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDA1pzOQHfX0GPnc5a6M
RweN+luh714Z6ec0hoYM/P2qO+xmkIqNG1FiaDJkGa93DKChZANiAASBcTCO2ab6
1pvH9gJ+3jrDKsbnFSzZ5d5jkKSmNHTblCHlh69B0rk9eXAbm2shVzf7RFa75QhI
O1JoIq3zNXc+A63IgKgxgcijV+137TWyeu5wXI9G5phezBAweJ4k4Pc=
-----END PRIVATE KEY-----
12 changes: 12 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha384/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIB2zCCAWKgAwIBAgIUF4aaJ6Uh56O9N0F9vfLDjuMuSNYwCgYIKoZIzj0EAwMw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290MHYw
EAYHKoZIzj0CAQYFK4EEACIDYgAEmLmtOfbsd27TTZZnPL8yueO8yALUo06dj4pR
GXAnIw4EZwnnkfn82YHeBaAq6CaWX3K6GxXk3d6dMB0afOf9iqZVSFQlFuGNQ3x0
61qiDvQWDoqMvSH3buMGVJX4CtR2o2MwYTAdBgNVHQ4EFgQUxGLyOWPRsUqrm3OU
5XfQ0Mui4GUwHwYDVR0jBBgwFoAUxGLyOWPRsUqrm3OU5XfQ0Mui4GUwDwYDVR0T
AQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAgQwCgYIKoZIzj0EAwMDZwAwZAIwIMUZ
rNIDuDXxLNcMKkU6pd6McPeaJ7UDyRr17rwHGHqlVEpBAhMhS9tuT9VaX0w/AjBD
J4CJIzB7v1oJGVtcCpRPK1HNSoH8ZImVVBtqPDy9Lfy8MVb9YXaWa9a9X65qu8M=
-----END CERTIFICATE-----
12 changes: 12 additions & 0 deletions tests/pems/permutations/ecdsa_p384_sha384/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-----BEGIN CERTIFICATE-----
MIIB1DCCAVmgAwIBAgIUeUSIzKwSJIIe5wg+PIntAdEomVswCgYIKoZIzj0EAwMw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTA1MTkwMjQ0WhgP
MjIwMzA2MTIxOTAyNDRaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZjbGllbnQw
djAQBgcqhkjOPQIBBgUrgQQAIgNiAATugPzT4eQRKmygvSO/9Mu1O6fNMYHMpW/3
67a6U+hvWL1xn0tk3F7SSY4RNPPyl8MASkMjzICaU/F9FbYfMkL5UwW0zBCORtw5
+wedTMUbQ36gPiKKKEEHQVW6Yf2DAOOjWDBWMBQGA1UdEQQNMAuCCWxvY2FsaG9z
dDAdBgNVHQ4EFgQUo/mxwR1cdHyD+wymWZfIZfruqg0wHwYDVR0jBBgwFoAUxGLy
OWPRsUqrm3OU5XfQ0Mui4GUwCgYIKoZIzj0EAwMDaQAwZgIxAMTRN0xFjuBfBBmv
Omby/TQnKf2CQWOGyFWrErOIgDIQsw2DRvGLRwc8v0wQX6w23QIxAMI+YTEHRtNp
uaUIsqMjvQKo2MQWeFfOVf4LqhmBtO+/0AuAzh9KvKXLTn86p3ZGQA==
-----END CERTIFICATE-----
Loading
Loading