Pular para o conteúdo principal

X509Extensions

Namespace: Lacuna.Pki
Assembly: Lacuna.Pki
Class

public class X509Extensions

Hierarquia: objectX509Extensions

Propriedades

this[string]

public X509Extension this[string oid] { get; }

Parâmetros

NomeTipoDescrição
oidstring

Retorno

X509Extension


Métodos

CheckForUnprocessedCritical(IEnumerable<string>)

public void CheckForUnprocessedCritical(IEnumerable<string> processedExtensions)

Parâmetros

NomeTipoDescrição
processedExtensionsIEnumerable<string>

Contains(string)

public bool Contains(string extensionId)

Parâmetros

NomeTipoDescrição
extensionIdstring

Retorno

bool


Get(string, bool)

public X509Extension Get(string extensionId, bool throwOnNotFound = true)

Parâmetros

NomeTipoDescrição
extensionIdstring
throwOnNotFoundbool

Retorno

X509Extension


GetAllExtensions()

public List<X509Extension> GetAllExtensions()

Retorno

List<X509Extension>


GetAuthorityInformationAccess()

Returns an object that allows access to the fields of the AuthorityInformationAccess extension, or null if the extension is not present.

public AuthorityInformationAccess GetAuthorityInformationAccess()

Retorno

AuthorityInformationAccess


GetAuthorityKeyIdentifier()

Returns the bytes of the key identifier in the AuthorityKeyIdentifier extension, or null if the extension is not present.

public byte[] GetAuthorityKeyIdentifier()

Retorno

byte[]


GetCertificatePolicies()

public List<CertificatePolicy> GetCertificatePolicies()

Retorno

List<CertificatePolicy>


GetCrlDistributionPoints()

Returns the distribution points in the CRLDistributionPoints extension, or null if the extension is not present.

public List<CrlDistributionPoint> GetCrlDistributionPoints()

Retorno

List<CrlDistributionPoint>


GetCrlNumber()

Returns the number in the CRLNumber extension, or null if the extension is not present.

public BigInteger? GetCrlNumber()

Retorno

BigInteger?


GetDnsNames()

public List<string> GetDnsNames()

Retorno

List<string>


GetExtendedKeyUsage()

public ExtendedKeyUsage? GetExtendedKeyUsage()

Retorno

ExtendedKeyUsage?


GetKeyUsage()

public KeyUsage? GetKeyUsage()

Retorno

KeyUsage?


GetQualifiedCertificateStatements()

public QualifiedCertificateStatementsExtension GetQualifiedCertificateStatements()

Retorno

QualifiedCertificateStatementsExtension


GetRfc822Names()

public List<string> GetRfc822Names()

Retorno

List<string>


GetSubjectKeyIdentifier()

Returns the bytes of the key identifier in the SubjectKeyIdentifier extension, or null if the extension is not present.

public byte[] GetSubjectKeyIdentifier()

Retorno

byte[]


TryGet(string, out X509Extension)

public bool TryGet(string extensionId, out X509Extension extension)

Parâmetros

NomeTipoDescrição
extensionIdstring
extensionX509Extension

Retorno

bool


Membros herdados

ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()