public enum CertificateRequestType extends Enum<CertificateRequestType>
| Modifier and Type | Method and Description |
|---|---|
static CertificateRequestType |
from(int code) |
static CertificateRequestType |
from(String name) |
int |
getCode() |
String |
toString() |
static CertificateRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateRequestType CRMF
public static final CertificateRequestType PKCS10
public static final CertificateRequestType PEM
public static CertificateRequestType[] values()
for (CertificateRequestType c : CertificateRequestType.values()) System.out.println(c);
public static CertificateRequestType 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 getCode()
public String toString()
toString in class Enum<CertificateRequestType>public static CertificateRequestType from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static CertificateRequestType from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022. All rights reserved.