version

The certificate version.

This returns the encoded value and for X.509 Version 3 Certificate (the most common version in use) this value is 2.