mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
parse out extension. One event for general extensions (just returns the
openssl-parsed string-value), one event for basicconstraints (is a certificate a CA or not) and one event for subject-alternative-names (only DNS parts).
This commit is contained in:
parent
e5a589dbfe
commit
df552ca87d
9 changed files with 202 additions and 33 deletions
|
@ -12,3 +12,18 @@ event x509_cert(f: fa_file, cert: X509::Certificate)
|
|||
print cert;
|
||||
}
|
||||
|
||||
event x509_extension(f: fa_file, ext: X509::Extension)
|
||||
{
|
||||
print ext;
|
||||
}
|
||||
|
||||
event x509_ext_basic_constraints(f: fa_file, ext: X509::BasicConstraints)
|
||||
{
|
||||
print ext;
|
||||
}
|
||||
|
||||
event x509_ext_subject_alternative_name(f: fa_file, ext: X509::SubjectAlternativeName)
|
||||
{
|
||||
print ext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue