package pb
Import Path
github.com/libp2p/go-libp2p/core/crypto/pb (on go.dev)
Dependency Relation
imports 5 packages, and imported by 3 packages
Involved Source Files
crypto.pb.go
Package-Level Type Names (total 3)
( KeyType) Descriptor() protoreflect.EnumDescriptor
( KeyType) Enum() *KeyType
Deprecated: Use KeyType.Descriptor instead.
( KeyType) Number() protoreflect.EnumNumber
( KeyType) String() string
( KeyType) Type() protoreflect.EnumType
Deprecated: Do not use.
*KeyType : github.com/goccy/go-json.Unmarshaler
*KeyType : encoding/json.Unmarshaler
KeyType : expvar.Var
KeyType : fmt.Stringer
KeyType : google.golang.org/protobuf/reflect/protoreflect.Enum
func KeyType.Enum() *KeyType
func (*PrivateKey).GetType() KeyType
func (*PublicKey).GetType() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*ECDSAPrivateKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*ECDSAPublicKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*Ed25519PrivateKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*Ed25519PublicKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.Key.Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.PrivKey.Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.PubKey.Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*RsaPrivateKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*RsaPublicKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*Secp256k1PrivateKey).Type() KeyType
func github.com/libp2p/go-libp2p/core/crypto.(*Secp256k1PublicKey).Type() KeyType
const KeyType_ECDSA
const KeyType_Ed25519
const KeyType_RSA
const KeyType_Secp256k1
Data []byte
Type *KeyType
Deprecated: Use PrivateKey.ProtoReflect.Descriptor instead.
(*PrivateKey) GetData() []byte
(*PrivateKey) GetType() KeyType
(*PrivateKey) ProtoMessage()
(*PrivateKey) ProtoReflect() protoreflect.Message
(*PrivateKey) Reset()
(*PrivateKey) String() string
*PrivateKey : github.com/gogo/protobuf/proto.Message
*PrivateKey : expvar.Var
*PrivateKey : fmt.Stringer
*PrivateKey : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*PrivateKey : google.golang.org/protobuf/runtime/protoiface.MessageV1
Data []byte
Type *KeyType
Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.
(*PublicKey) GetData() []byte
(*PublicKey) GetType() KeyType
(*PublicKey) ProtoMessage()
(*PublicKey) ProtoReflect() protoreflect.Message
(*PublicKey) Reset()
(*PublicKey) String() string
*PublicKey : github.com/gogo/protobuf/proto.Message
*PublicKey : expvar.Var
*PublicKey : fmt.Stringer
*PublicKey : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage
*PublicKey : google.golang.org/protobuf/runtime/protoiface.MessageV1
func github.com/libp2p/go-libp2p/core/crypto.PublicKeyToProto(k crypto.PubKey) (*PublicKey, error)
func github.com/libp2p/go-libp2p/core/record/pb.(*Envelope).GetPublicKey() *PublicKey
func github.com/libp2p/go-libp2p/core/sec/insecure/pb.(*Exchange).GetPubkey() *PublicKey
func github.com/libp2p/go-libp2p/core/crypto.PublicKeyFromProto(pmes *PublicKey) (crypto.PubKey, error)
Package-Level Variables (total 3)
Enum value maps for KeyType.
Enum value maps for KeyType.
Package-Level Constants (total 4)
const KeyType_ECDSA KeyType = 3 const KeyType_Ed25519 KeyType = 1 const KeyType_RSA KeyType = 0 const KeyType_Secp256k1 KeyType = 2![]() |
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. |