ComponentSpace SAML Class Library Reference

CertificateStore.ImportPfxFile Method 

Imports the certificate store contained in the PFX/PKCS12 file.

[Visual Basic]
Public Shared Function ImportPfxFile( _
   ByVal fileName As String, _
   ByVal password As String _
) As CertificateStore
[C#]
public static CertificateStore ImportPfxFile(
   string fileName,
   string password
);

Parameters

fileName
The PFX/PKCS12 file.
password
The password associated with the file.

Return Value

The certificate store.

Exceptions

Exception Type Condition
CertificateStoreException Thrown when the certificate store cannot be imported.

See Also

CertificateStore Class | ComponentSpace.CryptoHelper Namespace