public static enum Certprofile.X509CertVersion extends Enum<Certprofile.X509CertVersion>
| Modifier and Type | Method and Description |
|---|---|
static Certprofile.X509CertVersion |
forName(String version) |
static Certprofile.X509CertVersion |
forValue(int versionNumber) |
int |
getVersionNumber() |
static Certprofile.X509CertVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Certprofile.X509CertVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Certprofile.X509CertVersion v1
public static final Certprofile.X509CertVersion v2
public static final Certprofile.X509CertVersion v3
public static Certprofile.X509CertVersion[] values()
for (Certprofile.X509CertVersion c : Certprofile.X509CertVersion.values()) System.out.println(c);
public static Certprofile.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 Certprofile.X509CertVersion forName(String version)
public static Certprofile.X509CertVersion forValue(int versionNumber)
Copyright © 2020. All rights reserved.