public static enum CertificateRequest.ClientCertificateType extends Enum<CertificateRequest.ClientCertificateType>
| Enum Constant and Description |
|---|
DSS_EPHEMERAL_DH_RESERVED |
DSS_FIXED_DH |
DSS_SIGN |
ECDSA_FIXED_ECDH |
ECDSA_SIGN |
FORTEZZA_DMS_RESERVED |
RSA_EPHEMERAL_DH_RESERVED |
RSA_FIXED_DH |
RSA_FIXED_ECDH |
RSA_SIGN |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets this certificate type's binary code as defined by
RFC 5246, Section 7.4.4.
|
String |
getJcaAlgorithm()
Deprecated.
|
static CertificateRequest.ClientCertificateType |
getTypeByCode(int code)
Gets a certificate type by its code as defined by
RFC 5246, Section 7.4.4.
|
boolean |
isCompatibleWithKeyAlgorithm(String algorithm)
Checks if this certificate type is compatible with a given JCA standard key algorithm.
|
boolean |
requiresSigningCapability()
Indicates whether this certificate type requires the key to allow being used for signing.
|
static CertificateRequest.ClientCertificateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CertificateRequest.ClientCertificateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificateRequest.ClientCertificateType RSA_SIGN
public static final CertificateRequest.ClientCertificateType DSS_SIGN
public static final CertificateRequest.ClientCertificateType RSA_FIXED_DH
public static final CertificateRequest.ClientCertificateType DSS_FIXED_DH
public static final CertificateRequest.ClientCertificateType RSA_EPHEMERAL_DH_RESERVED
public static final CertificateRequest.ClientCertificateType DSS_EPHEMERAL_DH_RESERVED
public static final CertificateRequest.ClientCertificateType FORTEZZA_DMS_RESERVED
public static final CertificateRequest.ClientCertificateType ECDSA_SIGN
public static final CertificateRequest.ClientCertificateType RSA_FIXED_ECDH
public static final CertificateRequest.ClientCertificateType ECDSA_FIXED_ECDH
public static CertificateRequest.ClientCertificateType[] values()
for (CertificateRequest.ClientCertificateType c : CertificateRequest.ClientCertificateType.values()) System.out.println(c);
public static CertificateRequest.ClientCertificateType 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()
@Deprecated public String getJcaAlgorithm()
public boolean requiresSigningCapability()
true if signing capability is required.public boolean isCompatibleWithKeyAlgorithm(String algorithm)
algorithm - The key algorithm.true if this certificate type is compatible with the given key algorithm.public static CertificateRequest.ClientCertificateType getTypeByCode(int code)
code - The code.null if the given code is not defined.Copyright © 2023 Eclipse Foundation. All rights reserved.