x509ReadCertStringFromPFX
Read an X.509 certificate into a base64-encoded string from PKCS-12 PFX/.p12 data.
Syntax
[VBA]
Public Function x509ReadCertStringFromPFX ( _
szPfxFile As String, _
szPassword As String, _
Optional nOptions As Long = 0 _
) As String
Parameters
- szPfxFile
- Filename of a PFX file, or a string containing its PEM textual representation.
- szPassword
- Password or
""
if certificate is not encrypted.
- nOptions
- For future use.
Return Value
String: String in continuous base64 format, or an empty string on error.