type crypto/ed25519.PublicKey
21 uses
crypto/ed25519 (current package)
ed25519.go#L41: type PublicKey []byte
ed25519.go#L47: func (pub PublicKey) Equal(x crypto.PublicKey) bool {
ed25519.go#L48: xx, ok := x.(PublicKey)
ed25519.go#L62: return PublicKey(publicKey)
ed25519.go#L98: func GenerateKey(rand io.Reader) (PublicKey, PrivateKey, error) {
ed25519.go#L203: func Verify(publicKey PublicKey, message, sig []byte) bool {
crypto/tls
auth.go#L33: pubKey, ok := pubkey.(ed25519.PublicKey)
auth.go#L137: case ed25519.PublicKey:
auth.go#L210: case ed25519.PublicKey:
auth.go#L279: case ed25519.PublicKey:
common.go#L1177: case ed25519.PublicKey:
handshake_client.go#L855: case *rsa.PublicKey, *ecdsa.PublicKey, ed25519.PublicKey:
handshake_server.go#L251: case ed25519.PublicKey:
handshake_server.go#L814: case *ecdsa.PublicKey, *rsa.PublicKey, ed25519.PublicKey:
tls.go#L352: case ed25519.PublicKey:
tls.go#L357: if !bytes.Equal(priv.Public().(ed25519.PublicKey), pub) {
crypto/x509
x509.go#L100: case ed25519.PublicKey:
x509.go#L857: case ed25519.PublicKey:
x509.go#L1013: return ed25519.PublicKey(pub), nil
x509.go#L2041: case ed25519.PublicKey:
golang.org/x/crypto/ed25519
ed25519_go113.go#L42: type PublicKey = ed25519.PublicKey
 |
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. |