type github.com/libp2p/go-libp2p/core/crypto.PubKey (interface)
Method Implmentations
Equals(Key) bool
(*ECDSAPublicKey).Equals
(*Ed25519PublicKey).Equals
(*RsaPublicKey).Equals
(*Secp256k1PublicKey).Equals
Raw() ([]byte, error)
(*ECDSAPublicKey).Raw
(*Ed25519PublicKey).Raw
(*RsaPublicKey).Raw
(*Secp256k1PublicKey).Raw
Type() pb.KeyType
(*ECDSAPublicKey).Type
(*Ed25519PublicKey).Type
(*RsaPublicKey).Type
(*Secp256k1PublicKey).Type
Verify(data []byte, sig []byte) (bool, error)
(*ECDSAPublicKey).Verify
(*Ed25519PublicKey).Verify
(*RsaPublicKey).Verify
(*Secp256k1PublicKey).Verify
![]() |
The pages are generated with Golds v0.8.2. (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. |