Dump details of an X.509 certificate or a X.509 certificate revocation list (CRL)
or a PKCS-10 certificate signing request (CSR) to a text file.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static int TextDump(
string outputFile,
string certFile,
X509OutputOpts outOpts = X509OutputOpts.Default
)
Public Shared Function TextDump (
outputFile As String,
certFile As String,
Optional outOpts As X509OutputOpts = X509OutputOpts.Default
) As Integer
Parameters
- outputFile String
- Filename of text file to be created
- certFile String
- Filename of certificate file (or its base64 representation)
- outOpts X509OutputOpts (Optional)
- Options for output (optional)
Return Value
Int32If successful, the return value is zero; otherwise it returns a nonzero error code.
RemarksThe notation [!] denotes a critical extension, e.g. Key Usage[!]:.
See Also