Class X509Extensions
Inheritance
X509Extensions
Assembly: Lacuna.Pki.dll
Syntax
public class X509Extensions
Properties
Item[String]
Declaration
public X509Extension this[string oid] { get; }
Parameters
Type |
Name |
Description |
String |
oid |
|
Property Value
Methods
CheckForUnprocessedCritical(IEnumerable<String>)
Declaration
public void CheckForUnprocessedCritical(IEnumerable<string> processedExtensions)
Parameters
Contains(String)
Declaration
public bool Contains(string extensionId)
Parameters
Type |
Name |
Description |
String |
extensionId |
|
Returns
Get(String, Boolean)
Declaration
public X509Extension Get(string extensionId, bool throwOnNotFound = true)
Parameters
Returns
GetAllExtensions()
Declaration
public List<X509Extension> GetAllExtensions()
Returns
Returns an object that allows access to the fields of the AuthorityInformationAccess extension,
or null if the extension is not present.
Declaration
public AuthorityInformationAccess GetAuthorityInformationAccess()
Returns
GetAuthorityKeyIdentifier()
Returns the bytes of the key identifier in the AuthorityKeyIdentifier extension, or null if the extension
is not present.
Declaration
public byte[] GetAuthorityKeyIdentifier()
Returns
GetCertificatePolicies()
Declaration
public List<CertificatePolicy> GetCertificatePolicies()
Returns
GetCrlDistributionPoints()
Returns the distribution points in the CRLDistributionPoints extension, or null if the extension is not present.
Declaration
public List<CrlDistributionPoint> GetCrlDistributionPoints()
Returns
GetCrlNumber()
Returns the number in the CRLNumber extension, or null if the extension is not present.
Declaration
public BigInteger? GetCrlNumber()
Returns
GetDnsNames()
Declaration
public List<string> GetDnsNames()
Returns
GetExtendedKeyUsage()
Declaration
public ExtendedKeyUsage? GetExtendedKeyUsage()
Returns
GetKeyUsage()
Declaration
public KeyUsage? GetKeyUsage()
Returns
GetQualifiedCertificateStatements()
Declaration
public QualifiedCertificateStatementsExtension GetQualifiedCertificateStatements()
Returns
GetRfc822Names()
Declaration
public List<string> GetRfc822Names()
Returns
GetSubjectKeyIdentifier()
Returns the bytes of the key identifier in the SubjectKeyIdentifier extension, or null if the extension
is not present.
Declaration
public byte[] GetSubjectKeyIdentifier()
Returns
TryGet(String, out X509Extension)
Declaration
public bool TryGet(string extensionId, out X509Extension extension)
Parameters
Returns