Show / Hide Table of Contents

Class PkiConfig

Inheritance
Object
PkiConfig
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public static class PkiConfig

Fields

CAIssuersDownloadTimeout

Time that the SDK waits when downloading a certificate from a AuthorityInformationAccess extension url.

Declaration
public static TimeSpan CAIssuersDownloadTimeout
Field Value
Type Description
TimeSpan

CrlDownloadTimeout

Time that the SDK waits when downloading a CRL.

Declaration
public static TimeSpan CrlDownloadTimeout
Field Value
Type Description
TimeSpan

PdfHandlerFactory

Declaration
[Obsolete("There is no need for setting an external Pdf Handler")]
public static IPdfHandlerFactory PdfHandlerFactory
Field Value
Type Description
IPdfHandlerFactory

PreemptiveDownloadMaxDelay

The max TimeSpan that a preemptive download task shold wait to retry a download.

Declaration
public static TimeSpan PreemptiveDownloadMaxDelay
Field Value
Type Description
TimeSpan

SignatureFinisherRetryTimeout

Time that the CadesSignatureFinisher waits by defaut when retrying to finish a signature

Declaration
public static TimeSpan SignatureFinisherRetryTimeout
Field Value
Type Description
TimeSpan

TimestampRequestTimeout

Time that the SDK waits by default when requesting a timestamp.

Declaration
public static TimeSpan TimestampRequestTimeout
Field Value
Type Description
TimeSpan

TslDownloadTimeout

Time that the SDK waits when downloading a Trusted Service List.

Declaration
public static TimeSpan TslDownloadTimeout
Field Value
Type Description
TimeSpan

Properties

BinaryLicense

Declaration
public static byte[] BinaryLicense { get; }
Property Value
Type Description
Byte[]

DefaultPadesVisualLineSpacing

PadesVisualText system default line spacing multiplier based on the font size.

Declaration
public static double DefaultPadesVisualLineSpacing { get; set; }
Property Value
Type Description
Double

DefaultPdfMarkLineSpacing

PdfMark system default line spacing multiplier based on the font size.

Declaration
public static double DefaultPdfMarkLineSpacing { get; set; }
Property Value
Type Description
Double

LappEnabled

Whether or not to enable Lapp. Lapp is an Artifact Provider Proxy for Pki, it enables PKI resources, such as CRLs and CA Certificates, to be requested through a single domain (*.lacunasoftware.com) which is then redirected to worldwide servers to execute the requests simultaneously. It simplifies network and infrastructures managing and creates high availability connections.

Declaration
public static bool LappEnabled { get; set; }
Property Value
Type Description
Boolean

LicensePath

Declaration
public static string LicensePath { get; }
Property Value
Type Description
String

Logger

Logger interface

Declaration
public static ILogger Logger { get; set; }
Property Value
Type Description
ILogger

MaxDelay

Declaration
[Obsolete("Use PreemptiveDownloadMaxDelay property instead")]
public static TimeSpan MaxDelay { get; set; }
Property Value
Type Description
TimeSpan

PdfUseLastDuplicatedSignatureField

When duplicated signature field name is present on PDF, sets whether or not to take the last entry of the duplicated field name. If false, the signature field name decoded will be the first one in offset increasing order.

Declaration
public static bool PdfUseLastDuplicatedSignatureField { get; set; }
Property Value
Type Description
Boolean

PreemptiveCrlDownload

Enable or Disable the Preemptive CRL Download

Declaration
public static bool PreemptiveCrlDownload { get; set; }
Property Value
Type Description
Boolean

PrioritizeOcsp

Whether or not to prioritize certificate revocation status verification through OCSP artifacts first, when supported, over CRL artifacts. If not set, first attempt is through CRL, second through OSCP.

Declaration
public static bool PrioritizeOcsp { get; set; }
Property Value
Type Description
Boolean

ReverseX509Names

Declaration
public static bool ReverseX509Names { get; set; }
Property Value
Type Description
Boolean

TempPath

Directory used by the SDK to store temporary files, such as the CRL cache files. By default, the current user's temporary folder is used. In order to change this, you can either set this property programatically or add an application setting in your application configuration file (web.config/app.config) with the key "LacunaPki.TempPath".

Declaration
public static string TempPath { get; set; }
Property Value
Type Description
String

TimeZoneInfo

Default timezone to use on DateTimeOffset validation strings

Declaration
public static TimeZoneInfo TimeZoneInfo { get; set; }
Property Value
Type Description
TimeZoneInfo

WebProxy

Configures a web proxy for SDK web requests

Declaration
public static IWebProxy WebProxy { get; set; }
Property Value
Type Description
IWebProxy

Methods

LoadLicense(Byte[])

Loads the Lacuna Pki SDK license to enable its usage

Declaration
public static void LoadLicense(byte[] content)
Parameters
Type Name Description
Byte[] content

License in binary format from given Base64 license

LoadLicense(String)

Loads the Lacuna Pki SDK license to enable its usage

Declaration
public static void LoadLicense(string path)
Parameters
Type Name Description
String path

Path to Lacuna Pki license XML file

Back to top Copyright © 2015-2020 Lacuna Software