PersistedKeyProvider Kelas

Definisi

Mengambil kunci yang bertahan dari objek Sertifikat .

public ref class PersistedKeyProvider abstract sealed
/// [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 PersistedKeyProvider final
[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 static class PersistedKeyProvider
Public Class PersistedKeyProvider
Warisan
Object Platform::Object IInspectable PersistedKeyProvider
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Metode

OpenKeyPairFromCertificateAsync(Certificate, String, CryptographicPadding)

Membuka kunci privat yang dipertahankan dari objek Sertifikat yang ditentukan.

OpenPublicKeyFromCertificate(Certificate, String, CryptographicPadding)

Membuka kunci publik yang dipertahankan dari objek Sertifikat yang ditentukan.

Berlaku untuk