Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
594 B

#ifndef _CERT_
#define _CERT_
#ifdef __cplusplus
extern "C" {
#endif
/*Stuff---------------------------------------------------------------------*/
/*
Checks and validates a X509 Certificate
Returns TRUE if valid.
*/
typedef struct tagCertParsed{
char *szSerialNumber;
char *szHashAlg;
int nIssuer;
char **pszIssuer;
int nSubject;
char **pszSubject;
WORD wDateStart;
WORD wDateEnd;
} CertParsed, *PCertParsed;
void __stdcall CertFree (PCertParsed pcp);
int __stdcall CertParse(PCertParsed pcp, unsigned char *pCert, int nCert);
#ifdef __cplusplus
}
#endif
#endif
// _CERT_