Foxit PDF SDK
FSDK.SignatureVerifyResult Class Reference

Public Member Functions

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

Static Public Attributes

static e_LTVStateEnable
 This means LTV is enabled.
 
static e_LTVStateInactive
 Enumeration for LTV state that indicates if a signature is a LTV signature. More...
 
static e_LTVStateNotEnable
 This means LTV is not enabled.
 

Detailed Description

This class represents signature verify result.

Member Function Documentation

◆ GetCertificateVerifyResults()

FSDK.SignatureVerifyResult.GetCertificateVerifyResults ( )
inline

Get certificate verify results.

Returns
An array of certificate verify results.

◆ GetLTVState()

FSDK.SignatureVerifyResult.GetLTVState ( )
inline

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

Returns
LTV state.

◆ GetOCSPSigantureVerifyResults()

FSDK.SignatureVerifyResult.GetOCSPSigantureVerifyResults ( )
inline

Get signature verify results for OCSP signature of each certificate.

Returns
An array of signature verify results.

◆ GetSignatureCheckTimeType()

FSDK.SignatureVerifyResult.GetSignatureCheckTimeType ( )
inline

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

Returns
Time type. Please refer to values starting from FSDK.LTVVerifier.e_SignatureCreationTime and this would be one of these values

◆ GetSignatureHashValue()

FSDK.SignatureVerifyResult.GetSignatureHashValue ( )
inline

Get signature hash value.

Returns
Signature hash value.

◆ GetSignatureName()

FSDK.SignatureVerifyResult.GetSignatureName ( )
inline

Get signature name.

Returns
Signature name.

◆ GetSignatureState()

FSDK.SignatureVerifyResult.GetSignatureState ( )
inline

Get signature state.

Returns
Signature state. Please refer to values starting from FSDK.Signature.e_StateUnknown and this would be one or combination of them.Get the time that is actually used to check signature.
The time that is actually used to check signature. utc_hour_offset and utc_minite_offset of this time would be ignored.

◆ GetTSTSignatureVerifyResult()

FSDK.SignatureVerifyResult.GetTSTSignatureVerifyResult ( )
inline

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()

FSDK.SignatureVerifyResult.IsEmpty ( )
inline

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.

Member Data Documentation

◆ e_LTVStateInactive

FSDK.SignatureVerifyResult.e_LTVStateInactive
static

Enumeration for LTV state that indicates if a signature is a LTV signature.

Values of this enumeration should be used alone.This means LTV is inactive.