mirror of https://github.com/MISP/misp-modules
add test to check
parent
32aeb52efc
commit
86beb488c1
|
@ -82,7 +82,10 @@ class OnypheClient:
|
|||
object_certificate.add_attribute('signature_algorithm', value)
|
||||
|
||||
object_certificate.add_attribute('pubkey-info-algorithm',r['publickey']['algorithm'])
|
||||
|
||||
if 'exponent' in r['publickey']:
|
||||
object_certificate.add_attribute('pubkey-info-exponent',r['publickey']['exponent'])
|
||||
if 'length' in r['publickey']:
|
||||
object_certificate.add_attribute('pubkey-info-size',r['publickey']['length'])
|
||||
|
||||
object_certificate.add_attribute('issuer',r['issuer']['commonname'])
|
||||
|
|
Loading…
Reference in New Issue