Click or drag to resize

X509GetCertCountInP7Chain Method

Return number of certificates in a PKCS-7 "certs-only" certificate chain file.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static int GetCertCountInP7Chain(
	string inputFile
)

Parameters

inputFile  String
Name of the PKCS-7 "certs-only" file, or a string containing its PEM textual representation.

Return Value

Int32
Number of X.509 certificates found or a negative error code.
See Also