crypto.Signer.Public (method)
14 uses
crypto (current package)
crypto.go#L183: Public() PublicKey
crypto/tls
auth.go#L180: switch pub := priv.Public().(type) {
auth.go#L272: switch pub := signer.Public().(type) {
common.go#L1332: switch pub := priv.Public().(type) {
handshake_client.go#L803: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(key.Public())
handshake_server.go#L263: switch priv.Public().(type) {
handshake_server.go#L272: return fmt.Errorf("tls: unsupported signing key type (%T)", priv.Public())
handshake_server_tls13.go#L756: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L218: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(priv.Public())
crypto/x509
x509.go#L1456: switch pub := key.Public().(type) {
x509.go#L1528: if err := checkSignature(sigAlg, tbs, signature, key.Public(), true); err != nil {
x509.go#L1664: if privPub, ok := key.Public().(privateKey); !ok {
x509.go#L1972: publicKeyBytes, publicKeyAlgorithm, err = marshalPublicKey(key.Public())
github.com/golang-jwt/jwt/v5
ed25519.go#L66: if _, ok := ed25519Key.Public().(ed25519.PublicKey); !ok {
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |