FakeLogHook
Fake implementation of LogHook for testing.
Stores the last values passed to each logging method. A new instance should be created for each test.
Properties
Functions
Logs the serial numbers of the intermediate certificates in the certificate chain. Called if verify reaches the point where the certificate chain is parsed.
Logs an info level message. May be called throughout the verification process.
Logs the certificate chain which is being verified. Called for each call to verify.
Logs the key description of the leaf certificate. Called if verify reaches the point where the key description is parsed.
Logs the provisioning info map extension of the attestation certificate. Called if verify reaches the point where the provisioning info map is parsed, if present in the attestation certificate.
Logs the result of the verification. Called for each call to verify.