CertificateRequestProperties Class

Definition

Represents the properties of a certificate request.

public ref class CertificateRequestProperties sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CertificateRequestProperties final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class CertificateRequestProperties final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CertificateRequestProperties
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CertificateRequestProperties
function CertificateRequestProperties()
Public NotInheritable Class CertificateRequestProperties
Inheritance
Object Platform::Object IInspectable CertificateRequestProperties
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1703 15063 Extensions
1703 15063 SubjectAlternativeName
1703 15063 SuppressedDefaults

Constructors

CertificateRequestProperties()

Creates and initializes a new instance of the CertificateRequestProperties.

Properties

AttestationCredentialCertificate

Gets or sets the CA exchange certificate that is used to encrypt a key attestation certificate request.

ContainerName

Gets or sets the container name.

ContainerNamePrefix

Gets or sets the prefix of the container name.

CurveName

Gets or sets the name of the elliptic curve.

CurveParameters

Gets or sets the parameters of the elliptic curve.

Exportable

Gets or sets a value that specifies whether the private key created for the request can be exported.

Extensions

Gets a vector of certificate extensions.

FriendlyName

Gets or sets the display name of the enrolled certificate.

HashAlgorithmName

Gets or sets the hash algorithm used when creating the certificate request signature.

KeyAlgorithmName

Gets or sets the public key algorithm.

KeyProtectionLevel

Gets or sets the level of strong key protection.

KeySize

Gets or sets the size, in bits, of the private key to be generated.

KeyStorageProviderName

Gets or sets the name of the key storage provider (KSP) that will be used to generate the private key.

KeyUsages

Gets or sets the operation that can be performed by the private key created for this certificate request. The default value is Signing.

SigningCertificate

Gets or sets the certificate used to sign the certificate request.

SmartcardReaderName

Gets or sets the name of the smart card reader used to create the certificate request.

Subject

Gets or sets the subject name.

SubjectAlternativeName

Gets the subject alternative name.

SuppressedDefaults

Gets a vector of suppressed defaults.

UseExistingKey

Gets or sets whether to use the existing key.

Applies to

See also