X509.GetCertCountInP7Chain Method
Return number of certificates in a PKCS-7 "certs-only" certificate chain file.
Syntax
[C#]
public static int GetCertCountInP7Chain(
string inputFile
)
[VB]
Public Shared Function GetCertCountInP7Chain (
inputFile As String
) As Integer
Parameters
- inputFile String
- Name of the PKCS-7 "certs-only" file, or a string containing its PEM textual representation.
Return Value
Int32Number of X.509 certificates found or a negative
error code.
See Also
VB6/C equivalent: X509_GetCertCountInP7Chain
[Contents] [Index]