crypto/ecdh.PrivateKey.PublicKey (method, view implemented interface methods)
9 uses
crypto/ecdh (current package)
ecdh.go#L166: func (k *PrivateKey) PublicKey() *PublicKey {
ecdh.go#L173: return k.PublicKey()
crypto/hpke
kem.go#L247: encPubEph := privEph.PublicKey().Bytes()
pq.go#L210: ctT := skE.PublicKey().Bytes()
crypto/tls
key_agreement.go#L180: ecdhePublic := key.PublicKey().Bytes()
key_agreement.go#L327: ourPublicKey := key.PublicKey().Bytes()
key_schedule.go#L125: return &keySharePrivateKeys{ecdhe: priv}, []keyShare{{ke.id, priv.PublicKey().Bytes()}}, nil
key_schedule.go#L141: return sharedKey, keyShare{ke.id, key.PublicKey().Bytes()}, nil
crypto/x509
sec1.go#L79: PublicKey: asn1.BitString{Bytes: key.PublicKey().Bytes()},
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)