Show / Hide Table of Contents

Class TimestampingConfiguration

A class representing a set of options for timestamping a document.

Inheritance
System.Object
TimestampingConfiguration
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftron.PDF
Assembly: PDFNetAndroid.dll
Syntax
public class TimestampingConfiguration : IDisposable

Constructors

TimestampingConfiguration(IntPtr)

Declaration
public TimestampingConfiguration(IntPtr impl_ptr)
Parameters
Type Name Description
System.IntPtr impl_ptr

TimestampingConfiguration(String)

Constructor

Declaration
public TimestampingConfiguration(string in_url)
Parameters
Type Name Description
System.String in_url

a string representing a URL of a timestamp authority (TSA) to use during timestamping

Methods

Destroy()

Declaration
public void Destroy()

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Finalize()

Declaration
protected void Finalize()

SetTimestampAuthorityServerPassword(String)

Setter for a password to use during timestamping.

Declaration
public void SetTimestampAuthorityServerPassword(string in_password)
Parameters
Type Name Description
System.String in_password

a string representing a password.

SetTimestampAuthorityServerURL(String)

Setter to change the timestamp authority (TSA) URL to use during timestamping.

Declaration
public void SetTimestampAuthorityServerURL(string in_url)
Parameters
Type Name Description
System.String in_url

a string representing a URL of a timestamp authority.

SetTimestampAuthorityServerUsername(String)

Setter for a username to use during timestamping.

Declaration
public void SetTimestampAuthorityServerUsername(string in_username)
Parameters
Type Name Description
System.String in_username

a string representing a username.

SetUseNonce(Boolean)

Setter for whether to use a nonce (unique random number) during timestamping. This is on by default, and should be on whenever a timestamp authority supports it, because it helps prevent replay attacks.

Declaration
public void SetUseNonce(bool in_use_nonce)
Parameters
Type Name Description
System.Boolean in_use_nonce

a boolean value representing whether or not to use a nonce.

TestConfiguration(VerificationOptions)

Tests a timestamping configuration for usability and reports any failures. This function does not throw on many common failures, unlike the real signing, thereby allowing early diagnosis of things like connectivity issues with timestamp authorities.

Declaration
public TimestampingResult TestConfiguration(VerificationOptions in_opts)
Parameters
Type Name Description
VerificationOptions in_opts

a set of verification options to try to use.

Returns
Type Description
TimestampingResult

A result object containing information about the status of the configuration test and any errors that occurred during it

Implements

System.IDisposable
In This Article
Back to top Generated by DocFX