107 lines
5.6 KiB
C
107 lines
5.6 KiB
C
/**
|
|
* @file 1024_RSA.h
|
|
* @version $Format:%h%d$
|
|
*
|
|
* Auto generated from PEM file.
|
|
*/
|
|
/*
|
|
Auto generated X.509 certificate as binary DER.
|
|
Certificate:
|
|
Data:
|
|
Version: 3
|
|
Serial Number:
|
|
31:32:33:34:35
|
|
Issuer: CN=Sample Matrix RSA-1024 Certificate Authority, C=US, ST=WA, L=Seattle, O=INSIDE Secure Corporation, OU=Test
|
|
Validity:
|
|
Not Before: 2014/03/24
|
|
Not After : 2017/03/23
|
|
Subject: CN=Sample Matrix RSA-1024 Certificate, C=US, ST=WA, L=Seattle, O=INSIDE Secure Corporation, OU=Test
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (1024 bit)
|
|
Modulus:
|
|
ab:4a:fb:85:cb:17:ce:79:81:53:6a:80:3e:28:08:87:
|
|
08:0a:88:53:bd:23:97:22:11:8e:52:d9:fc:b5:99:6e:
|
|
5d:5c:a4:4d:f4:70:a2:88:61:c5:aa:63:e6:9a:f7:f4:
|
|
8c:04:a6:bb:76:83:aa:41:c2:26:94:cd:9d:55:00:7f:
|
|
e1:ff:fb:bd:85:77:b4:69:18:7e:a9:48:a3:21:27:4f:
|
|
7a:9d:32:c3:b6:9b:39:68:b8:76:10:ba:84:86:d1:ec:
|
|
01:cc:ca:1f:c1:4a:5a:b9:20:99:8d:39:f3:ae:5d:11:
|
|
7c:23:27:52:95:52:5c:89:00:8a:89:ea:d0:c2:45:7f
|
|
Exponent: 65537
|
|
X509v3 extensions (critical: 0x1000):
|
|
X509v3 Subject Alternative Name: DNS
|
|
localhost
|
|
X509v3 Subject Alternative Name: iPAddress
|
|
127.0.0.1
|
|
X509v3 Basic Constraints:
|
|
CA:FALSE
|
|
X509v3 Key Usage: 0x0
|
|
X509v3 Extended Key Usage: 0x6
|
|
TLS WWW server authentication
|
|
TLS WWW client authentication
|
|
X509v3 Authority Key Identifier:
|
|
f7:24:88:83:93:89:4d:d9:03:55:c1:38:27:17:40:e5:
|
|
ec:e1:d4:b0
|
|
Signature Algorithm: sha256WithRSAEncryption
|
|
1b:f2:ef:53:00:62:af:0e:66:03:39:5d:82:67:61:51:
|
|
3b:51:c1:e5:8a:8e:91:8e:10:a6:54:5b:26:de:02:19:
|
|
d6:b0:05:e4:a7:7a:52:b0:74:a1:2d:57:4e:16:b9:ff:
|
|
9e:2a:ce:54:bf:c5:fa:9f:9d:8f:4c:af:1b:36:a3:02:
|
|
58:d8:94:e8:ce:bc:4b:83:e6:77:34:88:46:e9:e9:8a:
|
|
92:a7:dc:8c:2f:67:0b:d5:ae:93:25:53:63:07:21:f0:
|
|
4a:23:96:85:14:93:03:a6:9c:60:e8:58:27:61:bb:b9:
|
|
6b:2d:90:d3:99:19:09:db:b4:cd:d8:44:89:22:de:67
|
|
*/
|
|
#define RSA1024_SIZE 771
|
|
const static unsigned char RSA1024[RSA1024_SIZE] =
|
|
"\x30\x82\x02\xff\x30\x82\x02\x68\xa0\x03\x02\x01\x02\x02\x05\x31"
|
|
"\x32\x33\x34\x35\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01"
|
|
"\x0b\x05\x00\x30\x81\x96\x31\x35\x30\x33\x06\x03\x55\x04\x03\x0c"
|
|
"\x2c\x53\x61\x6d\x70\x6c\x65\x20\x4d\x61\x74\x72\x69\x78\x20\x52"
|
|
"\x53\x41\x2d\x31\x30\x32\x34\x20\x43\x65\x72\x74\x69\x66\x69\x63"
|
|
"\x61\x74\x65\x20\x41\x75\x74\x68\x6f\x72\x69\x74\x79\x31\x0b\x30"
|
|
"\x09\x06\x03\x55\x04\x06\x0c\x02\x55\x53\x31\x0b\x30\x09\x06\x03"
|
|
"\x55\x04\x08\x0c\x02\x57\x41\x31\x10\x30\x0e\x06\x03\x55\x04\x07"
|
|
"\x0c\x07\x53\x65\x61\x74\x74\x6c\x65\x31\x22\x30\x20\x06\x03\x55"
|
|
"\x04\x0a\x0c\x19\x49\x4e\x53\x49\x44\x45\x20\x53\x65\x63\x75\x72"
|
|
"\x65\x20\x43\x6f\x72\x70\x6f\x72\x61\x74\x69\x6f\x6e\x31\x0d\x30"
|
|
"\x0b\x06\x03\x55\x04\x0b\x0c\x04\x54\x65\x73\x74\x30\x1e\x17\x0d"
|
|
"\x31\x34\x30\x33\x32\x34\x31\x36\x33\x36\x34\x33\x5a\x17\x0d\x31"
|
|
"\x37\x30\x33\x32\x33\x31\x36\x33\x36\x34\x33\x5a\x30\x81\x8c\x31"
|
|
"\x2b\x30\x29\x06\x03\x55\x04\x03\x0c\x22\x53\x61\x6d\x70\x6c\x65"
|
|
"\x20\x4d\x61\x74\x72\x69\x78\x20\x52\x53\x41\x2d\x31\x30\x32\x34"
|
|
"\x20\x43\x65\x72\x74\x69\x66\x69\x63\x61\x74\x65\x31\x0b\x30\x09"
|
|
"\x06\x03\x55\x04\x06\x0c\x02\x55\x53\x31\x0b\x30\x09\x06\x03\x55"
|
|
"\x04\x08\x0c\x02\x57\x41\x31\x10\x30\x0e\x06\x03\x55\x04\x07\x0c"
|
|
"\x07\x53\x65\x61\x74\x74\x6c\x65\x31\x22\x30\x20\x06\x03\x55\x04"
|
|
"\x0a\x0c\x19\x49\x4e\x53\x49\x44\x45\x20\x53\x65\x63\x75\x72\x65"
|
|
"\x20\x43\x6f\x72\x70\x6f\x72\x61\x74\x69\x6f\x6e\x31\x0d\x30\x0b"
|
|
"\x06\x03\x55\x04\x0b\x0c\x04\x54\x65\x73\x74\x30\x81\x9f\x30\x0d"
|
|
"\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x01\x05\x00\x03\x81\x8d"
|
|
"\x00\x30\x81\x89\x02\x81\x81\x00\xab\x4a\xfb\x85\xcb\x17\xce\x79"
|
|
"\x81\x53\x6a\x80\x3e\x28\x08\x87\x08\x0a\x88\x53\xbd\x23\x97\x22"
|
|
"\x11\x8e\x52\xd9\xfc\xb5\x99\x6e\x5d\x5c\xa4\x4d\xf4\x70\xa2\x88"
|
|
"\x61\xc5\xaa\x63\xe6\x9a\xf7\xf4\x8c\x04\xa6\xbb\x76\x83\xaa\x41"
|
|
"\xc2\x26\x94\xcd\x9d\x55\x00\x7f\xe1\xff\xfb\xbd\x85\x77\xb4\x69"
|
|
"\x18\x7e\xa9\x48\xa3\x21\x27\x4f\x7a\x9d\x32\xc3\xb6\x9b\x39\x68"
|
|
"\xb8\x76\x10\xba\x84\x86\xd1\xec\x01\xcc\xca\x1f\xc1\x4a\x5a\xb9"
|
|
"\x20\x99\x8d\x39\xf3\xae\x5d\x11\x7c\x23\x27\x52\x95\x52\x5c\x89"
|
|
"\x00\x8a\x89\xea\xd0\xc2\x45\x7f\x02\x03\x01\x00\x01\xa3\x61\x30"
|
|
"\x5f\x30\x1f\x06\x03\x55\x1d\x23\x04\x18\x30\x16\x80\x14\xf7\x24"
|
|
"\x88\x83\x93\x89\x4d\xd9\x03\x55\xc1\x38\x27\x17\x40\xe5\xec\xe1"
|
|
"\xd4\xb0\x30\x1a\x06\x03\x55\x1d\x11\x04\x13\x30\x11\x82\x09\x6c"
|
|
"\x6f\x63\x61\x6c\x68\x6f\x73\x74\x87\x04\x7f\x00\x00\x01\x30\x20"
|
|
"\x06\x03\x55\x1d\x25\x01\x01\xff\x04\x16\x30\x14\x06\x08\x2b\x06"
|
|
"\x01\x05\x05\x07\x03\x01\x06\x08\x2b\x06\x01\x05\x05\x07\x03\x02"
|
|
"\x30\x0d\x06\x09\x2a\x86\x48\x86\xf7\x0d\x01\x01\x0b\x05\x00\x03"
|
|
"\x81\x81\x00\x1b\xf2\xef\x53\x00\x62\xaf\x0e\x66\x03\x39\x5d\x82"
|
|
"\x67\x61\x51\x3b\x51\xc1\xe5\x8a\x8e\x91\x8e\x10\xa6\x54\x5b\x26"
|
|
"\xde\x02\x19\xd6\xb0\x05\xe4\xa7\x7a\x52\xb0\x74\xa1\x2d\x57\x4e"
|
|
"\x16\xb9\xff\x9e\x2a\xce\x54\xbf\xc5\xfa\x9f\x9d\x8f\x4c\xaf\x1b"
|
|
"\x36\xa3\x02\x58\xd8\x94\xe8\xce\xbc\x4b\x83\xe6\x77\x34\x88\x46"
|
|
"\xe9\xe9\x8a\x92\xa7\xdc\x8c\x2f\x67\x0b\xd5\xae\x93\x25\x53\x63"
|
|
"\x07\x21\xf0\x4a\x23\x96\x85\x14\x93\x03\xa6\x9c\x60\xe8\x58\x27"
|
|
"\x61\xbb\xb9\x6b\x2d\x90\xd3\x99\x19\x09\xdb\xb4\xcd\xd8\x44\x89"
|
|
"\x22\xde\x67";
|