Compartir a través de


(SecureString, SecureString, X509KeyStorageFlags) del método SecureStoreCertificateHelper.ToCertificate

Este método convierte la cadena de credenciales dado a X509Certificate2.

Espacio de nombres:  Microsoft.BusinessData.Infrastructure.SecureStore
Ensamblado:  Microsoft.BusinessData (en Microsoft.BusinessData.dll)

Sintaxis

'Declaración
Public Shared Function ToCertificate ( _
    credential As SecureString, _
    password As SecureString, _
    keyStorage As X509KeyStorageFlags _
) As X509Certificate2
'Uso
Dim credential As SecureString
Dim password As SecureString
Dim keyStorage As X509KeyStorageFlags
Dim returnValue As X509Certificate2

returnValue = SecureStoreCertificateHelper.ToCertificate(credential, _
    password, keyStorage)
public static X509Certificate2 ToCertificate(
    SecureString credential,
    SecureString password,
    X509KeyStorageFlags keyStorage
)

Parámetros

Valor devuelto

Tipo: System.Security.Cryptography.X509Certificates.X509Certificate2
Una instancia de X509Certificate2.

Vea también

Referencia

clase SecureStoreCertificateHelper

Miembros SecureStoreCertificateHelper

Sobrecarga ToCertificate

Espacio de nombres Microsoft.BusinessData.Infrastructure.SecureStore