PkiConfig
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class
public static class PkiConfig
Hierarquia: object → PkiConfig
Campos
CAIssuersDownloadTimeout
Time that the SDK waits when downloading a certificate from a AuthorityInformationAccess extension url.
public static TimeSpan CAIssuersDownloadTimeout
Retorno
CrlDownloadTimeout
Time that the SDK waits when downloading a CRL.
public static TimeSpan CrlDownloadTimeout
Retorno
PdfHandlerFactory
[Obsolete("There is no need for setting an external Pdf Handler")]
public static IPdfHandlerFactory PdfHandlerFactory
Retorno
PreemptiveDownloadMaxDelay
The max TimeSpan that a preemptive download task shold wait to retry a download.
public static TimeSpan PreemptiveDownloadMaxDelay
Retorno
SignatureFinisherRetryTimeout
Time that the CadesSignatureFinisher waits by defaut when retrying to finish a signature
public static TimeSpan SignatureFinisherRetryTimeout
Retorno
TimestampRequestTimeout
Time that the SDK waits by default when requesting a timestamp.
public static TimeSpan TimestampRequestTimeout
Retorno
TslDownloadTimeout
Time that the SDK waits when downloading a Trusted Service List.
public static TimeSpan TslDownloadTimeout
Retorno
Propriedades
BinaryLicense
public static byte[] BinaryLicense { get; }
Retorno
DefaultPadesVisualLineSpacing
PadesVisualText system default line spacing multiplier based on the font size.
public static double DefaultPadesVisualLineSpacing { get; set; }
Retorno
DefaultPdfMarkLineSpacing
PdfMark system default line spacing multiplier based on the font size.
public static double DefaultPdfMarkLineSpacing { get; set; }
Retorno
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.
public static bool LappEnabled { get; set; }
Retorno
LicensePath
public static string LicensePath { get; }
Retorno
Logger
Logger interface
public static ILogger Logger { get; set; }
Retorno
MaxDelay
[Obsolete("Use PreemptiveDownloadMaxDelay property instead")]
public static TimeSpan MaxDelay { get; set; }
Retorno
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.
public static bool PdfUseLastDuplicatedSignatureField { get; set; }
Retorno
PreemptiveCrlDownload
Enable or Disable the Preemptive CRL Download
public static bool PreemptiveCrlDownload { get; set; }
Retorno
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.
public static bool PrioritizeOcsp { get; set; }
Retorno
ReverseX509Names
public static bool ReverseX509Names { get; set; }
Retorno
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".
public static string TempPath { get; set; }
Retorno
TimeProvider
Sets a custom time provider for returning the current DateTimeOffset. If not set, PKI SDK uses system's DateTimeOffset.Now as default.
public static IPkiTimeProvider TimeProvider { get; set; }
Retorno
TimeZoneInfo
Default timezone to use on DateTimeOffset validation strings
public static TimeZoneInfo TimeZoneInfo { get; set; }
Retorno
WebProxy
Configures a web proxy for SDK web requests
public static IWebProxy WebProxy { get; set; }
Retorno
Métodos
LoadLicense(byte[])
Loads the Lacuna Pki SDK license to enable its usage
public static void LoadLicense(byte[] content)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
content | byte[] | License in binary format from given Base64 license |
LoadLicense(string)
Loads the Lacuna Pki SDK license to enable its usage
public static void LoadLicense(string path)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
path | string | Path to Lacuna Pki license XML file |
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()