1/* 2 * crlNetwork.h - Network support for crlTool 3 */ 4 5#ifndef _CRL_NETWORK_H_ 6#define _CRL_NETWORK_H_ 7 8#include <Security/cssmtype.h> 9 10#ifdef __cplusplus 11extern "C" { 12#endif 13 14/* Fetch cert or CRL from net, we figure out the schema */ 15 16typedef enum { 17 LT_Crl = 1, 18 LT_Cert 19} LF_Type; 20 21CSSM_RETURN crlNetFetch( 22 const CSSM_DATA *url, 23 LF_Type lfType, 24 CSSM_DATA *fetched); // mallocd and RETURNED 25 26#ifdef __cplusplus 27} 28#endif 29 30#endif /* _CRL_NETWORK_H_ */ 31