Loads a certificate with a private key from a PKCS #12 (.p12/.pfx) array.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function LoadPfx ( _ data As Byte(), _ password As String, _ options As KeySetOptions _ ) As CertificateChain |
C# |
---|
public static CertificateChain LoadPfx( byte[] data, string password, KeySetOptions options ) |
Parameters
- data
- Type: array<System..::..Byte>[]()[][]
An array containing DER encoded PKCS #12 data.
- password
- Type: System..::..String
Encryption password.
- options
- Type: Rebex.Security.Certificates..::..KeySetOptions
Key set options.