-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for reporting invalid value node presence
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
tests/integration_certificate/pkix/ecdsa_with_null_sigalg_param.crttest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIID6zCCA3KgAwIBAgIUEuptorghJNZWoEmXnuVIyVYrqkowDAYIKoZIzj0EAwMF | ||
ADBeMQswCQYDVQQGEwJDTjElMCMGA1UECgwcVHJ1c3RBc2lhIFRlY2hub2xvZ2ll | ||
cywgSW5jLjEoMCYGA1UEAwwfVHJ1c3RBc2lhIERWIFRMUyBFQ0MgVGVzdCBDQSBH | ||
NDAeFw0yNDEwMjIxNjAwMDBaFw0yNDEwMjMxNjAwMDBaMCUxIzAhBgNVBAMMGm9v | ||
bDVldnpzd3AuY3QtdGVzdC5zc2wucHViMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD | ||
QgAE429f0qXaS9E9goewIIJLabuQZBw18mgbLueve9JmfTq4p2Poo+7dACkXG8AF | ||
v9nxvGKBm61nP8WWMeJQYc6IQqOCAkMwggI/MAwGA1UdEwEB/wQCMAAwHwYDVR0j | ||
BBgwFoAUr4S1dCdw3xSnKsw6Wtz3PAQJU5swgaUGCCsGAQUFBwEBBIGYMIGVMEoG | ||
CCsGAQUFBzAChj5odHRwOi8vaWNhLnd0LXRlc3QudHJ1c3Rhc2lhLmNvbS9UcnVz | ||
dEFzaWFEVlRMU0VDQ1Rlc3RDQUc0LmNydDBHBggrBgEFBQcwAYY7aHR0cDovL29j | ||
c3Aud3QtdGVzdC50cnVzdGFzaWEuY29tL1RydXN0QXNpYURWVExTRUNDVGVzdENB | ||
RzQwJQYDVR0RBB4wHIIab29sNWV2enN3cC5jdC10ZXN0LnNzbC5wdWIwEwYDVR0g | ||
BAwwCjAIBgZngQwBAgEwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBME8G | ||
A1UdHwRIMEYwRKBCoECGPmh0dHA6Ly9jcmwud3QtdGVzdC50cnVzdGFzaWEuY29t | ||
L1RydXN0QXNpYURWVExTRUNDVGVzdENBRzQuY3JsMB0GA1UdDgQWBBSANcwZGY1l | ||
mwNdmlipDOiex1EAHDAOBgNVHQ8BAf8EBAMCBaAwgYoGCisGAQQB1nkCBAIEfAR6 | ||
AHgAdgCHT7UNwCnZkx3lc+nyiZ6ORTOzktOLCkYldL8P7rL8HgAAAYQHSgxQAAAE | ||
AwBHMEUCIQD0WQOyiEHIPoanzn+5Y8QfYR1sQIkAb8gHO1/EOTIF+QIgF3zyCELh | ||
/Uzp8MDiQbXeDWXHhFZqXMRxlHwQSqDbr3cwCgYIKoZIzj0EAwMDZwAwZAIwOWCs | ||
D/aGz0c/M4+e/iMor9OSw4K+O2OXKoM/HRrT9bw6/Rtgy+ZdWGRP0XHzCuyWAjAW | ||
N/XpkkZPgkKC941PAOnMsPEdkTVLdx+zn5NZ7qSzCub9BuSLN+GViPErWm7FPdM= | ||
-----END CERTIFICATE----- | ||
|
||
node_path,validator,severity,code,message | ||
certificate.tbsCertificate.signature,AlgorithmIdentifierDecodingValidator,FATAL,itu.invalid_asn1_syntax,"Value node is present, but type OID 1.2.840.10045.4.3.3 specifies that it must be absent" | ||
certificate.tbsCertificate.extensions.7.extnValue.subjectKeyIdentifier,SubjectKeyIdentifierValidator,INFO,pkix.subject_key_identifier_method_1_identified, | ||
certificate.signatureAlgorithm,SignatureAlgorithmMatchValidator,ERROR,pkix.certificate_signature_algorithm_mismatch,DER encoding of certificate.signatureAlgorithm and certificate.tbsCertificate.signature are not equal |