Click or drag to resize

X509CertificateGetRawX509VersionNumber Method

Retrieves the version number representing which version of X509 the certificate corresponds to, from the certificate.

Namespace:  pdftron.Crypto
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public int GetRawX509VersionNumber()

Return Value

Type: Int32
an integer containing the version number
Remarks
The X509 version number in the certificate, which we return unchanged here, is zero-indexed and therefore is one less in value than the actual version. e.g. X509v3 is represented by a returned version number of 2.
See Also