Click or drag to resize

VerificationResult Class

The result of a verification operation performed on a digital signature.
Inheritance Hierarchy
SystemObject
  pdftron.PDFVerificationResult

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class VerificationResult : IClosable

The VerificationResult type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodDestroy
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDigestAlgorithm
Retrieves an enumeration value representing the digest algorithm used to sign the signature that is associated with this verification result. For DocTimeStamp signatures, returns the weakest algorithm found(between the CMSand message imprint digests).
Public methodGetDigestStatus
Retrieves the digest-related result condition associated with a digital signature verification operation.
Public methodGetDigestStatusAsString
Retrieves the digest-related result condition associated with a digital signature verification operation, as a descriptive string.
Public methodGetDigitalSignatureField
Retrieves the digital signature field associated with the digital signature verification operation that returned this result.
Public methodGetDisallowedChanges
Retrieves a list of informational structures regarding any disallowed changes that have been made to the document since the signature associated with this verification result was signed.
Public methodGetDocumentStatus
Retrieves the document-related result condition associated with a digital signature verification operation.
Public methodGetDocumentStatusAsString
Retrieves the document-related result condition associated with a digital signature verification operation, as a descriptive string.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPermissionsStatus
Retrieves the result condition about permissions checks performed on any unsigned modifications associated with a digital signature verification operation.
Public methodGetPermissionsStatusAsString
Retrieves the result condition about permissions checks performed on any unsigned modifications associated with a digital signature verification operation, as a descriptive string.
Public methodGetTrustStatus
Retrieves the trust-related result condition associated with a digital signature verification operation.
Public methodGetTrustStatusAsString
Retrieves the trust-related result condition associated with a digital signature verification operation, as a descriptive string.
Public methodGetTrustVerificationResult
Retrieves the detailed result associated with the trust step of the verification operation that returned this VerificationResult, if such a detailed trust result is available. Must call HasTrustVerificationResult first and check for a true result.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnsupportedFeatures
Retrieves reports about unsupported features encountered during verification. This function is the canonical source of information about all unsupported features encountered. Current possible values : "unsupported signature encoding", "usage rights signature", "legal content attestations", "unsupported digest algorithm"
Public methodGetVerificationStatus
Retrieves the main verification status. The main status is determined based on the other statuses. Verification may fail for many reasons; some of these reasons are the presence of features that are not supported yet. It may be desirable for you to report unsupported signatures differently (for example, using a question mark rather than an X mark). Any unsupported features encountered can be retrieved by the use of the function GetUnsupportedFeatures on this class.
Public methodHasTrustVerificationResult
Returns whether there is a detailed TrustVerificationResult in this VerificationResult or not.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also