crypto/ecdh.PrivateKey.PublicKey (method)
8 uses
crypto/ecdh (current package)
ecdh.go#L161: func (k *PrivateKey) PublicKey() *PublicKey {
ecdh.go#L187: return k.PublicKey()
crypto/tls
handshake_client.go#L156: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L249: hs.hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_server_tls13.go#L223: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
key_agreement.go#L192: ecdhePublic := key.PublicKey().Bytes()
key_agreement.go#L315: ourPublicKey := key.PublicKey().Bytes()
crypto/x509
sec1.go#L76: PublicKey: asn1.BitString{Bytes: key.PublicKey().Bytes()},
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |