# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: crypto.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import enum_type_wrapper

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n\x0c\x63rypto.proto\x12\tcrypto.pb"?\n\tPublicKey\x12$\n\x08key_type\x18\x01 \x02(\x0e\x32\x12.crypto.pb.KeyType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x02(\x0c"@\n\nPrivateKey\x12$\n\x08key_type\x18\x01 \x02(\x0e\x32\x12.crypto.pb.KeyType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x02(\x0c*9\n\x07KeyType\x12\x07\n\x03RSA\x10\x00\x12\x0b\n\x07\x45\x64\x32\x35\x35\x31\x39\x10\x01\x12\r\n\tSecp256k1\x10\x02\x12\t\n\x05\x45\x43\x44SA\x10\x03'
)

_KEYTYPE = DESCRIPTOR.enum_types_by_name["KeyType"]
KeyType = enum_type_wrapper.EnumTypeWrapper(_KEYTYPE)
RSA = 0
Ed25519 = 1
Secp256k1 = 2
ECDSA = 3


_PUBLICKEY = DESCRIPTOR.message_types_by_name["PublicKey"]
_PRIVATEKEY = DESCRIPTOR.message_types_by_name["PrivateKey"]
PublicKey = _reflection.GeneratedProtocolMessageType(
    "PublicKey",
    (_message.Message,),
    {
        "DESCRIPTOR": _PUBLICKEY,
        "__module__": "crypto_pb2",
        # @@protoc_insertion_point(class_scope:crypto.pb.PublicKey)
    },
)
_sym_db.RegisterMessage(PublicKey)

PrivateKey = _reflection.GeneratedProtocolMessageType(
    "PrivateKey",
    (_message.Message,),
    {
        "DESCRIPTOR": _PRIVATEKEY,
        "__module__": "crypto_pb2",
        # @@protoc_insertion_point(class_scope:crypto.pb.PrivateKey)
    },
)
_sym_db.RegisterMessage(PrivateKey)

if not _descriptor._USE_C_DESCRIPTORS:

    DESCRIPTOR._options = None
    _KEYTYPE._serialized_start = 158
    _KEYTYPE._serialized_end = 215
    _PUBLICKEY._serialized_start = 27
    _PUBLICKEY._serialized_end = 90
    _PRIVATEKEY._serialized_start = 92
    _PRIVATEKEY._serialized_end = 156
# @@protoc_insertion_point(module_scope)
