SymmetricKey.OpenWithCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenWithCertificate(String) |
Opens the symmetric key, decrypted by a certificate. |
OpenWithCertificate(String, String) |
Opens the symmetric key, decrypted by a certificate with a password. |
OpenWithCertificate(String)
Opens the symmetric key, decrypted by a certificate.
public void OpenWithCertificate (string certificateName);
member this.OpenWithCertificate : string -> unit
Public Sub OpenWithCertificate (certificateName As String)
Parameters
- certificateName
- String
Applies to
OpenWithCertificate(String, String)
Opens the symmetric key, decrypted by a certificate with a password.
public void OpenWithCertificate (string certificateName, string privateKeyPassword);
member this.OpenWithCertificate : string * string -> unit
Public Sub OpenWithCertificate (certificateName As String, privateKeyPassword As String)
Parameters
- certificateName
- String
- privateKeyPassword
- String