CryptoSys PKI Pro Manual

X509.ReadCertStringFromPFX Method

Read an X.509 certificate into a base64 string from PKCS-12 PFX/.p12 data.

Syntax

[C#]
public static string ReadCertStringFromPFX(
	string inputFile,
	string password
)
[VB.NET]
Public Shared Function ReadCertStringFromPFX ( _
	inputFile As String, _
	password As String _
) As String

Parameters

inputFile
filename of a PFX file, or a string containing its PEM textual representation.
password
password for PFX or "" if certificate is not encrypted

Return Value

String in continuous base64 format, or an empty string on error.

Remarks

Only supports weak 40-bit RC2 encryption for the certificate.

See Also

VB6/C equivalent: X509_ReadCertStringFromPFX

[Contents] [Index]

[PREV: X509.ReadCertStringFromP7Chain Method...]   [Contents]   [Index]   
   [NEXT: X509.ReadStringFromFile Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.