From 9a0a9a009669f2d7496b0361653d94c6afedc259 Mon Sep 17 00:00:00 2001 From: Alex Bouma Date: Tue, 5 Feb 2019 21:52:39 +0100 Subject: [PATCH] Whitelist OID 1.3.6.1.4.1.11129.2.4.2 This OID is used in some intermediate certificates from the Dutch government and allows for parsing and saving/validating these certificates with phpseclib. --- phpseclib/File/X509.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 714e9b93..1a180253 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -1958,6 +1958,9 @@ class File_X509 // "Certificate Transparency" // https://tools.ietf.org/html/rfc6962 case '1.3.6.1.4.1.11129.2.4.2': + // "Qualified Certificate statements" + // https://tools.ietf.org/html/rfc3739#section-3.2.6 + case '1.3.6.1.5.5.7.1.3': return true; // CSR attributes