CryptoSys PKI Pro Manual

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]

[PREV: X509.CheckCertInCRL Method...]   [Contents]   [Index]   
   [NEXT: X509.GetCertFromP7Chain Method...]

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