crypto.Decrypter.Public (method)
7 uses
crypto (current package)
crypto.go#L232: Public() PublicKey
crypto/tls
common.go#L1411: if _, ok := priv.Public().(*rsa.PublicKey); !ok {
handshake_server.go#L319: switch priv.Public().(type) {
handshake_server.go#L324: return fmt.Errorf("tls: unsupported decryption key type (%T)", priv.Public())
github.com/refraction-networking/utls
common.go#L1407: if _, ok := priv.Public().(*rsa.PublicKey); !ok {
handshake_server.go#L304: switch priv.Public().(type) {
handshake_server.go#L309: return fmt.Errorf("tls: unsupported decryption key type (%T)", 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. |