SecureBlackbox 2020 .NET Edition

Questions / Feedback?

ImportFromFile Method

Loads a certificate from a file.

Syntax

public void ImportFromFile(string path, string password);
Public Sub ImportFromFile(ByVal Path As String, ByVal Password As String)

Remarks

This method can load certificates saved in one of the following formats: DER, PEM, PFX, SPC.

Use the Path parameter to provide a path to the certificate, and Password to specify the password. The Password parameter is optional. If it is omitted and it is later discovered that the certificate is password-encrypted, the PasswordNeeded event will be fired to request it.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]