另见crypto:public_decrypt/4 der_decode(Asn1type,Der)->term() 类型 ASN.1公开密钥应用程序中的ASN.1类型。
#'AlgorithmIdentifier'{algorithm,%oid()parameters%der_encoded()}.
名称可以由DER编码的字符串创建der,一个数组表示一个distinguished_name或distinguished_name一个template。
Packageasn1 import"encoding/asn1" 概述 索引 概述 按照ITU-TRecX.690的规定,asn1包实现了对DER编码的ASN.1数据结构的解析。
公共类方法 OpenSSL::OCSP::BasicResponse.new(der_string=nil)→basic_response显示源文件 创建一个新的BasicResponse。
参数 string是包含任意私钥或公钥的DER或PEM编码的字符串。 io是一个IO包含DER或PEM编码的任意私钥或公钥的实例。

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