aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/development/test-vectors.rst3
-rw-r--r--vectors/cryptography_vectors/x509/custom/bc_path_length_zero.pem17
2 files changed, 20 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst
index f6197f92..40c49590 100644
--- a/docs/development/test-vectors.rst
+++ b/docs/development/test-vectors.rst
@@ -115,6 +115,9 @@ Custom X.509 Vectors
* ``basic_constraints_not_critical.pem`` - An RSA 2048 bit self-signed
certificate containing a basic constraints extension that is not marked as
critical.
+* ``bc_path_length_zero.pem`` - An RSA 2048 bit self-signed
+ certificate containing a basic constraints extension with a path length of
+ zero.
Custom X.509 Request Vectors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/vectors/cryptography_vectors/x509/custom/bc_path_length_zero.pem b/vectors/cryptography_vectors/x509/custom/bc_path_length_zero.pem
new file mode 100644
index 00000000..ed1457ca
--- /dev/null
+++ b/vectors/cryptography_vectors/x509/custom/bc_path_length_zero.pem
@@ -0,0 +1,17 @@
+-----BEGIN CERTIFICATE-----
+MIICwTCCAamgAwIBAgITBmZp7dm5HT3CzFFhLOBRSmbBhTANBgkqhkiG9w0BAQUF
+ADAPMQ0wCwYDVQQKDARQeUNBMB4XDTE1MDMyNDIzMDE0MVoXDTE2MDMyMzIzMDE0
+MVowDzENMAsGA1UECgwEUHlDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
+ggEBAK5BS8lvNjTW9hARPJuoheabY2YAD8YG/Ph8UM4l9ifxc5RU0pM/v6EZKy2z
+FYnKRwYsaBNPkviIxPvk4/JF9Prni0egT6v23Dfz15hQUF2A3c2bRPGoIdvWbbiC
+I2TS2I6+4UvekbNY8qjCcxvOUd+OK1U0FfpZEHInBXuWh59eRSQ5i25h3JyO66cB
+PRT8EA2BsTj5DcfNhsht7VRFJYbUgBJ2De3xxPRouIJVplo1gIet8w23JePixDho
+xThb+zghAd8JbhnUWSU83GL2SBptUYgSTMXygnmpJwmQ6ugJNra/F6uLQ1OWjUso
+1VHVZzJSrOuSe7YGJPLjlpEpK40CAwEAAaMWMBQwEgYDVR0TAQH/BAgwBgEB/wIB
+ADANBgkqhkiG9w0BAQUFAAOCAQEAdX9IhgHK/imW47Il5a7y+XB7mHF/lGhL7UHh
+VUl+nzKPw4quQo/AXdVGCyYt+Jqh5FJg3QA2Ke2koRmj6qRNjRiQkKlt+cyIKLdi
+eNze7+o6KNOfAEeCENEnmBNwwM9kYvR0rNund6P7rOKzFFsLs3TxbgHGNBbyMwri
+ge+S1NWaaq2HUccW3I3y3ZZh419kFNhLanXWcWbLlj9zTYLrOojvPSD+xtKIoFfw
+n69G0Guj5XS/6ARnPUJzpjN1xsdpjoU0umRuIIxxB2lhXJHpBqXWJEIza0Fc0sgs
+IoaNuNLDevpsM8zn26fJeTu2H/JVE/LtjDZfiH/4ipnmgEXnkg==
+-----END CERTIFICATE-----