]>
Commit | Line | Data |
---|---|---|
d8f41ccd A |
1 | #ifndef _PRINT_CERT_NAME_H_ |
2 | #define _PRINT_CERT_NAME_H_ | |
3 | ||
4 | #ifdef __cplusplus | |
5 | extern "C" { | |
6 | #endif | |
7 | ||
8 | /* | |
9 | * Print subject and/or issuer of a cert. | |
10 | */ | |
11 | typedef enum { | |
12 | NameBoth = 0, | |
13 | NameSubject, | |
14 | NameIssuer | |
15 | } WhichName; | |
16 | ||
17 | extern 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 |