2009-07-10 22:38:58 +00:00
X509 Certificate information #1
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/server1.crt":"cert. version \: 3\nserial number \: 01\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Server 1\nissued on \: 2011-02-12 14\:44\:06\nexpires on \: 2021-02-12 14\:44\:06\nsigned using \: RSA with SHA1\nRSA key size \: 2048 bits\n"
2009-07-10 22:38:58 +00:00
X509 Certificate information #2
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/server2.crt":"cert. version \: 3\nserial number \: 02\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=localhost\nissued on \: 2011-02-12 14\:44\:06\nexpires on \: 2021-02-12 14\:44\:06\nsigned using \: RSA with SHA1\nRSA key size \: 2048 bits\n"
2009-07-10 22:38:58 +00:00
2009-07-19 20:30:14 +00:00
X509 Certificate information #3
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/test-ca.crt":"cert. version \: 3\nserial number \: 00\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nissued on \: 2011-02-12 14\:44\:00\nexpires on \: 2021-02-12 14\:44\:00\nsigned using \: RSA with SHA1\nRSA key size \: 2048 bits\n"
2009-07-10 22:38:58 +00:00
2009-07-19 20:30:14 +00:00
X509 Certificate information MD2 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_md2.crt":"cert. version \: 3\nserial number \: 09\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert MD2\nissued on \: 2009-07-12 10\:56\:59\nexpires on \: 2011-07-12 10\:56\:59\nsigned using \: RSA with MD2\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information MD4 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_md4.crt":"cert. version \: 3\nserial number \: 05\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert MD4\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with MD4\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information MD5 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_md5.crt":"cert. version \: 3\nserial number \: 06\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert MD5\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with MD5\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information SHA1 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_sha1.crt":"cert. version \: 3\nserial number \: 07\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert SHA1\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with SHA1\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information SHA224 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_sha224.crt":"cert. version \: 3\nserial number \: 08\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert SHA224\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with SHA-224\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information SHA256 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_sha256.crt":"cert. version \: 3\nserial number \: 09\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert SHA256\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with SHA-256\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information SHA384 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_sha384.crt":"cert. version \: 3\nserial number \: 0A\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert SHA384\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with SHA-384\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
X509 Certificate information SHA512 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_cert_info:"data_files/cert_sha512.crt":"cert. version \: 3\nserial number \: 0B\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nsubject name \: C=NL, O=PolarSSL, CN=PolarSSL Cert SHA512\nissued on \: 2011-02-12 14\:44\:07\nexpires on \: 2021-02-12 14\:44\:07\nsigned using \: RSA with SHA-512\nRSA key size \: 2048 bits\n"
2009-07-19 20:30:14 +00:00
2009-07-10 22:38:58 +00:00
X509 CRL information #1
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_expired.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-20 10\:24\:19\nnext update \: 2011-02-20 11\:24\:19\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with SHA1\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information MD2 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_md2.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2009-07-19 19\:56\:37\nnext update \: 2009-09-17 19\:56\:37\nRevoked certificates\:\nserial number\: 01 revocation date\: 2009-02-09 21\:12\:36\nserial number\: 03 revocation date\: 2009-02-09 21\:12\:36\nsigned using \: RSA with MD2\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information MD4 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_md4.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with MD4\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information MD5 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_md5.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with MD5\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information SHA1 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_sha1.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with SHA1\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information SHA224 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_sha224.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with SHA-224\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information SHA256 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_sha256.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with SHA-256\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information SHA384 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_sha384.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with SHA-384\n"
2009-07-19 20:30:14 +00:00
X509 CRL Information SHA512 Digest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2013-04-07 20:00:46 +00:00
x509_crl_info:"data_files/crl_sha512.pem":"CRL version \: 1\nissuer name \: C=NL, O=PolarSSL, CN=PolarSSL Test CA\nthis update \: 2011-02-12 14\:44\:07\nnext update \: 2011-04-13 14\:44\:07\nRevoked certificates\:\nserial number\: 01 revocation date\: 2011-02-12 14\:44\:07\nserial number\: 03 revocation date\: 2011-02-12 14\:44\:07\nsigned using \: RSA with SHA-512\n"
2009-07-10 22:38:58 +00:00
X509 Parse Key #1 (No password when required)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/test-ca.key":NULL:POLARSSL_ERR_PEM_PASSWORD_REQUIRED
2009-07-10 22:38:58 +00:00
X509 Parse Key #2 (Correct password)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-20 20:35:41 +00:00
x509parse_keyfile:"data_files/test-ca.key":"PolarSSLTest":0
2009-07-10 22:38:58 +00:00
X509 Parse Key #3 (Wrong password)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/test-ca.key":"PolarSSLWRONG":POLARSSL_ERR_PEM_PASSWORD_MISMATCH
X509 Parse Key #4 (DES Encrypted)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_DES_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/keyfile.des":"testkey":0
X509 Parse Key #5 (3DES Encrypted)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_DES_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/keyfile.3des":"testkey":0
X509 Parse Key #6 (AES-128 Encrypted)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_AES_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/keyfile.aes128":"testkey":0
X509 Parse Key #7 (AES-192 Encrypted)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_AES_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/keyfile.aes192":"testkey":0
X509 Parse Key #8 (AES-256 Encrypted)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_AES_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-02-12 14:30:57 +00:00
x509parse_keyfile:"data_files/keyfile.aes256":"testkey":0
2009-07-10 22:38:58 +00:00
2011-07-13 11:32:29 +00:00
X509 Parse Key #9 (PKCS#8 wrapped)
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/format_gen.key":"":0
2013-06-24 17:17:19 +00:00
X509 Parse Key #10 (PKCS#8 encrypted SHA1-3DES)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbe_sha1_3des.key":"PolarSSLTest":0
X509 Parse Key #11 (PKCS#8 encrypted SHA1-3DES DER)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbe_sha1_3des.der":"PolarSSLTest":0
X509 Parse Key #12 (PKCS#8 encrypted SHA1-2DES)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbe_sha1_2des.key":"PolarSSLTest":0
X509 Parse Key #13 (PKCS#8 encrypted SHA1-RC4-128)
depends_on:POLARSSL_ARC4_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbe_sha1_rc4_128.key":"PolarSSLTest":0
2013-06-24 17:28:55 +00:00
X509 Parse Key #14 (PKCS#8 encrypted v2 PBDFK2 3DES)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_3des.key":"PolarSSLTest":0
X509 Parse Key #15 (PKCS#8 encrypted v2 PBDFK2 3DES, wrong PW)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_3des.key":"PolarSSLTes":POLARSSL_ERR_X509_PASSWORD_MISMATCH
X509 Parse Key #16 (PKCS#8 encrypted v2 PBDFK2 3DES, no PW)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_3des.key":"":POLARSSL_ERR_X509_PASSWORD_REQUIRED
X509 Parse Key #17 (PKCS#8 encrypted v2 PBDFK2 3DES DER)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_3des.der":"PolarSSLTest":0
X509 Parse Key #18 (PKCS#8 encrypted v2 PBDFK2 3DES DER, wrong PW)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_3des.der":"PolarSSLTes":POLARSSL_ERR_X509_PASSWORD_MISMATCH
X509 Parse Key #19 (PKCS#8 encrypted v2 PBDFK2 3DES DER, no PW)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_3des.der":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
X509 Parse Key #20 (PKCS#8 encrypted v2 PBDFK2 DES)
depends_on:POLARSSL_DES_C:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_keyfile:"data_files/pkcs8_pbes2_pbkdf2_des.key":"PolarSSLTest":0
2011-07-13 11:32:29 +00:00
X509 Parse Public Key #1 (PKCS#8 wrapped)
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO
x509parse_public_keyfile:"data_files/format_gen.pub":0
2009-07-10 22:38:58 +00:00
X509 Get Distinguished Name #1
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_dn_gets:"data_files/server1.crt":subject:"C=NL, O=PolarSSL, CN=PolarSSL Server 1"
X509 Get Distinguished Name #2
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_dn_gets:"data_files/server1.crt":issuer:"C=NL, O=PolarSSL, CN=PolarSSL Test CA"
X509 Get Distinguished Name #3
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_dn_gets:"data_files/server2.crt":subject:"C=NL, O=PolarSSL, CN=localhost"
X509 Get Distinguished Name #4
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_dn_gets:"data_files/server2.crt":issuer:"C=NL, O=PolarSSL, CN=PolarSSL Test CA"
X509 Time Expired #1
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_time_expired:"data_files/server1.crt":valid_from:1
X509 Time Expired #2
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_time_expired:"data_files/server1.crt":valid_to:0
X509 Time Expired #3
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_time_expired:"data_files/server2.crt":valid_from:1
X509 Time Expired #4
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_time_expired:"data_files/server2.crt":valid_to:0
X509 Time Expired #5
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_time_expired:"data_files/test-ca.crt":valid_from:1
2011-04-25 15:28:35 +00:00
X509 Time Expired #6:POLARSSL_FS_IO
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2009-07-10 22:38:58 +00:00
x509_time_expired:"data_files/test-ca.crt":valid_to:0
2009-07-12 11:11:06 +00:00
X509 Certificate verification #1 (Revoked Cert, Expired CRL)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server1.crt":"data_files/test-ca.crt":"data_files/crl_expired.pem":NULL:POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_REVOKED | BADCRL_EXPIRED:NULL
2009-07-10 22:38:58 +00:00
2009-07-12 11:11:06 +00:00
X509 Certificate verification #2 (Revoked Cert, Expired CRL)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server1.crt":"data_files/test-ca.crt":"data_files/crl_expired.pem":"PolarSSL Server 1":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_REVOKED | BADCRL_EXPIRED:NULL
2009-07-10 22:38:58 +00:00
2009-07-12 11:11:06 +00:00
X509 Certificate verification #3 (Revoked Cert, Expired CRL, CN Mismatch)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server1.crt":"data_files/test-ca.crt":"data_files/crl_expired.pem":"PolarSSL Wrong CN":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_REVOKED | BADCRL_EXPIRED | BADCERT_CN_MISMATCH:NULL
2009-07-10 22:38:58 +00:00
2009-07-12 11:11:06 +00:00
X509 Certificate verification #4 (Valid Cert, Expired CRL)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server2.crt":"data_files/test-ca.crt":"data_files/crl_expired.pem":NULL:POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCRL_EXPIRED:NULL
2009-07-10 22:38:58 +00:00
2009-07-12 11:11:06 +00:00
X509 Certificate verification #5 (Revoked Cert)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server1.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_REVOKED:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #6 (Revoked Cert)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server1.crt":"data_files/test-ca.crt":"data_files/crl.pem":"PolarSSL Server 1":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_REVOKED:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #7 (Revoked Cert, CN Mismatch)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server1.crt":"data_files/test-ca.crt":"data_files/crl.pem":"PolarSSL Wrong CN":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_REVOKED | BADCERT_CN_MISMATCH:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #8 (Valid Cert)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server2.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #9 (Not trusted Cert)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server2.crt":"data_files/server1.crt":"data_files/crl.pem":NULL:POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_NOT_TRUSTED:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #10 (Not trusted Cert, Expired CRL)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/server2.crt":"data_files/server1.crt":"data_files/crl_expired.pem":NULL:POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_NOT_TRUSTED:NULL
2009-07-10 22:38:58 +00:00
2009-07-12 11:11:06 +00:00
X509 Certificate verification #12 (Valid Cert MD4 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD4_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_md4.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #13 (Valid Cert MD5 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_md5.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #14 (Valid Cert SHA1 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_SHA1_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_sha1.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #15 (Valid Cert SHA224 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_SHA2_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_sha224.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #16 (Valid Cert SHA256 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_SHA2_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_sha256.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #17 (Valid Cert SHA384 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_SHA4_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_sha384.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
2009-07-12 11:11:06 +00:00
X509 Certificate verification #18 (Valid Cert SHA512 Digest)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_SHA4_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2011-01-13 17:54:59 +00:00
x509_verify:"data_files/cert_sha512.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:0:0:NULL
X509 Certificate verification #19 (Valid Cert, denying callback)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_SHA4_C:POLARSSL_PEM_C:POLARSSL_FS_IO
2012-09-28 07:10:55 +00:00
x509_verify:"data_files/cert_sha512.crt":"data_files/test-ca.crt":"data_files/crl.pem":NULL:POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_OTHER:verify_none
2011-01-13 17:54:59 +00:00
X509 Certificate verification #20 (Not trusted Cert, allowing callback)
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2012-09-28 07:10:55 +00:00
x509_verify:"data_files/server2.crt":"data_files/server1.crt":"data_files/crl_expired.pem":NULL:0:0:verify_all
2009-07-12 11:11:06 +00:00
2012-02-11 16:09:32 +00:00
X509 Certificate verification #21 (domain matching wildcard certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_wildcard.crt":"data_files/test-ca.crt":"data_files/crl.pem":"mail.example.com":0:0:NULL
X509 Certificate verification #22 (domain not matching wildcard certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_wildcard.crt":"data_files/test-ca.crt":"data_files/crl.pem":"mail.example.net":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
X509 Certificate verification #23 (domain not matching wildcard certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_wildcard.crt":"data_files/test-ca.crt":"data_files/crl.pem":"example.com":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
2012-05-10 14:12:46 +00:00
X509 Certificate verification #24 (domain matching CN of multi certificate)
2012-02-11 16:09:32 +00:00
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
2012-05-10 14:12:46 +00:00
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"www.example.com":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
2012-02-11 16:09:32 +00:00
X509 Certificate verification #25 (domain matching multi certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"example.net":0:0:NULL
X509 Certificate verification #26 (domain not matching multi certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"www.example.net":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
X509 Certificate verification #27 (domain not matching multi certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"xample.net":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
X509 Certificate verification #27 (domain not matching multi certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"bexample.net":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
2012-02-11 17:38:38 +00:00
X509 Certificate verification #28 (domain not matching wildcard in multi certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"example.org":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH:NULL
X509 Certificate verification #29 (domain matching wildcard in multi certificate)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi.crt":"data_files/test-ca.crt":"data_files/crl.pem":"mail.example.org":0:0:NULL
2012-08-23 10:46:54 +00:00
X509 Certificate verification #30 (domain matching multi certificate without CN)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi_nocn.crt":"data_files/test-ca.crt":"data_files/crl.pem":"www.shotokan-braunschweig.de":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_NOT_TRUSTED:NULL
X509 Certificate verification #31 (domain not matching multi certificate without CN)
depends_on:POLARSSL_PEM_C:POLARSSL_FS_IO
x509_verify:"data_files/cert_example_multi_nocn.crt":"data_files/test-ca.crt":"data_files/crl.pem":"www.example.net":POLARSSL_ERR_X509_CERT_VERIFY_FAILED:BADCERT_CN_MISMATCH + BADCERT_NOT_TRUSTED:NULL
2009-07-10 22:38:58 +00:00
X509 Parse Selftest
2011-04-25 15:28:35 +00:00
depends_on:POLARSSL_MD5_C:POLARSSL_PEM_C:POLARSSL_SELF_TEST
2009-07-10 22:38:58 +00:00
x509_selftest:
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (Incorrect first tag)
x509parse_crt:"":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT
X509 Certificate ASN1 (Correct first tag, data length does not match)
2012-09-25 21:53:55 +00:00
x509parse_crt:"300000":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (Correct first tag, no more data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"3000":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
2011-10-12 11:53:52 +00:00
X509 Certificate ASN1 (Correct first tag, length data incorrect)
x509parse_crt:"30023085":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_INVALID_LENGTH
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Correct first tag, length data incomplete)
2011-10-12 11:53:52 +00:00
x509parse_crt:"30023083":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Correct first tag, length data incomplete)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30023081":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Correct first tag, length data incomplete)
2011-05-09 16:17:09 +00:00
x509parse_crt:"3003308200":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 20:30:14 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (Correct first tag, second tag no TBSCertificate)
2011-05-09 16:17:09 +00:00
x509parse_crt:"300100":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, no version tag, serial missing)
2011-05-09 16:17:09 +00:00
x509parse_crt:"3003300100":"":POLARSSL_ERR_X509_CERT_INVALID_SERIAL + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, invalid version tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30053003a00101":"":POLARSSL_ERR_X509_CERT_INVALID_VERSION + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid version tag, no length)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30053003a00102":"":POLARSSL_ERR_X509_CERT_INVALID_VERSION + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid version tag, invalid length)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30163014a012021000000000000000000000000000000000":"":POLARSSL_ERR_X509_CERT_INVALID_VERSION + POLARSSL_ERR_ASN1_INVALID_LENGTH
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid version tag, no serial)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30073005a003020104":"":POLARSSL_ERR_X509_CERT_INVALID_SERIAL + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, invalid length version tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30083006a00402010400":"":POLARSSL_ERR_X509_CERT_INVALID_VERSION + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, incorrect serial tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30083006a00302010400":"":POLARSSL_ERR_X509_CERT_INVALID_SERIAL + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, incorrect serial length)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30083006a00302010482":"":POLARSSL_ERR_X509_CERT_INVALID_SERIAL + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, correct serial, no alg)
2011-05-09 16:17:09 +00:00
x509parse_crt:"300d300ba0030201048204deadbeef":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, correct serial, no alg oid)
2011-05-09 16:17:09 +00:00
x509parse_crt:"300e300ca0030201048204deadbeef00":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, alg oid no data in sequence)
2011-05-09 16:17:09 +00:00
x509parse_crt:"300f300da0030201048204deadbeef3000":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, alg with params)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30163014a0030201048204deadbeef30070604cafed00d01":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, correct alg data, no params unknown version)
x509parse_crt:"30153013a0030201048204deadbeef30060604cafed00d":"":POLARSSL_ERR_X509_CERT_UNKNOWN_VERSION
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, correct alg data, unknown version)
x509parse_crt:"30173015a0030201048204deadbeef30080604cafed00d0500":"":POLARSSL_ERR_X509_CERT_UNKNOWN_VERSION
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, correct alg data, length mismatch)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30183016a0030201048204deadbeef30090604cafed00d050000":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-20 21:26:07 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, correct alg, unknown alg_id)
2013-04-07 20:00:46 +00:00
x509parse_crt:"30173015a0030201028204deadbeef30080604cafed00d0500":"":POLARSSL_ERR_X509_CERT_UNKNOWN_SIG_ALG + POLARSSL_ERR_OID_NOT_FOUND
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, correct alg, specific alg_id)
2011-05-09 16:17:09 +00:00
x509parse_crt:"301c301aa0030201028204deadbeef300d06092a864886f70d0101020500":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, correct alg, unknown specific alg_id)
2013-04-07 20:00:46 +00:00
x509parse_crt:"301c301aa0030201028204deadbeef300d06092a864886f70d0101010500":"":POLARSSL_ERR_X509_CERT_UNKNOWN_SIG_ALG + POLARSSL_ERR_OID_NOT_FOUND
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer no set data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"301e301ca0030201028204deadbeef300d06092a864886f70d01010205003000":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer no inner seq data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"3020301ea0030201028204deadbeef300d06092a864886f70d010102050030023100":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer no inner set data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30223020a0030201028204deadbeef300d06092a864886f70d0101020500300431023000":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer two inner set datas)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30243022a0030201028204deadbeef300d06092a864886f70d01010205003006310430003000":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer no oid data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30243022a0030201028204deadbeef300d06092a864886f70d01010205003006310430020600":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer invalid tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"302a3028a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600060454657374":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer, no string data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30253023a0030201028204deadbeef300d06092a864886f70d0101020500300731053003060013":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 21:26:07 +00:00
2011-02-20 10:40:16 +00:00
X509 Certificate ASN1 (TBSCertificate, issuer, no full following string)
2011-05-09 16:17:09 +00:00
x509parse_crt:"302b3029a0030201028204deadbeef300d06092a864886f70d0101020500300d310b3009060013045465737400":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-20 21:26:07 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid issuer, no validity)
2011-05-09 16:17:09 +00:00
x509parse_crt:"302a3028a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374":"":POLARSSL_ERR_X509_CERT_INVALID_DATE + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, too much date data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30493047a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301d170c303930313031303030303030170c30393132333132333539353900":"":POLARSSL_ERR_X509_CERT_INVALID_DATE + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, invalid from date)
x509parse_crt:"30483046a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303000000000170c303931323331323300000000":"":POLARSSL_ERR_X509_CERT_INVALID_DATE
X509 Certificate ASN1 (TBSCertificate, invalid to date)
x509parse_crt:"30483046a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323300000000":"":POLARSSL_ERR_X509_CERT_INVALID_DATE
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid validity, no subject)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30493047a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c30393132333132333539353930":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid subject, no pubkeyinfo)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30563054a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, no alg)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30583056a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a300806001304546573743000":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 21:26:07 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, valid subject, unknown pk alg)
2011-07-13 11:32:29 +00:00
x509parse_crt:"30673065a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374300f300d06092A864886F70D0101000500":"":POLARSSL_ERR_X509_UNKNOWN_PK_ALG
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, no bitstring)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30673065a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374300f300d06092A864886F70D0101010500":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, no bitstring data)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30693067a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a300806001304546573743011300d06092A864886F70D01010105000300":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, invalid bitstring start)
x509parse_crt:"306a3068a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a300806001304546573743012300d06092A864886F70D0101010500030101":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY
X509 Certificate ASN1 (TBSCertificate, pubkey, invalid internal bitstring length)
2011-05-09 16:17:09 +00:00
x509parse_crt:"306d306ba0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a300806001304546573743015300d06092A864886F70D0101010500030400300000":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, invalid internal bitstring tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"306d306ba0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a300806001304546573743015300d06092A864886F70D0101010500030400310000":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-20 21:26:07 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, invalid mpi)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30743072a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374301c300d06092A864886F70D0101010500030b0030080202ffff0302ffff":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, total length mismatch)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30753073a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374301d300d06092A864886F70D0101010500030b0030080202ffff0202ffff00":"":POLARSSL_ERR_X509_CERT_INVALID_PUBKEY + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-20 21:26:07 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate, pubkey, check failed)
x509parse_crt:"30743072a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374301c300d06092A864886F70D0101010500030b0030080202ffff0202ffff":"":POLARSSL_ERR_RSA_KEY_CHECK_FAILED
X509 Certificate ASN1 (TBSCertificate, pubkey, check failed, expanded length notation)
x509parse_crt:"308183308180a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210fffffffffffffffffffffffffffffffe0202ffff":"":POLARSSL_ERR_RSA_KEY_CHECK_FAILED
X509 Certificate ASN1 (TBSCertificate v3, Optional UIDs, Extensions not present)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308183308180a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate v3, issuerID wrong tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308184308181a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff00":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate v3, UIDs, no ext)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308189308186a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bb":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
2009-07-20 21:26:07 +00:00
X509 Certificate ASN1 (TBSCertificate v3, UIDs, invalid length)
2011-10-12 11:53:52 +00:00
x509parse_crt:"308189308186a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa185aaa201bb":"":POLARSSL_ERR_ASN1_INVALID_LENGTH
2009-07-20 21:26:07 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext empty)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30818b308188a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba300":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext length mismatch)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30818e30818ba0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba303300000":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (TBSCertificate v3, first ext invalid)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30818f30818ca0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba30330023000":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
2009-07-27 20:22:10 +00:00
X509 Certificate ASN1 (TBSCertificate v3, first ext invalid tag)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30819030818da0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba3043002310000":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-27 20:22:10 +00:00
2009-07-27 21:34:45 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, bool len missing)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308198308195a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba30c300a30060603551d1301010100":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-27 21:34:45 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, data missing)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308198308195a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba30c300a30080603551d1301010100":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-27 21:34:45 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, no octet present)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308198308195a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba30d300b30090603551d1301010100":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-27 20:22:10 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, octet data missing)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30819c308199a0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba311300f300d0603551d130101010403300100":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-27 20:22:10 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, no pathlen)
2011-05-09 16:17:09 +00:00
x509parse_crt:"30819f30819ca0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba314301230100603551d130101010406300402010102":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-27 20:22:10 +00:00
X509 Certificate ASN1 (TBSCertificate v3, ext BasicContraint tag, octet len mismatch)
2011-05-09 16:17:09 +00:00
x509parse_crt:"3081a230819fa0030201028204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffffa101aaa201bba317301530130603551d130101010409300702010102010100":"":POLARSSL_ERR_X509_CERT_INVALID_EXTENSIONS + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-27 20:22:10 +00:00
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (correct pubkey, no sig_alg)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308183308180a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (sig_alg mismatch)
x509parse_crt:"308192308180a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0102020500":"":POLARSSL_ERR_X509_CERT_SIG_MISMATCH
X509 Certificate ASN1 (sig_alg, no sig)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308192308180a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500":"":POLARSSL_ERR_X509_CERT_INVALID_SIGNATURE + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (signature, invalid sig data)
x509parse_crt:"308195308180a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030100":"":POLARSSL_ERR_X509_CERT_INVALID_SIGNATURE
X509 Certificate ASN1 (signature, data left)
2011-05-09 16:17:09 +00:00
x509parse_crt:"308197308180a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff00":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-19 19:36:15 +00:00
X509 Certificate ASN1 (correct)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308196308180a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: ?\?=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 19:36:15 +00:00
2010-02-18 21:26:15 +00:00
X509 Certificate ASN1 (GeneralizedTime instead of UTCTime)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308198308182a0030201008204deadbeef300d06092a864886f70d0101020500300c310a30080600130454657374301e180e3230313030313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: ?\?=Test\nsubject name \: ?\?=Test\nissued on \: 2010-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2010-02-18 21:26:15 +00:00
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with X520 CN)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b0603550403130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: CN=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with X520 C)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b0603550406130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: C=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with X520 L)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b0603550407130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: L=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with X520 ST)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b0603550408130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: ST=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with X520 O)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b060355040a130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: O=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with X520 OU)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b060355040b130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: OU=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with unknown X520 part)
2013-04-07 20:00:46 +00:00
x509parse_crt:"308199308183a0030201008204deadbeef300d06092a864886f70d0101020500300f310d300b06035504de130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: ?\?=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with PKCS9 email)
2013-04-07 20:00:46 +00:00
x509parse_crt:"30819f308189a0030201008204deadbeef300d06092a864886f70d010102050030153113301106092a864886f70d010901130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: emailAddress=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
X509 Certificate ASN1 (Name with unknown PKCS9 part)
2013-04-07 20:00:46 +00:00
x509parse_crt:"30819f308189a0030201008204deadbeef300d06092a864886f70d010102050030153113301106092a864886f70d0109ab130454657374301c170c303930313031303030303030170c303931323331323335393539300c310a30080600130454657374302a300d06092A864886F70D010101050003190030160210ffffffffffffffffffffffffffffffff0202ffff300d06092a864886f70d0101020500030200ff":"cert. version \: 1\nserial number \: DE\:AD\:BE\:EF\nissuer name \: ?\?=Test\nsubject name \: ?\?=Test\nissued on \: 2009-01-01 00\:00\:00\nexpires on \: 2009-12-31 23\:59\:59\nsigned using \: RSA with MD2\nRSA key size \: 128 bits\n":0
2009-07-19 20:30:14 +00:00
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (Incorrect first tag)
x509parse_crl:"":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT
X509 CRL ASN1 (Correct first tag, data length does not match)
2011-05-09 16:17:09 +00:00
x509parse_crl:"300000":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, tag missing)
2011-05-09 16:17:09 +00:00
x509parse_crl:"3000":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, version tag len missing)
2011-10-12 11:53:52 +00:00
x509parse_crl:"3003300102":"":POLARSSL_ERR_X509_CERT_INVALID_VERSION + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, version correct, alg missing)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30053003020100":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, alg correct, incorrect version)
2011-10-12 11:53:52 +00:00
x509parse_crl:"300b3009020102300406000500":"":POLARSSL_ERR_X509_CERT_UNKNOWN_VERSION
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, correct version, sig_oid1 unknown)
2011-10-12 11:53:52 +00:00
x509parse_crl:"300b3009020100300406000500":"":POLARSSL_ERR_X509_CERT_UNKNOWN_SIG_ALG
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, sig_oid1 id unknown)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30143012020100300d06092a864886f70d01010f0500":"":POLARSSL_ERR_X509_CERT_UNKNOWN_SIG_ALG
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, sig_oid1 correct, issuer missing)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30143012020100300d06092a864886f70d01010e0500":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, issuer set missing)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30163014020100300d06092a864886f70d01010e05003000":"":POLARSSL_ERR_X509_CERT_INVALID_NAME + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, correct issuer, thisUpdate missing)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30253023020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344":"":POLARSSL_ERR_X509_CERT_INVALID_DATE + POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, correct thisUpdate, nextUpdate missing, entries length missing)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30343032020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c30393031303130303030303030":"":POLARSSL_ERR_ASN1_OUT_OF_DATA
2009-07-27 20:22:10 +00:00
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, entries present, invalid sig_alg)
2011-10-12 11:53:52 +00:00
x509parse_crl:"304a3047020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c303930313031303030303030301430128202abcd170c30383132333132333539353900":"":POLARSSL_ERR_X509_CERT_INVALID_ALG + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, entries present, date in entry invalid)
2011-10-12 11:53:52 +00:00
x509parse_crl:"304a3047020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c303930313031303030303030301430128202abcd190c30383132333132333539353900":"":POLARSSL_ERR_X509_CERT_INVALID_DATE + POLARSSL_ERR_ASN1_UNEXPECTED_TAG
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, sig_alg present, sig_alg does not match)
2011-10-12 11:53:52 +00:00
x509parse_crl:"30583047020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c303930313031303030303030301430128202abcd170c303831323331323335393539300d06092a864886f70d01010d0500":"":POLARSSL_ERR_X509_CERT_SIG_MISMATCH
2009-07-20 20:35:41 +00:00
2009-07-27 20:22:10 +00:00
X509 CRL ASN1 (TBSCertList, sig present, len mismatch)
2011-10-12 11:53:52 +00:00
x509parse_crl:"305d3047020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c303930313031303030303030301430128202abcd170c303831323331323335393539300d06092a864886f70d01010e05000302000100":"":POLARSSL_ERR_X509_CERT_INVALID_FORMAT + POLARSSL_ERR_ASN1_LENGTH_MISMATCH
2009-07-20 20:35:41 +00:00
X509 CRL ASN1 (TBSCertList, sig present)
2013-04-07 20:00:46 +00:00
x509parse_crl:"305c3047020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c303930313031303030303030301430128202abcd170c303831323331323335393539300d06092a864886f70d01010e050003020001":"CRL version \: 1\nissuer name \: CN=ABCD\nthis update \: 2009-01-01 00\:00\:00\nnext update \: 0000-00-00 00\:00\:00\nRevoked certificates\:\nserial number\: AB\:CD revocation date\: 2008-12-31 23\:59\:59\nsigned using \: RSA with SHA-224\n":0
2009-07-20 20:35:41 +00:00
2009-07-27 20:22:10 +00:00
X509 CRL ASN1 (TBSCertList, no entries)
2013-04-07 20:00:46 +00:00
x509parse_crl:"30463031020100300d06092a864886f70d01010e0500300f310d300b0603550403130441424344170c303930313031303030303030300d06092a864886f70d01010e050003020001":"CRL version \: 1\nissuer name \: CN=ABCD\nthis update \: 2009-01-01 00\:00\:00\nnext update \: 0000-00-00 00\:00\:00\nRevoked certificates\:\nsigned using \: RSA with SHA-224\n":0
2009-07-27 20:22:10 +00:00
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (Incorrect first tag)
2013-06-24 17:00:59 +00:00
x509parse_key:"":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (RSAPrivateKey, incorrect version tag)
2013-06-24 17:00:59 +00:00
x509parse_key:"300100":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (RSAPrivateKey, version tag missing)
2013-06-24 17:00:59 +00:00
x509parse_key:"3000":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (RSAPrivateKey, invalid version)
2013-06-24 17:00:59 +00:00
x509parse_key:"3003020101":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (RSAPrivateKey, correct version, incorrect tag)
2013-06-24 17:00:59 +00:00
x509parse_key:"300402010000":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (RSAPrivateKey, values present, length mismatch)
2013-06-24 17:00:59 +00:00
x509parse_key:"301c02010002010102010102010102010102010102010102010102010100":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT
2009-07-20 20:35:41 +00:00
X509 Key ASN1 (RSAPrivateKey, values present, check_privkey fails)
2013-06-24 17:00:59 +00:00
x509parse_key:"301b020100020101020101020101020101020101020101020101020101":"":POLARSSL_ERR_X509_KEY_INVALID_FORMAT