openssl/test/recipes/81-test_cmp_cli_data/test_verification.csv
Dr. David von Oheimb 168c595b14 Chunk 12 of CMP contribution to OpenSSL: CLI-based high-level tests
Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL
Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712).
Adds the CMP and CRMF API to libcrypto and the "cmp" app to the CLI.
Adds extensive documentation and tests.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11998)
2020-06-13 15:13:38 +02:00

6.8 KiB

1expecteddescription-sectionval-recipientval-expect_senderval-srvcertval-trustedval-untrustedval-ignore_keyusage-unprotected_errors-extracertsoutvalval2-opt1arg1-opt2arg2-opt3arg3
20default test-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
31recipient missing arg-section-recipientBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
40unknown attribute in recipient name-section-recipient_CA_DN/ABC=123BLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
51wrong syntax in recipient name: trailing double '/' after value-section-recipient_CA_DN//BLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
61wrong syntax in recipient name: missing '='-section-recipient/CDEBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
71wrong syntax in recipient name: C too long-section-recipient/CN=ECC Issuing CA v10/OU=For test purpose only/O=CMPforOpenSSL/C=DEEBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
80config default with expected sender-section-recipient_CA_DN-expect_sender_SERVER_DNBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
91expected sender missing arg-section-recipient_CA_DN-expect_senderBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
101wrong expected sender-section-recipient_CA_DN-expect_sender/CN=Sample Cert/OU=R&D/O=Company Ltd./L=Dublin 4/C=IEBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
110unknown attribute in expected sender-section-recipient_CA_DN-expect_sender_SERVER_DN/ABC=123BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
121extra attribute in expected sender-section-recipient_CA_DN-expect_sender_SERVER_DN/serialNumber=123BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
131double attribute in expected sender-section-recipient_CA_DN-expect_sender/CN=ECC Issuing CA v10_SERVER_DNBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
141missing attribute in expected sender-section-recipient_CA_DN-expect_sender/CN=ECC Issuing CA v10/OU=For test purpose only/C=DEBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
151bad syntax in expected sender name: leading double '/'-section-recipient_CA_DN-expect_sender//_CA_DNBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
161bad syntax in expected sender name: trailing double '/'-section-recipient_CA_DN-expect_sender_CA_DN//BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
171bad syntax in expected sender name: missing '='-section-recipient_CA_DN-expect_sender/C=DE/CN=ECC Issuing CA v10/OU=For test purpose only/OCMPforOpenSSLBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
181expected sender empty attributes-section-recipient_CA_DN-expect_sender/CN=/OU=/O=/C=BLANK-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
191srvcert missing arg-section-recipient"BLANK-srvcert-trustedtrusted.crtBLANKBLANK-unprotected_errorsBLANK
201wrong srvcert-section-recipient"BLANK-srvcertsigner.crt-trusted"BLANKBLANK-unprotected_errorsBLANK
211srvcert is empty file-section-recipient"BLANK-srvcertempty.txt-trusted"BLANKBLANK-unprotected_errorsBLANK
221srvcert random content-section-recipient"BLANK-srvcertrandom.bin-trusted"BLANKBLANK-unprotected_errorsBLANK
230no -trusted but srvcert-section-recipient_CA_DNBLANK-srvcert_SERVER_CERTBLANKBLANK-unprotected_errorsBLANK
241trusted missing arg-section-recipient_CA_DNBLANKBLANK-trustedBLANKBLANK-unprotected_errorsBLANK
251wrong trusted cert-section-recipient_CA_DNBLANKBLANK-trustedsigner.crtBLANKBLANK-unprotected_errorsBLANK-secret"-certsigner.crt-keysigner.p12-keypasspass:12345
261trusted empty file-section-recipient_CA_DNBLANKBLANK-trustedempty.txtBLANKBLANK-unprotected_errorsBLANK
271trusted random file-section-recipient_CA_DNBLANKBLANK-trustedrandom.binBLANKBLANK-unprotected_errorsBLANK
281trusted file does not exist-section-recipient_CA_DNBLANKBLANK-trustedidontexistBLANKBLANK-unprotected_errorsBLANK
291untrusted missing arg-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedBLANK-unprotected_errorsBLANK
301untrusted empty file-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedempty.txtBLANK-unprotected_errorsBLANK
311untrusted random file-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedrandom.binBLANK-unprotected_errorsBLANK
321untrusted file does not exist-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crt-untrustedidontexistBLANK-unprotected_errorsBLANK
330ignore key usage-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANK-ignore_keyusage-unprotected_errorsBLANK
341ignorekeyusage with parameter-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANK-unprotected_errorsBLANK-ignore_keyusage1
350no unprotected errors - no errors-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANKBLANKBLANK
361unprotected_errors with parameter-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANKBLANKBLANK-unprotected_errors123
370extracertsout-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsouttest.extracerts.pem
381extracertsout no parameter-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsout
391extracertsout directory-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsoutdirectory/
401extracertsout multiple arguments-section-recipient_CA_DNBLANKBLANK-trustedtrusted.crtBLANKBLANK-unprotected_errors-extracertsoutabcdef