]>
git.saurik.com Git - apple/security.git/blob - libsecurity_keychain/libDER/libDERUtils/printFields.h
1 /* Copyright (c) 2005-2007 Apple Inc. All Rights Reserved. */
4 * printFeilds.h - print various DER objects
6 * Created Nov. 9 2005 by dmitch
9 #ifndef _PRINT_FIELDS_H_
10 #define _PRINT_FIELDS_H_
12 #include <libDER/libDER.h>
21 void printHex(DERItem
*item
);
22 void printBitString(DERItem
*item
);
23 void printString(DERItem
*item
);
24 void printHeader(const char *label
);
27 IT_Leaf
, // leaf; always print contents
28 IT_Branch
// branch; print contents iff verbose
35 DERTag tag
, // maybe from decoding, maybe the real tag underlying
36 // an implicitly tagged item
37 DERItem
*item
); // content
40 const DERItem
*content
,
42 void printSubjPubKeyInfo(
43 const DERItem
*content
,
46 /* decode one item and print it */
57 #endif /* _PRINT_FIELDS_H_ */