type github.com/libp2p/go-libp2p/core/crypto.PrivKey (interface)
Method Implmentations
Equals(Key) bool
(*ECDSAPrivateKey).Equals
(*Ed25519PrivateKey).Equals
(*RsaPrivateKey).Equals
(*Secp256k1PrivateKey).Equals
GetPublic() PubKey
(*ECDSAPrivateKey).GetPublic
(*Ed25519PrivateKey).GetPublic
(*RsaPrivateKey).GetPublic
(*Secp256k1PrivateKey).GetPublic
Raw() ([]byte, error)
(*ECDSAPrivateKey).Raw
(*Ed25519PrivateKey).Raw
(*RsaPrivateKey).Raw
(*Secp256k1PrivateKey).Raw
Sign([]byte) ([]byte, error)
(*ECDSAPrivateKey).Sign
(*Ed25519PrivateKey).Sign
(*RsaPrivateKey).Sign
(*Secp256k1PrivateKey).Sign
Type() pb.KeyType
(*ECDSAPrivateKey).Type
(*Ed25519PrivateKey).Type
(*RsaPrivateKey).Type
(*Secp256k1PrivateKey).Type
![]() |
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. |