StandardRestrictedSSLContextService

文档中心 › 组件索引 › StandardRestrictedSSLContextService

StandardRestrictedSSLContextService Controller Service

类型全限定名:cn.org.acal.lynxus.ssl.StandardRestrictedSSLContextService

所属 Bundle:cn.org.acal.lynxus:lynxus-ssl-context-service-nar:2.11.8

已废弃: 不再提供差异化的安全特性
建议改用:cn.org.acal.lynxus.ssl.PEMEncodedSSLContextProvider、cn.org.acal.lynxus.ssl.StandardSSLContextService

描述

SSLContextService 的限制实现。提供配置一次密钥库和/或信任库属性并在整个应用程序中重用该配置的能力,但只允许选择受限的 TLS/SSL 协议集。

标签

tlssslsecurecertificatekeystoretruststorejksp12pkcs12pkcs

属性

下表中,加粗的属性为必填项;其余为可选项。表格同时标注默认值、是否支持表达式语言,以及是否为敏感属性(值会被加密)。

名称默认值可选值描述
Keystore Filename密钥库的完全限定文件名
支持表达式语言:是(仅使用环境/系统变量求值)
Keystore Password密钥库的密码
敏感属性:是
Key Password密钥的密码。如果未指定此项,但指定了密钥库文件名、密码和类型,则假定密钥库密码与密钥密码相同。
敏感属性:是
Keystore Type
  • BCFKS
  • PKCS12
  • JKS
密钥库的类型
Truststore Filename信任库的完全限定文件名
支持表达式语言:是(仅使用环境/系统变量求值)
Truststore Password信任库的密码
敏感属性:是
Truststore Type
  • BCFKS
  • PKCS12
  • JKS
信任库的类型
TLS ProtocolTLS
  • TLS — 根据平台支持的版本协商最新的协议版本
  • TLSv1.3 — 要求 TLSv1.3 协议版本
  • TLSv1.2 — 要求 TLSv1.2 协议版本
用于加密连接的 TLS 协议版本。 支持的版本取决于所使用的特定 Java 版本。

状态管理

该组件不存储状态。

受限 (Restricted)

该组件不受限。

提供的 Service API

  • RestrictedSSLContextService (cn.org.acal.lynxus-lynxus-standard-services-api-nar-2.11.8)
  • SSLContextService (cn.org.acal.lynxus-lynxus-standard-services-api-nar-2.11.8)
  • SSLContextProvider (cn.org.acal.lynxus-lynxus-standard-services-api-nar-2.11.8)