# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tink/proto/jwt_ecdsa.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
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 import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='tink/proto/jwt_ecdsa.proto',
  package='google.crypto.tink',
  syntax='proto3',
  serialized_pb=_b('\n\x1atink/proto/jwt_ecdsa.proto\x12\x12google.crypto.tink\"t\n\x11JwtEcdsaPublicKey\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x38\n\talgorithm\x18\x02 \x01(\x0e\x32%.google.crypto.tink.JwtEcdsaAlgorithm\x12\t\n\x01x\x18\x03 \x01(\x0c\x12\t\n\x01y\x18\x04 \x01(\x0c\"s\n\x12JwtEcdsaPrivateKey\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x39\n\npublic_key\x18\x02 \x01(\x0b\x32%.google.crypto.tink.JwtEcdsaPublicKey\x12\x11\n\tkey_value\x18\x03 \x01(\x0c\"^\n\x11JwtEcdsaKeyFormat\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x38\n\talgorithm\x18\x02 \x01(\x0e\x32%.google.crypto.tink.JwtEcdsaAlgorithm*D\n\x11JwtEcdsaAlgorithm\x12\x0e\n\nES_UNKNOWN\x10\x00\x12\t\n\x05\x45S256\x10\x01\x12\t\n\x05\x45S384\x10\x02\x12\t\n\x05\x45S512\x10\x03\x42Q\n\x1c\x63om.google.crypto.tink.protoP\x01Z/github.com/google/tink/proto/jwt_ecdsa_go_protob\x06proto3')
)
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_JWTECDSAALGORITHM = _descriptor.EnumDescriptor(
  name='JwtEcdsaAlgorithm',
  full_name='google.crypto.tink.JwtEcdsaAlgorithm',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ES_UNKNOWN', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ES256', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ES384', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ES512', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=381,
  serialized_end=449,
)
_sym_db.RegisterEnumDescriptor(_JWTECDSAALGORITHM)

JwtEcdsaAlgorithm = enum_type_wrapper.EnumTypeWrapper(_JWTECDSAALGORITHM)
ES_UNKNOWN = 0
ES256 = 1
ES384 = 2
ES512 = 3



_JWTECDSAPUBLICKEY = _descriptor.Descriptor(
  name='JwtEcdsaPublicKey',
  full_name='google.crypto.tink.JwtEcdsaPublicKey',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='version', full_name='google.crypto.tink.JwtEcdsaPublicKey.version', index=0,
      number=1, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='algorithm', full_name='google.crypto.tink.JwtEcdsaPublicKey.algorithm', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='x', full_name='google.crypto.tink.JwtEcdsaPublicKey.x', index=2,
      number=3, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='y', full_name='google.crypto.tink.JwtEcdsaPublicKey.y', index=3,
      number=4, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=50,
  serialized_end=166,
)


_JWTECDSAPRIVATEKEY = _descriptor.Descriptor(
  name='JwtEcdsaPrivateKey',
  full_name='google.crypto.tink.JwtEcdsaPrivateKey',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='version', full_name='google.crypto.tink.JwtEcdsaPrivateKey.version', index=0,
      number=1, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='public_key', full_name='google.crypto.tink.JwtEcdsaPrivateKey.public_key', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='key_value', full_name='google.crypto.tink.JwtEcdsaPrivateKey.key_value', index=2,
      number=3, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=168,
  serialized_end=283,
)


_JWTECDSAKEYFORMAT = _descriptor.Descriptor(
  name='JwtEcdsaKeyFormat',
  full_name='google.crypto.tink.JwtEcdsaKeyFormat',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='version', full_name='google.crypto.tink.JwtEcdsaKeyFormat.version', index=0,
      number=1, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='algorithm', full_name='google.crypto.tink.JwtEcdsaKeyFormat.algorithm', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=285,
  serialized_end=379,
)

_JWTECDSAPUBLICKEY.fields_by_name['algorithm'].enum_type = _JWTECDSAALGORITHM
_JWTECDSAPRIVATEKEY.fields_by_name['public_key'].message_type = _JWTECDSAPUBLICKEY
_JWTECDSAKEYFORMAT.fields_by_name['algorithm'].enum_type = _JWTECDSAALGORITHM
DESCRIPTOR.message_types_by_name['JwtEcdsaPublicKey'] = _JWTECDSAPUBLICKEY
DESCRIPTOR.message_types_by_name['JwtEcdsaPrivateKey'] = _JWTECDSAPRIVATEKEY
DESCRIPTOR.message_types_by_name['JwtEcdsaKeyFormat'] = _JWTECDSAKEYFORMAT
DESCRIPTOR.enum_types_by_name['JwtEcdsaAlgorithm'] = _JWTECDSAALGORITHM

JwtEcdsaPublicKey = _reflection.GeneratedProtocolMessageType('JwtEcdsaPublicKey', (_message.Message,), dict(
  DESCRIPTOR = _JWTECDSAPUBLICKEY,
  __module__ = 'tink.proto.jwt_ecdsa_pb2'
  # @@protoc_insertion_point(class_scope:google.crypto.tink.JwtEcdsaPublicKey)
  ))
_sym_db.RegisterMessage(JwtEcdsaPublicKey)

JwtEcdsaPrivateKey = _reflection.GeneratedProtocolMessageType('JwtEcdsaPrivateKey', (_message.Message,), dict(
  DESCRIPTOR = _JWTECDSAPRIVATEKEY,
  __module__ = 'tink.proto.jwt_ecdsa_pb2'
  # @@protoc_insertion_point(class_scope:google.crypto.tink.JwtEcdsaPrivateKey)
  ))
_sym_db.RegisterMessage(JwtEcdsaPrivateKey)

JwtEcdsaKeyFormat = _reflection.GeneratedProtocolMessageType('JwtEcdsaKeyFormat', (_message.Message,), dict(
  DESCRIPTOR = _JWTECDSAKEYFORMAT,
  __module__ = 'tink.proto.jwt_ecdsa_pb2'
  # @@protoc_insertion_point(class_scope:google.crypto.tink.JwtEcdsaKeyFormat)
  ))
_sym_db.RegisterMessage(JwtEcdsaKeyFormat)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\034com.google.crypto.tink.protoP\001Z/github.com/google/tink/proto/jwt_ecdsa_go_proto'))
# @@protoc_insertion_point(module_scope)
