CertificateDescription Class

Definition

Description of a certificate.

public class CertificateDescription
type CertificateDescription = class
Public Class CertificateDescription
Inheritance
System.Object
CertificateDescription

Constructors

CertificateDescription()

Properties

Base64EncodedValue

Base64 encoded certificate value.

Certificate

The certificate, either provided directly in code or loaded from the description.

CertificateDiskPath

Path on disk to the certificate.

CertificateDistinguishedName

Certificate distinguished name.

CertificatePassword

Path on disk to the certificate password.

CertificateStorePath

Certificate store path, for instance "CurrentUser/My".

CertificateThumbprint

Certificate thumbprint.

KeyVaultCertificateName

Name of the certificate in Key Vault.

KeyVaultUrl

URL of the Key Vault, for instance https://msidentitywebsamples.vault.azure.net.

SourceType

Type of the source of the certificate.

X509KeyStorageFlags

Defines where and how to import the private key of an X.509 certificate.

Methods

FromBase64Encoded(String)

Creates a certificate description from a Base64 encoded value.

FromCertificate(X509Certificate2)

Creates a certificate description from a certificate (by code).

FromKeyVault(String, String)

Creates a certificate description from Key Vault.

FromPath(String, String)

Creates a certificate description from path on disk.

FromStoreWithDistinguishedName(String, StoreLocation, StoreName)

Creates a certificate description from a certificate distinguished name (such as CN=name) and store location (Certificate Manager on Windows, for instance).

FromStoreWithThumbprint(String, StoreLocation, StoreName)

Creates a certificate description from a thumbprint and store location (Certificate Manager on Windows, for instance).

FromStoreWithThumprint(String, StoreLocation, StoreName)
Obsolete.

Creates a certificate description from a thumbprint and store location (Certificate Manager on Windows, for instance).

Applies to