Show / Hide Table of Contents
Editar no GitHub

Class PkiUtil

Inheritance
Object
PkiUtil
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 PkiUtil

Properties

| Improve this Doc View Source

LastLogException

Declaration
public static Exception LastLogException { get; set; }
Property Value
Type Description
Exception
| Improve this Doc View Source

OfflineSignerConfigurator

Validation configuration preset for offline signers. Use on methods SetCertificateValidationConfigurator

Declaration
public static Action<CertificateValidationOptions> OfflineSignerConfigurator { get; }
Property Value
Type Description
Action<CertificateValidationOptions>

Methods

| Improve this Doc View Source

Compress(Byte[])

Declaration
public static byte[] Compress(byte[] data)
Parameters
Type Name Description
Byte[] data
Returns
Type Description
Byte[]
| Improve this Doc View Source

DecodeDerInteger(Byte[])

Declaration
public static BigInteger DecodeDerInteger(byte[] encoded)
Parameters
Type Name Description
Byte[] encoded
Returns
Type Description
BigInteger
| Improve this Doc View Source

DecodeHexString(String)

Declaration
public static byte[] DecodeHexString(string hexString)
Parameters
Type Name Description
String hexString
Returns
Type Description
Byte[]
| Improve this Doc View Source

Decompress(Byte[])

Declaration
public static byte[] Decompress(byte[] data)
Parameters
Type Name Description
Byte[] data
Returns
Type Description
Byte[]
| Improve this Doc View Source

EncodePem(PemObjects, Byte[])

Declaration
public static string EncodePem(PemObjects objectType, byte[] content)
Parameters
Type Name Description
PemObjects objectType
Byte[] content
Returns
Type Description
String
| Improve this Doc View Source

EncodeToHexString(Byte[], String, Boolean)

Encodes a byte array to hex string

Declaration
public static string EncodeToHexString(byte[] content, string separator = "", bool upperCase = false)
Parameters
Type Name Description
Byte[] content

Content to encode

String separator

Separator string between hex bytes. Default: no separator

Boolean upperCase

True for encoding an upper case hex string, False for lower case hex string. Default: lower case

Returns
Type Description
String
| Improve this Doc View Source

FlushLog()

Declaration
public static void FlushLog()
| Improve this Doc View Source

SetGlobalTimestampRequester(ITimestampRequester)

Declaration
public static void SetGlobalTimestampRequester(ITimestampRequester tsRequester)
Parameters
Type Name Description
ITimestampRequester tsRequester
| Improve this Doc View Source

SetGlobalUserCertificateStore(ICertificateStore)

Declaration
public static void SetGlobalUserCertificateStore(ICertificateStore userCertificateStore)
Parameters
Type Name Description
ICertificateStore userCertificateStore
| Improve this Doc View Source

SetGlobalUserCertificateStore(IUserCertificateStore)

Declaration
public static void SetGlobalUserCertificateStore(IUserCertificateStore userCertificateStore)
Parameters
Type Name Description
IUserCertificateStore userCertificateStore
Back to top Copyright © 2015-2020 Lacuna Software