mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Second try on the event interface.
Now the x509 opaque is wrapped in the certificate structure. After pondering on it for a bit, this might not be the brightest idea.
This commit is contained in:
parent
1735e33691
commit
7ba6bcff2c
7 changed files with 40 additions and 62 deletions
|
@ -31,10 +31,10 @@ private:
|
|||
static StringVal* key_curve(EVP_PKEY *key);
|
||||
static unsigned int key_length(EVP_PKEY *key);
|
||||
|
||||
void ParseCertificate(::X509* ssl_cert);
|
||||
void ParseExtension(X509_EXTENSION* ex);
|
||||
void ParseBasicConstraints(X509_EXTENSION* ex);
|
||||
void ParseSAN(X509_EXTENSION* ex);
|
||||
RecordVal* ParseCertificate(::X509* ssl_cert);
|
||||
void ParseExtension(X509_EXTENSION* ex, RecordVal* r);
|
||||
void ParseBasicConstraints(X509_EXTENSION* ex, RecordVal* r);
|
||||
void ParseSAN(X509_EXTENSION* ex, RecordVal* r);
|
||||
|
||||
std::string cert_data;
|
||||
};
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
*
|
||||
* @return A newly initialized X509Val
|
||||
*/
|
||||
X509Val(::X509* certificate);
|
||||
explicit X509Val(::X509* certificate);
|
||||
|
||||
/**
|
||||
* Destructor.
|
||||
|
@ -84,5 +84,4 @@ private:
|
|||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue