Loads a certificate with a private key from a PKCS#12 (PFX) file.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function LoadPfx ( _ path As String, _ password As String _ ) As CertificateChain |
C# |
---|
public static CertificateChain LoadPfx( string path, string password ) |
Parameters
- path
- Type: System..::..String
Path to a file.
- password
- Type: System..::..String
Encryption password.