validate Method
Validates the certificate.
Syntax
def validate() -> int: ...
Remarks
Use this method to validate the certificate contained in certificate. If the certificate being validated is not self-signed, please provide the CA certificate via ca_certificate property.
svtValid | 0 | The signature is valid |
svtUnknown | 1 | Signature validity is unknown |
svtCorrupted | 2 | The signature is corrupted |
svtSignerNotFound | 3 | Failed to acquire the signing certificate. The signature cannot be validated. |
svtFailure | 4 | General failure |