Taal

X509Certificate.Version Property

Definition

Returns the certificates version (version number).

public abstract int Version { [Android.Runtime.Register("getVersion", "()I", "GetGetVersionHandler")] get; }
[<get: Android.Runtime.Register("getVersion", "()I", "GetGetVersionHandler")>]
member this.Version : int

Property Value

the version number, i.e. 1, 2 or 3.

Attributes

Remarks

Gets the version (version number) value from the certificate.

version  [0] EXPLICIT Version DEFAULT v1

Version ::=  INTEGER  {  v1(0), v2(1), v3(2)  }

Java reference for java.security.cert.X509Certificate.getVersion.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to