SecureBlackbox 2020 .NET Edition

Questions / Feedback?

ImportCert Method

Imports a certificate.

Syntax

public void ImportCert(byte[] certBytes, string password);
Public Sub ImportCert(ByVal CertBytes As Byte(), ByVal Password As String)

Remarks

Use this method to load a certificate from a byte array. Provide the password via the Password parameter. The Password parameter is optional. If it is omitted and it is later discovered that the key is password-encrypted, the PasswordNeeded event will be fired to request it. This method supports certificates in DER, PEM, PFX, and SPC formats.

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