1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* SSL_Certificate.h
*
* Created on: 2013-5-8
* Author: lis
*/
#ifndef SSL_CERTIFICATE_H_
#define SSL_CERTIFICATE_H_
#define CERT_TYPE_MAXNUM 16
//#define SCT_OID 1.3.6.1.4.1.11129.2.4.2
#define SCT_OID 1
#ifdef __cplusplus
extern "C" {
#endif
char *fn_pcGetElemType(unsigned char *pucId, int iIdLen, stSerialString_t *pastElemTypes);
UCHAR fn_pGetSSLInfo(char *pcCert, int iLen, ssl_stream *a_ssl_stream, struct streaminfo *a_tcp,
unsigned long long region_flag, int thread_seq, void *a_packet);
UCHAR ssl_AnalyseCertificate(char *pcSslCertificateData, int iDataLen, ssl_stream *a_ssl_stream, struct streaminfo* a_tcp,
unsigned long long region_flag, int thread_seq, void* a_packet);
UCHAR ssl_Certificate(char *pcSslCertificateData, int iDataLen, ssl_stream *a_ssl_stream, struct streaminfo* a_tcp,
unsigned long long region_flag, int thread_seq, void* a_packet);
#ifdef __cplusplus
}
#endif
#endif /* SSL_CERTIFICATE_H_ */
|