public enum TLSArtifact extends java.lang.Enum<TLSArtifact>
Enum Constant and Description |
---|
CA_CERTIFICATE |
CERTIFICATE |
KEYSTORE |
PRIVATE_KEY |
TRUSTSTORE |
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
SECRET_STORE_NAME_DELIMITER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getMountPath(java.lang.String transportEncryptionName)
Returns the path location where the secret should be mounted into task filesystems.
|
java.lang.String |
getName() |
java.lang.String |
getSecretStoreName(java.lang.String sansHash,
java.lang.String taskInstanceName,
java.lang.String transportEncryptionName)
Returns the full name to be used for the secret in a secret store.
|
TransportEncryptionSpec.Type |
getType() |
static TLSArtifact |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TLSArtifact[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLSArtifact CERTIFICATE
public static final TLSArtifact PRIVATE_KEY
public static final TLSArtifact CA_CERTIFICATE
public static final TLSArtifact KEYSTORE
public static final TLSArtifact TRUSTSTORE
static final java.lang.String SECRET_STORE_NAME_DELIMITER
public static TLSArtifact[] values()
for (TLSArtifact c : TLSArtifact.values()) System.out.println(c);
public static TLSArtifact 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 nullpublic TransportEncryptionSpec.Type getType()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getSecretStoreName(java.lang.String sansHash, java.lang.String taskInstanceName, java.lang.String transportEncryptionName)
public java.lang.String getMountPath(java.lang.String transportEncryptionName)