package nsqdimport ( "bufio" "compress/flate" "crypto/tls" "fmt" "net" "sync" "sync/atomic" "time" "github.com/mreiferson/go-snappystream" "github.com... ...
分类:
其他好文 时间:
2017-08-31 12:58:58
阅读次数:
288
package nsqdimport ( "crypto/md5" "crypto/tls" "hash/crc32" "io" "log" "os" "time")type Options struct { // basic options ID int64 `flag:"worke... ...
分类:
其他好文 时间:
2017-08-31 12:43:49
阅读次数:
123
package nsqdimport ( "crypto/tls" "crypto/x509" "encoding/json" "errors" "fmt" "io/ioutil" "math/rand" "net" "os" "path" "runtime" "strings" "sync" "s... ...
分类:
其他好文 时间:
2017-08-31 12:41:31
阅读次数:
192
package nsqdimport ( "sort" "sync/atomic" "github.com/nsqio/nsq/internal/quantile")type TopicStats struct { TopicName string `json:"topic_name"` Chann... ...
分类:
其他好文 时间:
2017-08-31 12:33:06
阅读次数:
307
package http_apiimport ( "crypto/tls" "encoding/json" "fmt" "io/ioutil" "net" "net/http" "net/url" "strconv" "strings" "time")type deadlinedConn struc... ...
转自:https 单向双向认证说明_数字证书, 数字签名, SSL(TLS) , SASL 因为项目中要用到TLS + SASL 来做安全认证层. 所以看了一些网上的资料, 这里做一个总结. 1. 首先推荐几个文章: 数字证书: http://www.cnblogs.com/hyddd/archiv ...
分类:
Web程序 时间:
2017-08-30 23:47:26
阅读次数:
479
转自:SSL/TLS协议运行机制的概述 作者: 阮一峰 日期: 2014年2月 5日 日期: 2014年2月 5日 互联网的通信安全,建立在SSL/TLS协议之上。 本文简要介绍SSL/TLS协议的运行机制。文章的重点是设计思想和运行过程,不涉及具体的实现细节。如果想了解这方面的内容,请参阅RFC文 ...
分类:
其他好文 时间:
2017-08-30 23:45:49
阅读次数:
186
PKI:PublicKeyInfrastuctureopenssl:套件,开源程序libcrypto通用功能的加密库libssl用于实现TLS/SSL的功能openssl多功能命令行工具openssl可用于:生成密钥、创建数字证书、手动加密解密数据加密解密技术常用的功能及算法:对称加密:(用于加密数据)算法:DES,3DES,AES,Blowf..
分类:
其他好文 时间:
2017-08-30 19:44:51
阅读次数:
247
package clientv3import ( "crypto/tls" "crypto/x509" "io/ioutil" "time" "github.com/coreos/etcd/pkg/tlsutil" "github.com/ghodss/yaml")type Config struc... ...
分类:
其他好文 时间:
2017-08-30 14:17:18
阅读次数:
177
package clientv3import ( "crypto/tls" "errors" "fmt" "net" "net/url" "strings" "time" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" prometheu... ...
分类:
其他好文 时间:
2017-08-30 14:11:46
阅读次数:
185