@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum PKCS10CertificateSigningRequestVersion extends java.lang.Enum<PKCS10CertificateSigningRequestVersion>
| Enum Constant and Description |
|---|
V1
The PKCS #10 v1 certificate signing request version.
|
| Modifier and Type | Method and Description |
|---|---|
static PKCS10CertificateSigningRequestVersion |
forName(java.lang.String name)
Retrieves the CSR version with the specified name.
|
java.lang.String |
getName()
Retrieves the name for this certificate signing request version.
|
static PKCS10CertificateSigningRequestVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PKCS10CertificateSigningRequestVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKCS10CertificateSigningRequestVersion V1
public static PKCS10CertificateSigningRequestVersion[] values()
for (PKCS10CertificateSigningRequestVersion c : PKCS10CertificateSigningRequestVersion.values()) System.out.println(c);
public static PKCS10CertificateSigningRequestVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NotNull public java.lang.String getName()
@Nullable public static PKCS10CertificateSigningRequestVersion forName(@NotNull java.lang.String name)
name - The name of the CSR version to retrieve. It must not be
null.null if no such version is
defined.