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.NET]
Public Shared Function GetCertCountInP7Chain ( _
inputFile As String _
) As Integer
Parameters
- inputFile
- Name of the PKCS-7 "certs-only" file, or a string containing its PEM textual representation.
Return Value
Number of X.509 certificates found or a negative
error code.
See Also
VB6/C equivalent: X509_GetCertCountInP7Chain
[Contents] [Index]