Package com.venafi.vcert.sdk.certificate
Enum CsrOriginOption
- java.lang.Object
-
- java.lang.Enum<CsrOriginOption>
-
- com.venafi.vcert.sdk.certificate.CsrOriginOption
-
- All Implemented Interfaces:
Serializable,Comparable<CsrOriginOption>
public enum CsrOriginOption extends Enum<CsrOriginOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LocalGeneratedCSRServiceGeneratedCSRUserProvidedCSR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CsrOriginOptiondefaultCsrOrigin()static CsrOriginOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static CsrOriginOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LocalGeneratedCSR
public static final CsrOriginOption LocalGeneratedCSR
-
ServiceGeneratedCSR
public static final CsrOriginOption ServiceGeneratedCSR
-
UserProvidedCSR
public static final CsrOriginOption UserProvidedCSR
-
-
Method Detail
-
values
public static CsrOriginOption[] 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 (CsrOriginOption c : CsrOriginOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CsrOriginOption valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
defaultCsrOrigin
public static CsrOriginOption defaultCsrOrigin()
-
-