SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_timestamp_validated Event

Reports the completion of the timestamp validation routine.

Syntax

class AuthenticodeVerifierTimestampValidatedEventParams(object):
  @property
  def issuer_rdn() -> str: ...
  @property
  def serial_number() -> bytes: ...
  @property
  def subject_key_id() -> bytes: ...
  @property
  def time() -> str: ...
  @property
  def validation_result() -> int: ...
  @property
  def chain_validation_result() -> int: ...
  @property
  def chain_validation_details() -> int: ...

# In class AuthenticodeVerifier:
@property
def on_timestamp_validated() -> Callable[[AuthenticodeVerifierTimestampValidatedEventParams], None]: ...
@on_timestamp_validated.setter
def on_timestamp_validated(event_hook: Callable[[AuthenticodeVerifierTimestampValidatedEventParams], None]) -> None: ...

Remarks

This event is fired upon the completion of the timestamp validation routine, and reports the respective validation result.

ValidationResult is set to 0 if the validation has been successful, or to a non-zero value in case of a failure.

svtValid0The signature is valid

svtUnknown1Signature validity is unknown

svtCorrupted2The signature is corrupted

svtSignerNotFound3Failed to acquire the signing certificate. The signature cannot be validated.

svtFailure4General failure

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]