From 5d3f7b7b631d0539cf210db48f9b8dd1d008227b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 28 Jun 2015 00:39:21 -0500 Subject: add new name constraints vector with invalid IP netmask --- docs/development/test-vectors.rst | 3 +++ .../x509/custom/nc_invalid_ip_netmask.pem | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 vectors/cryptography_vectors/x509/custom/nc_invalid_ip_netmask.pem diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst index bc171b21..ac667bb7 100644 --- a/docs/development/test-vectors.rst +++ b/docs/development/test-vectors.rst @@ -204,6 +204,9 @@ Custom X.509 Vectors name constraints extension with permitted elements. * ``nc_excluded.pem`` - An RSA 2048 bit self-signed certificate containing a name constraints extension with excluded elements. +* ``nc_invalid_ip_netmask.pem`` - An RSA 2048 bit self-signed certificate + containing a name constraints extension with a permitted element that has an + ``IPv6`` IP and an invalid network mask. * ``cp_user_notice_with_notice_reference.pem`` - An RSA 2048 bit self-signed certificate containing a certificate policies extension with a notice reference in the user notice. diff --git a/vectors/cryptography_vectors/x509/custom/nc_invalid_ip_netmask.pem b/vectors/cryptography_vectors/x509/custom/nc_invalid_ip_netmask.pem new file mode 100644 index 00000000..42f7fd37 --- /dev/null +++ b/vectors/cryptography_vectors/x509/custom/nc_invalid_ip_netmask.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC8TCCAdmgAwIBAgITBm/Wnt8Tt9uB01YkE0oW0WAn8DANBgkqhkiG9w0BAQsF +ADAXMRUwEwYDVQQDDAxjcnlwdG9ncmFwaHkwHhcNMTUwNjI3MjMzNDI1WhcNMTYw +NjI2MjMzNDI1WjAXMRUwEwYDVQQDDAxjcnlwdG9ncmFwaHkwggEiMA0GCSqGSIb3 +DQEBAQUAA4IBDwAwggEKAoIBAQCylTa0WkLvIXB4sWoPdv5iL3idlVHKR+ncODKL +nwQ2Jtd990MfakOFRLrJFF1tfPL4qyRbbyMyrgCOoKBCAuId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