Foxit PDF SDK
fsdk.SignatureVerifyResult Class Reference

Public Member Functions

def GetCertificateVerifyResults ()
 Get certificate verify results.
More...
 
def GetLTVState ()
 Get LTV state that indicates if a signature is a LTV signature.
More...
 
def GetOCSPSigantureVerifyResults ()
 Get signature verify results for OCSP signature of each certificate.
More...
 
def GetSignatureCheckTime ()
 Get the time that is actually used to check signature.
More...
 
def GetSignatureCheckTimeType ()
 Get the type of the time that is actually used to check siganture.
More...
 
def GetSignatureHashValue ()
 Get signature hash value.
More...
 
def GetSignatureName ()
 Get signature name.
More...
 
def GetSignatureState ()
 Get signature state.
More...
 
def GetTSTSignatureVerifyResult ()
 Get the verify result of time stamp token of this signature.
More...
 
def IsEmpty ()
 Check whether current object is empty or not.
More...
 

Detailed Description

This class represents signature verify result.

Member Function Documentation

◆ GetCertificateVerifyResults()

def fsdk.SignatureVerifyResult.GetCertificateVerifyResults ( )

Get certificate verify results.

Returns
An array of certificate verify results.

◆ GetLTVState()

def fsdk.SignatureVerifyResult.GetLTVState ( )

Get LTV state that indicates if a signature is a LTV signature.

Returns
LTV state.

◆ GetOCSPSigantureVerifyResults()

def fsdk.SignatureVerifyResult.GetOCSPSigantureVerifyResults ( )

Get signature verify results for OCSP signature of each certificate.

Returns
An array of signature verify results.

◆ GetSignatureCheckTime()

def fsdk.SignatureVerifyResult.GetSignatureCheckTime ( )

Get the time that is actually used to check signature.

Returns
The time that is actually used to check signature. utc_hour_offset and utc_minite_offset of this time would be ignored.

◆ GetSignatureCheckTimeType()

def fsdk.SignatureVerifyResult.GetSignatureCheckTimeType ( )

Get the type of the time that is actually used to check siganture.

Returns
Time type. Please refer to values starting from fsdk.LTVVerifierE_SignatureCreationTime and this would be one of these values

◆ GetSignatureHashValue()

def fsdk.SignatureVerifyResult.GetSignatureHashValue ( )

Get signature hash value.

Returns
Signature hash value.

◆ GetSignatureName()

def fsdk.SignatureVerifyResult.GetSignatureName ( )

Get signature name.

Returns
Signature name.

◆ GetSignatureState()

def fsdk.SignatureVerifyResult.GetSignatureState ( )

Get signature state.

Returns
Signature state. Please refer to values starting from fsdk.SignatureE_StateUnknown and this would be one or combination of them.

◆ GetTSTSignatureVerifyResult()

def fsdk.SignatureVerifyResult.GetTSTSignatureVerifyResult ( )

Get the verify result of time stamp token of this signature.

Returns
Verify result of time stamp token of the signature. If the signature does not have any time stamp token, returned object would be an empty object which can be checked by function fsdk.SignatureVerifyResult.IsEmpty .

◆ IsEmpty()

def fsdk.SignatureVerifyResult.IsEmpty ( )

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
true means current object is empty, while false means not.