mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
X.509: expose the signature type inside the tbs certificate
This change exposes the signature tyope inside the signed portion of an X.509 certificate. In the past, we only exposed the signature type that is contained inside the signature, which is outside the signed portion of the X.509 certificate. In theory, both signature fields should have the same value; it is, however, possible to encode differing values in both fields. The new field is not logged by default.
This commit is contained in:
parent
097771229c
commit
989e9c29d2
9 changed files with 183 additions and 150 deletions
|
@ -4394,6 +4394,7 @@ export {
|
|||
key_length: count &optional &log; ##< Key length in bits
|
||||
exponent: string &optional &log; ##< Exponent, if RSA-certificate
|
||||
curve: string &optional &log; ##< Curve, if EC-certificate
|
||||
tbs_sig_alg: string; ##< Name of the signature algorithm given inside the tbsCertificate. Should be equivalent to `sig_alg`.
|
||||
};
|
||||
|
||||
type Extension: record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue