version

The certificate version.

This returns the encoded value and for X.509 Version 3 Certificate this value is 2.