php$ciphers = openssl_get_cipher_methods();$ciphers_and_aliases = openssl_get_cipher_methods
例子: varciphers=tls.getCiphers();console.log(ciphers);//['AES128-SHA','AES256-SHA',...]
另请注意,如果ssl_prefer_server_ciphers指令设置为值“on”,则应将密码配置为符合RFC7540,附录A黑名单并由客户端支持。
ctx=OpenSSL::SSL::SSLContext.newctx.ciphers="aNULL"ctx.ciphers.include?
列出所有支持的算法 支持的算法列表可以通过 putsOpenSSL::Cipher.ciphers 实例化密码 有几种方法可以创建密码实例。

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
