Package net.corda.data.certificates
Enum CertificateUsage
-
- All Implemented Interfaces:
-
java.lang.Comparable
,org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.GenericEnumSymbol
public enum CertificateUsage implements GenericEnumSymbol<E>
A certificate usage.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Schema
SCHEMA$
-
Enum Constant Summary
Enum Constants Enum Constant Description P2P_TLS
P2P_SESSION
REST_TLS
CODE_SIGNER
-
Method Summary
Modifier and Type Method Description static Schema
getClassSchema()
Schema
getSchema()
static Array<CertificateUsage>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static CertificateUsage
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getClassSchema
static Schema getClassSchema()
-
getSchema
Schema getSchema()
-
values
static Array<CertificateUsage> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
-
valueOf
static CertificateUsage 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.)
-
-
-
-