Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定包含服务器 PEM 编码的公共密钥(用于端对端加密)的文件。
e2ee_public_key=file
TCPIP、TLS、HTTP、HTTPS
无
密钥类型必须与 e2ee_type 参数中指定的类型相匹配。
若要使端对端加密生效,则需要使用此选项。
端对端加密也可与 TLS/HTTPS 协议选项 fips 一起使用。使用 ECC 时不支持此选项。请参见fips。
以下示例显示 UltraLite 客户端的端对端加密:
info.stream = "https"; info.stream_parms = "tls_type=rsa;trusted_certificates=rsaroot.crt;e2ee_type=rsa;e2ee_public_key=rsapublic.pem"