Class PkiConfig
Assembly: Lacuna.Pki.dll
Syntax
public static class PkiConfig
Fields
|
Improve this Doc
View Source
CAIssuersDownloadTimeout
Time that the SDK waits when downloading a certificate from a AuthorityInformationAccess extension url.
Declaration
public static TimeSpan CAIssuersDownloadTimeout
Field Value
|
Improve this Doc
View Source
CrlDownloadTimeout
Time that the SDK waits when downloading a CRL.
Declaration
public static TimeSpan CrlDownloadTimeout
Field Value
|
Improve this Doc
View Source
PdfHandlerFactory
Declaration
[Obsolete("There is no need for setting an external Pdf Handler")]
public static IPdfHandlerFactory PdfHandlerFactory
Field Value
|
Improve this Doc
View Source
PreemptiveDownloadMaxDelay
The max TimeSpan that a preemptive download task shold wait to retry a download.
Declaration
public static TimeSpan PreemptiveDownloadMaxDelay
Field Value
|
Improve this Doc
View Source
SignatureFinisherRetryTimeout
Time that the CadesSignatureFinisher waits by defaut when retrying to finish a signature
Declaration
public static TimeSpan SignatureFinisherRetryTimeout
Field Value
|
Improve this Doc
View Source
TimestampRequestTimeout
Time that the SDK waits by default when requesting a timestamp.
Declaration
public static TimeSpan TimestampRequestTimeout
Field Value
|
Improve this Doc
View Source
TslDownloadTimeout
Time that the SDK waits when downloading a Trusted Service List.
Declaration
public static TimeSpan TslDownloadTimeout
Field Value
Properties
|
Improve this Doc
View Source
BinaryLicense
Declaration
public static byte[] BinaryLicense { get; }
Property Value
|
Improve this Doc
View Source
DefaultPadesVisualLineSpacing
PadesVisualText system default line spacing multiplier based on the font size.
Declaration
public static double DefaultPadesVisualLineSpacing { get; set; }
Property Value
|
Improve this Doc
View Source
DefaultPdfMarkLineSpacing
PdfMark system default line spacing multiplier based on the font size.
Declaration
public static double DefaultPdfMarkLineSpacing { get; set; }
Property Value
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
LicensePath
Declaration
public static string LicensePath { get; }
Property Value
|
Improve this Doc
View Source
Logger
Declaration
public static ILogger Logger { get; set; }
Property Value
|
Improve this Doc
View Source
MaxDelay
Declaration
[Obsolete("Use PreemptiveDownloadMaxDelay property instead")]
public static TimeSpan MaxDelay { get; set; }
Property Value
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
PreemptiveCrlDownload
Enable or Disable the Preemptive CRL Download
Declaration
public static bool PreemptiveCrlDownload { get; set; }
Property Value
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
ReverseX509Names
Declaration
public static bool ReverseX509Names { get; set; }
Property Value
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
TimeProvider
Sets a custom time provider for returning the current DateTimeOffset.
If not set, PKI SDK uses system's DateTimeOffset.Now as default.
Declaration
public static IPkiTimeProvider TimeProvider { get; set; }
Property Value
|
Improve this Doc
View Source
TimeZoneInfo
Default timezone to use on DateTimeOffset validation strings
Declaration
public static TimeZoneInfo TimeZoneInfo { get; set; }
Property Value
|
Improve this Doc
View Source
WebProxy
Configures a web proxy for SDK web requests
Declaration
public static IWebProxy WebProxy { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
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
|
|
Improve this Doc
View Source
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
|