org.virtualbox_5_1
Enum CertificateVersion

java.lang.Object
  extended by java.lang.Enum<CertificateVersion>
      extended by org.virtualbox_5_1.CertificateVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CertificateVersion>

public enum CertificateVersion
extends java.lang.Enum<CertificateVersion>

X.509 certificate version numbers. Interface ID: {9E232A99-51D0-4DBD-96A0-FFAC4BC3E2A8}


Enum Constant Summary
Unknown
           
V1
           
V2
           
V3
           
 
Method Summary
static CertificateVersion fromValue(long v)
           
static CertificateVersion fromValue(java.lang.String v)
           
 int value()
           
static CertificateVersion valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CertificateVersion[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

V1

public static final CertificateVersion V1

V2

public static final CertificateVersion V2

V3

public static final CertificateVersion V3

Unknown

public static final CertificateVersion Unknown
Method Detail

values

public static CertificateVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CertificateVersion c : CertificateVersion.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CertificateVersion valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static CertificateVersion fromValue(long v)

fromValue

public static CertificateVersion fromValue(java.lang.String v)