Creates a new certificate store from a PFX/P12 encoded file.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public static CertificateStore CreateFromPfxFile(
byte[] file,
string password
) |
| Visual Basic |
|---|
Public Shared Function CreateFromPfxFile ( _
file As Byte(), _
password As String _
) As CertificateStore |
| Visual C++ |
|---|
public:
static CertificateStore^ CreateFromPfxFile(
array<unsigned char>^ file,
String^ password
) |
Parameters
- file
- Type: array<System..::..Byte>[]()[][]
The contents of a PFX file.
- password
- Type: System..::..String
The password used to encrypt the private key.
Return Value
A
CertificateStore instance.
Exceptions
See Also