Package software.amazon.awssdk.crt.io
Enum TlsContextOptions.CertificateSource
java.lang.Object
java.lang.Enum<TlsContextOptions.CertificateSource>
software.amazon.awssdk.crt.io.TlsContextOptions.CertificateSource
- All Implemented Interfaces:
Serializable,Comparable<TlsContextOptions.CertificateSource>
- Enclosing class:
- TlsContextOptions
public static enum TlsContextOptions.CertificateSource
extends Enum<TlsContextOptions.CertificateSource>
Identifies the source of the mTLS certificate/private key configured on a
TlsContextOptions. Used internally by the IoT Device SDK metrics
layer to encode feature "I" of the SDK metrics string. Values are set
automatically by the createWithMtls* factory methods (and their
withMtls* equivalents).-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPEM cert + key files (in-memory or on-disk).Java keystore.Hardware security module via PKCS#11.PKCS#12 (.p12 / .pfx) file.Windows certificate store. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static TlsContextOptions.CertificateSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CERTIFICATE_FILES
PEM cert + key files (in-memory or on-disk). -
PKCS11
Hardware security module via PKCS#11. -
WINDOWS_CERT_STORE
Windows certificate store. -
JAVA_KEYSTORE
Java keystore. -
PKCS12_FILE
PKCS#12 (.p12 / .pfx) file.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-