public enum X509CertVersion extends Enum<X509CertVersion>
| Modifier and Type | Method and Description |
|---|---|
static X509CertVersion |
forName(String version) |
static X509CertVersion |
forValue(int versionNumber) |
int |
getVersionNumber() |
static X509CertVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static X509CertVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final X509CertVersion v1
public static final X509CertVersion v2
public static final X509CertVersion v3
public static X509CertVersion[] values()
for (X509CertVersion c : X509CertVersion.values()) System.out.println(c);
public static X509CertVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getVersionNumber()
public static X509CertVersion forName(String version)
public static X509CertVersion forValue(int versionNumber)
Copyright © 2018. All rights reserved.