crypto/x509.Certificate.PublicKey (field)
14 uses
crypto/x509 (current package)
x509.go#L640: PublicKey interface{}
x509.go#L790: return checkSignature(algo, signed, signature, c.PublicKey)
x509.go#L1308: out.PublicKey, err = parsePublicKey(out.PublicKeyAlgorithm, &in.TBSCertificate.PublicKey)
crypto/tls
handshake_client.go#L854: switch certs[0].PublicKey.(type) {
handshake_client.go#L859: return fmt.Errorf("tls: server's certificate contains an unsupported type of public key: %T", certs[0].PublicKey)
handshake_client_tls13.go#L490: if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
handshake_server.go#L568: pub = c.peerCertificates[0].PublicKey
handshake_server.go#L813: switch certs[0].PublicKey.(type) {
handshake_server.go#L817: return fmt.Errorf("tls: client certificate contains an unsupported public key of type %T", certs[0].PublicKey)
handshake_server_tls13.go#L832: if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
key_agreement.go#L70: encrypted, err := rsa.EncryptPKCS1v15(config.rand(), cert.PublicKey.(*rsa.PublicKey), preMasterSecret)
key_agreement.go#L306: sigType, sigHash, err = legacyTypeAndHashFromPublicKey(cert.PublicKey)
key_agreement.go#L322: if err := verifyHandshakeSignature(sigType, cert.PublicKey, sigHash, signed, sig); err != nil {
tls.go#L335: switch pub := x509Cert.PublicKey.(type) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |