UserCertificateEnrollmentManager.InstallCertificateAsync(String, InstallOptions) UserCertificateEnrollmentManager.InstallCertificateAsync(String, InstallOptions) UserCertificateEnrollmentManager.InstallCertificateAsync(String, InstallOptions) UserCertificateEnrollmentManager.InstallCertificateAsync(String, InstallOptions) UserCertificateEnrollmentManager.InstallCertificateAsync(String, InstallOptions) Method

Definition

Asynchronously installs a certificate chain into the app container on the local computer.

public : IAsyncAction InstallCertificateAsync(Platform::String certificate, InstallOptions installOption)
IAsyncAction InstallCertificateAsync(winrt::hstring certificate, InstallOptions installOption) const;
public IAsyncAction InstallCertificateAsync(String certificate, InstallOptions installOption)
Public Function InstallCertificateAsync(certificate As String, installOption As InstallOptions) As IAsyncAction
Windows.Security.Cryptography.Certificates.UserCertificateEnrollmentManager.installCertificateAsync(certificate, installOption).done( /* Your success and error handlers */ );

Parameters

certificate
String String String

The encoded certificate. The certificate is encoded by using Distinguished Encoding Rules (DER) as defined by the Abstract Syntax Notation One (ASN.1) standard.

installOption
InstallOptions InstallOptions InstallOptions

An InstallOptions enumeration value that specifies the certificate installation option.

Returns

This method does not return a value.