crypto.Signer.Public (method)
16 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#L1252: switch pub := priv.Public().(type) {
handshake_client.go#L691: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(key.Public())
handshake_server.go#L257: switch priv.Public().(type) {
handshake_server.go#L266: return fmt.Errorf("tls: unsupported signing key type (%T)", priv.Public())
handshake_server_tls13.go#L709: public := hs.cert.PrivateKey.(crypto.Signer).Public()
key_agreement.go#L218: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(priv.Public())
crypto/x509
x509.go#L1561: hashFunc, signatureAlgorithm, err := signingParamsForPublicKey(key.Public(), template.SignatureAlgorithm)
x509.go#L1603: if privPub, ok := key.Public().(privateKey); !ok {
x509.go#L1663: if err := checkSignature(getSignatureAlgorithmFromAI(signatureAlgorithm), c.Raw, signature, key.Public(), true); err != nil {
x509.go#L1717: hashFunc, signatureAlgorithm, err := signingParamsForPublicKey(key.Public(), 0)
x509.go#L1939: hashFunc, sigAlgo, err = signingParamsForPublicKey(key.Public(), template.SignatureAlgorithm)
x509.go#L1946: publicKeyBytes, publicKeyAlgorithm, err = marshalPublicKey(key.Public())
x509.go#L2312: hashFunc, signatureAlgorithm, err := signingParamsForPublicKey(priv.Public(), template.SignatureAlgorithm)
|
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. |