github.com/lzy4123/fabric@v2.1.1+incompatible/gossip/common/cert.go (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package common 8 9 import ( 10 "sync/atomic" 11 ) 12 13 // TLSCertificates aggregates server and client TLS certificates 14 type TLSCertificates struct { 15 TLSServerCert atomic.Value // *tls.Certificate server certificate of the peer 16 TLSClientCert atomic.Value // *tls.Certificate client certificate of the peer 17 }