Share via


DownloadCertificateOptions Class

Definition

Additional options for downloading and creating an X509Certificate2.

public class DownloadCertificateOptions
type DownloadCertificateOptions = class
Public Class DownloadCertificateOptions
Inheritance
DownloadCertificateOptions

Constructors

Name Description
DownloadCertificateOptions(String)

Initializes a new instance of the DownloadCertificateOptions class.

Properties

Name Description
CertificateName

Gets the name of the certificate to download.

KeyStorageFlags

Gets or sets a combination of the enumeration values that control where and how to import the certificate. The default is DefaultKeySet.

OutContentType

Gets or sets the optional certificate content type in which the certificate will be downloaded. If a supported format is specified, the certificate content is converted to the requested format. Currently, only PFX to PEM conversion is supported. If an unsupported format is specified, the request is rejected. If not specified, the certificate is returned in its original format without conversion.

Version

Gets or sets the optional version of a certificate to download.

Applies to