CertificateStore Constructor (Byte, String) |
Opens an existing store of certificates from a memory footprint of a PFX (.P12, PKCS #12) file.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public CertificateStore(
byte[] pfxData,
string pfxPassword
)
Public Sub New (
pfxData As Byte(),
pfxPassword As String
)
Parameters
- pfxData
- Type: SystemByte
A byte array containing the memory footprint of a PFX file. - pfxPassword
- Type: SystemString
PFX password.
Exceptions Remarks You can use this constructor when you have PFX (.P12, PKCS #12) data in memory. For instance, if you upload PFX data to a web server and
do not want to save it into a file.
Note |
---|
In .NET Standard 2.0 edition and later, this constructor is no longer available (it's Win32-specific). Use CertificateStore(X509Store) instead. |
See Also