Uses of Class
software.amazon.awssdk.crt.io.TlsContextOptions
Packages that use TlsContextOptions
-
Uses of TlsContextOptions in software.amazon.awssdk.crt.io
Methods in software.amazon.awssdk.crt.io that return TlsContextOptionsModifier and TypeMethodDescriptionstatic TlsContextOptionsTlsContextOptions.createDefaultClient()Helper which creates a default set of TLS options for the current platformstatic TlsContextOptionsTlsContextOptions.createDefaultServer()Helper which creates a default set of TLS options for the current platformstatic TlsContextOptionsTlsContextOptions.createWithMtls(String certificate, String privateKey) Helper which creates mutual TLS (mTLS) options using a certificate and private keystatic TlsContextOptionsTlsContextOptions.createWithMtlsCustomKeyOperations(TlsContextCustomKeyOperationOptions custom) Unix platforms only - Helper which creates mutual TLS (mTLS) options using the applied custom key operations.static TlsContextOptionsTlsContextOptions.createWithMtlsFromPath(String certificatePath, String privateKeyPath) Helper which creates mutual TLS (mTLS) options using a certificate and private keystatic TlsContextOptionsTlsContextOptions.createWithMtlsJavaKeystore(KeyStore keyStore, String certificateAlias, String certificatePassword) Helper which creates mutual TLS (mTLS) options using a certificate and private key stored in a Java keystore.static TlsContextOptionsTlsContextOptions.createWithMtlsPkcs11(TlsContextPkcs11Options pkcs11Options) Unix platforms only - Helper which creates mutual TLS (mTLS) options using a PKCS#11 library for private key operations.static TlsContextOptionsTlsContextOptions.createWithMtlsPkcs12(String pkcs12Path, String pkcs12Password) Apple platforms only - Helper which creates mutual TLS (mTLS) options using PKCS12static TlsContextOptionsTlsContextOptions.createWithMtlsWindowsCertStorePath(String certificatePath) Windows platforms only - Helper which creates mutual TLS (mTLS) options using a certificate in a Windows certificate store.TlsContextOptions.withAlpnList(String alpnList) Sets the ALPN protocols list for any connections using this TlsContextTlsContextOptions.withCertificateAuthority(String caRoot) Specifies the certificate authority to use.TlsContextOptions.withCertificateAuthorityFromPath(String caDirPath, String caFilePath) Specifies the certificate authority to use.TlsContextOptions.withCipherPreference(TlsCipherPreference cipherPref) Sets the ciphers that the TlsContext will be able to useTlsContextOptions.withMinimumTlsVersion(TlsContextOptions.TlsVersions version) Sets the minimum TLS version that the TlsContext will allow.Enables mutual TLS (mTLS) on this TlsContextTlsContextOptions.withMtlsCustomKeyOperations(TlsContextCustomKeyOperationOptions customKeyOperations) Unix platforms only, specifies TLS options for custom private key operations.TlsContextOptions.withMtlsFromPath(String certificatePath, String privateKeyPath) Enables mutual TLS (mTLS) on this TlsContextTlsContextOptions.withMtlsPkcs11(TlsContextPkcs11Options pkcs11Options) Unix platforms only, specifies mutual TLS (mTLS) using a PKCS#11 library for private key operations.TlsContextOptions.withMtlsPkcs12(String pkcs12Path, String pkcs12Password) Apple platforms only, specifies mutual TLS (mTLS) using PKCS#12TlsContextOptions.withMtlsWindowsCertStorePath(String certificatePath) Windows platforms only, specifies mutual TLS (mTLS) using a certificate in a Windows certificate store.TlsContextOptions.withVerifyPeer()Enables TLS peer verification of certificatesTlsContextOptions.withVerifyPeer(boolean verify) Sets whether or not TLS will validate the certificate from the peer.Constructors in software.amazon.awssdk.crt.io with parameters of type TlsContextOptionsModifierConstructorDescriptionClientTlsContext(TlsContextOptions options) Creates a new Client TlsContext.ServerTlsContext(TlsContextOptions options) Creates a new Server TlsContext.TlsContext(TlsContextOptions options) Creates a new Client TlsContext.