]> git.saurik.com Git - apple/security.git/blob - CertTool/cdsaUtils/printCert.h
Security-54.tar.gz
[apple/security.git] / CertTool / cdsaUtils / printCert.h
1 /*
2 * parseCert.h - text-based cert parser using CL
3 */
4
5 #ifndef _PARSE_CERT_H_
6 #define _PARSE_CERT_H_
7
8 #include <Security/cssmtype.h>
9 #include "oidParser.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 /* print one field */
16 void printCertField(
17 const CSSM_FIELD &field,
18 OidParser &parser,
19 CSSM_BOOL verbose);
20
21 int printCert(
22 const unsigned char *certData,
23 unsigned certLen,
24 CSSM_BOOL verbose);
25
26 void printCertShutdown();
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif /* _PARSE_CERT_H_ */