]> git.saurik.com Git - apple/security.git/blame - SecurityTests/clxutils/clAppUtils/printCertName.h
Security-57740.31.2.tar.gz
[apple/security.git] / SecurityTests / clxutils / clAppUtils / printCertName.h
CommitLineData
d8f41ccd
A
1#ifndef _PRINT_CERT_NAME_H_
2#define _PRINT_CERT_NAME_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9 * Print subject and/or issuer of a cert.
10 */
11typedef enum {
12 NameBoth = 0,
13 NameSubject,
14 NameIssuer
15} WhichName;
16
17extern void printCertName(
18 const unsigned char *cert,
19 unsigned certLen,
20 WhichName whichName);
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif /* _PRINT_CERT_NAME_H_ */
27