21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

"\xb3\x9c\x25\xb1\xc3\x2e\x32\x53\x80\x15\x30\x9d\x4d\x02\x77\x3e", 16,<br />

"http://crl.verisign.com/pca2.1.1.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Class 2 Public PCA G2 (2018-05-18)",<br />

"\x74\xa8\x2c\x81\x43\x2b\x35\x60\x9b\x78\x05\x6b\x58\xf3\x65\x82", 16,<br />

"http://crl.verisign.com/pca2-g2.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Class 2 Public PCA G2 (2028-08-01)",<br />

"\x2d\xbb\xe5\x25\xd3\xd1\x65\x82\x3a\xb7\x0e\xfa\xe6\xeb\xe2\xe1", 16,<br />

"http://crl.verisign.com/pca2-g2.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Class 3 Public PCA (2004-01-07)",<br />

"\x78\x2a\x02\xdf\xdb\x2e\x14\xd5\xa7\x5f\x0a\xdf\xb6\x8e\x9c\x5d", 16,<br />

"http://crl.verisign.com/pca3.1.1.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Class 3 Public PCA (2028-08-01)",<br />

"\x10\xfc\x63\x5d\xf6\x26\x3e\x0d\xf3\x25\xbe\x5f\x79\xcd\x67\x67", 16,<br />

"http://crl.verisign.com/pca3.1.1.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Class 3 Public PCA G2 (2018-05-18)",<br />

"\xc4\x63\xab\x44\x20\x1c\x36\xe4\x37\xc0\x5f\x27\x9d\x0f\x6f\x6e", 16,<br />

"http://crl.verisign.com/pca3-g2.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Class 3 Public PCA G2 (2028-08-01)",<br />

"\xa2\x33\x9b\x4c\x74\x78\x73\xd4\x6c\xe7\xc1\xf3\x8d\xcb\x5c\xe9", 16,<br />

"http://crl.verisign.com/pca3-g2.crl", "http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Commercial Software Publishers CA",<br />

"\xdd\x75\x3f\x56\xbf\xbb\xc5\xa1\x7a\x15\x53\xc6\x90\xf9\xfb\xcc", 16,<br />

"http://crl.verisign.com/Class3SoftwarePublishers.crl",<br />

"http://ocsp.verisign.com/",<br />

},<br />

{ "VeriSign Individual Software Publishers CA",<br />

"\x71\x1f\x0e\x21\xe7\xaa\xea\x32\x3a\x66\x23\xd3\xab\x50\xd6\x69", 16,<br />

"http://crl.verisign.com/Class2SoftwarePublishers.crl",<br />

"http://ocsp.verisign.com/",<br />

},<br />

{ 0, 0, 0, 0, 0 },<br />

};<br />

spc_cacert_t *spc_lookup_cacert(X509 *cert) {<br />

spc_cacert_t *entry;<br />

unsigned int fingerprint_length;<br />

unsigned char fingerprint[EVP_MAX_MD_SIZE];<br />

fingerprint_length = EVP_MAX_MD_SIZE;<br />

if (!X509_digest(cert, EVP_md5( ), fingerprint, &fingerprint_length)) return 0;<br />

for (entry = lookup_table; entry->name; entry++) {<br />

if (entry->fingerprint_length != fingerprint_length) continue;<br />

if (!memcmp(entry->fingerprint, fingerprint, fingerprint_length)) return entry;<br />

}<br />

return 0;<br />

}<br />

Obtaining Certificate Revocation Lists with OpenSSL | 551<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!