# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tink/proto/jwt_hmac.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()


from tink.proto import common_pb2 as tink_dot_proto_dot_common__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='tink/proto/jwt_hmac.proto',
  package='google.crypto.tink',
  syntax='proto3',
  serialized_pb=_b('\n\x19tink/proto/jwt_hmac.proto\x12\x12google.crypto.tink\x1a\x17tink/proto/common.proto\"i\n\nJwtHmacKey\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x37\n\talgorithm\x18\x02 \x01(\x0e\x32$.google.crypto.tink.JwtHmacAlgorithm\x12\x11\n\tkey_value\x18\x03 \x01(\x0c\"n\n\x10JwtHmacKeyFormat\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x37\n\talgorithm\x18\x02 \x01(\x0e\x32$.google.crypto.tink.JwtHmacAlgorithm\x12\x10\n\x08key_size\x18\x03 \x01(\r*C\n\x10JwtHmacAlgorithm\x12\x0e\n\nHS_UNKNOWN\x10\x00\x12\t\n\x05HS256\x10\x01\x12\t\n\x05HS384\x10\x02\x12\t\n\x05HS512\x10\x03\x42P\n\x1c\x63om.google.crypto.tink.protoP\x01Z.github.com/google/tink/proto/jwt_hmac_go_protob\x06proto3')
  ,
  dependencies=[tink_dot_proto_dot_common__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_JWTHMACALGORITHM = _descriptor.EnumDescriptor(
  name='JwtHmacAlgorithm',
  full_name='google.crypto.tink.JwtHmacAlgorithm',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='HS_UNKNOWN', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='HS256', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='HS384', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='HS512', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=293,
  serialized_end=360,
)
_sym_db.RegisterEnumDescriptor(_JWTHMACALGORITHM)

JwtHmacAlgorithm = enum_type_wrapper.EnumTypeWrapper(_JWTHMACALGORITHM)
HS_UNKNOWN = 0
HS256 = 1
HS384 = 2
HS512 = 3



_JWTHMACKEY = _descriptor.Descriptor(
  name='JwtHmacKey',
  full_name='google.crypto.tink.JwtHmacKey',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='version', full_name='google.crypto.tink.JwtHmacKey.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.JwtHmacKey.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='key_value', full_name='google.crypto.tink.JwtHmacKey.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=74,
  serialized_end=179,
)


_JWTHMACKEYFORMAT = _descriptor.Descriptor(
  name='JwtHmacKeyFormat',
  full_name='google.crypto.tink.JwtHmacKeyFormat',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='version', full_name='google.crypto.tink.JwtHmacKeyFormat.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.JwtHmacKeyFormat.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='key_size', full_name='google.crypto.tink.JwtHmacKeyFormat.key_size', index=2,
      number=3, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=181,
  serialized_end=291,
)

_JWTHMACKEY.fields_by_name['algorithm'].enum_type = _JWTHMACALGORITHM
_JWTHMACKEYFORMAT.fields_by_name['algorithm'].enum_type = _JWTHMACALGORITHM
DESCRIPTOR.message_types_by_name['JwtHmacKey'] = _JWTHMACKEY
DESCRIPTOR.message_types_by_name['JwtHmacKeyFormat'] = _JWTHMACKEYFORMAT
DESCRIPTOR.enum_types_by_name['JwtHmacAlgorithm'] = _JWTHMACALGORITHM

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

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


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_hmac_go_proto'))
# @@protoc_insertion_point(module_scope)
