crypto.MessageSigner.Public (method)
21 uses
crypto (current package)
crypto.go#L183: Public() PublicKey
crypto/tls
auth.go#L237: supportedAlgs := signatureSchemesForPublicKey(vers, priv.Public())
auth.go#L288: switch pub := signer.Public().(type) {
common.go#L1460: switch pub := priv.Public().(type) {
handshake_client.go#L823: sigType, sigHash, err := legacyTypeAndHashFromPublicKey(key.Public())
handshake_server.go#L306: switch priv.Public().(type) {
handshake_server.go#L315: return fmt.Errorf("tls: unsupported signing key type (%T)", priv.Public())
handshake_server_tls13.go#L872: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L220: sigType, sigHash, err := legacyTypeAndHashFromPublicKey(priv.Public())
crypto/x509
x509.go#L1539: switch pub := key.Public().(type) {
x509.go#L1605: if err := checkSignature(sigAlg, tbs, signature, key.Public(), true); err != nil {
x509.go#L1771: if privPub, ok := key.Public().(privateKey); !ok {
x509.go#L2081: publicKeyBytes, publicKeyAlgorithm, err = marshalPublicKey(key.Public())
github.com/refraction-networking/utls
auth.go#L180: switch pub := priv.Public().(type) {
auth.go#L274: switch pub := signer.Public().(type) {
common.go#L1452: switch pub := priv.Public().(type) {
handshake_client.go#L847: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(key.Public())
handshake_server.go#L291: switch priv.Public().(type) {
handshake_server.go#L300: return fmt.Errorf("tls: unsupported signing key type (%T)", priv.Public())
handshake_server_tls13.go#L872: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L218: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(priv.Public())
 |
The pages are generated with Golds v0.8.4. (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. |