# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: pbose/protobuf/PbWK.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from pbose.protobuf import PbWA_pb2 as pbose_dot_protobuf_dot_PbWA__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='pbose/protobuf/PbWK.proto',
  package='pbose.protobuf',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\x19pbose/protobuf/PbWK.proto\x12\x0epbose.protobuf\x1a\x19pbose/protobuf/PbWA.proto\"\xa9\x03\n\x04PbWK\x12*\n\x03kty\x18\x01 \x01(\x0e\x32\x1d.pbose.protobuf.PbWKType.Enum\x12\x31\n\x0bkty_prop_ec\x18\x02 \x01(\x0b\x32\x1a.pbose.protobuf.PbWKTypeECH\x00\x12\x33\n\x0ckty_prop_rsa\x18\x03 \x01(\x0b\x32\x1b.pbose.protobuf.PbWKTypeRSAH\x00\x12\x33\n\x0ckty_prop_oct\x18\x04 \x01(\x0b\x32\x1b.pbose.protobuf.PbWKTypeOctH\x00\x12)\n\x03use\x18\x05 \x01(\x0e\x32\x1c.pbose.protobuf.PbWKUse.Enum\x12\x30\n\x07key_ops\x18\x06 \x03(\x0e\x32\x1f.pbose.protobuf.PbWKKeyOps.Enum\x12)\n\x03\x61lg\x18\x07 \x01(\x0e\x32\x1c.pbose.protobuf.PbWKAlg.Enum\x12\x0b\n\x03kid\x18\x08 \x01(\t\x12\x0b\n\x03x5u\x18\t \x01(\t\x12\x0b\n\x03x5c\x18\n \x03(\x0c\x12\x0b\n\x03x5t\x18\x0b \x01(\x0c\x12\x10\n\x08x5t_s256\x18\x0c \x01(\x0c\x42\n\n\x08kty_prop\"0\n\x07PbWKUse\"%\n\x04\x45num\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03SIG\x10\x01\x12\x07\n\x03\x45NC\x10\x02\"\x8c\x01\n\nPbWKKeyOps\"~\n\x04\x45num\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04SIGN\x10\x01\x12\n\n\x06VERIFY\x10\x02\x12\x0b\n\x07\x45NCRYPT\x10\x03\x12\x0b\n\x07\x44\x45\x43RYPT\x10\x04\x12\x0b\n\x07WRAPKEY\x10\x05\x12\r\n\tUNWRAPKEY\x10\x06\x12\r\n\tDERIVEKEY\x10\x07\x12\x0e\n\nDERIVEBITS\x10\x08\"-\n\x07PbWKSet\x12\"\n\x04keys\x18\x01 \x03(\x0b\x32\x14.pbose.protobuf.PbWKb\x06proto3')
  ,
  dependencies=[pbose_dot_protobuf_dot_PbWA__pb2.DESCRIPTOR,])



_PBWKUSE_ENUM = _descriptor.EnumDescriptor(
  name='Enum',
  full_name='pbose.protobuf.PbWKUse.Enum',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SIG', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ENC', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=511,
  serialized_end=548,
)
_sym_db.RegisterEnumDescriptor(_PBWKUSE_ENUM)

_PBWKKEYOPS_ENUM = _descriptor.EnumDescriptor(
  name='Enum',
  full_name='pbose.protobuf.PbWKKeyOps.Enum',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SIGN', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='VERIFY', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ENCRYPT', index=3, number=3,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DECRYPT', index=4, number=4,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WRAPKEY', index=5, number=5,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='UNWRAPKEY', index=6, number=6,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DERIVEKEY', index=7, number=7,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='DERIVEBITS', index=8, number=8,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=565,
  serialized_end=691,
)
_sym_db.RegisterEnumDescriptor(_PBWKKEYOPS_ENUM)


_PBWK = _descriptor.Descriptor(
  name='PbWK',
  full_name='pbose.protobuf.PbWK',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='kty', full_name='pbose.protobuf.PbWK.kty', index=0,
      number=1, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='kty_prop_ec', full_name='pbose.protobuf.PbWK.kty_prop_ec', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='kty_prop_rsa', full_name='pbose.protobuf.PbWK.kty_prop_rsa', index=2,
      number=3, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='kty_prop_oct', full_name='pbose.protobuf.PbWK.kty_prop_oct', index=3,
      number=4, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='use', full_name='pbose.protobuf.PbWK.use', index=4,
      number=5, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='key_ops', full_name='pbose.protobuf.PbWK.key_ops', index=5,
      number=6, type=14, cpp_type=8, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='alg', full_name='pbose.protobuf.PbWK.alg', index=6,
      number=7, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='kid', full_name='pbose.protobuf.PbWK.kid', index=7,
      number=8, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='x5u', full_name='pbose.protobuf.PbWK.x5u', index=8,
      number=9, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='x5c', full_name='pbose.protobuf.PbWK.x5c', index=9,
      number=10, type=12, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='x5t', full_name='pbose.protobuf.PbWK.x5t', index=10,
      number=11, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='x5t_s256', full_name='pbose.protobuf.PbWK.x5t_s256', index=11,
      number=12, 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='kty_prop', full_name='pbose.protobuf.PbWK.kty_prop',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=73,
  serialized_end=498,
)


_PBWKUSE = _descriptor.Descriptor(
  name='PbWKUse',
  full_name='pbose.protobuf.PbWKUse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _PBWKUSE_ENUM,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=500,
  serialized_end=548,
)


_PBWKKEYOPS = _descriptor.Descriptor(
  name='PbWKKeyOps',
  full_name='pbose.protobuf.PbWKKeyOps',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _PBWKKEYOPS_ENUM,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=551,
  serialized_end=691,
)


_PBWKSET = _descriptor.Descriptor(
  name='PbWKSet',
  full_name='pbose.protobuf.PbWKSet',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='keys', full_name='pbose.protobuf.PbWKSet.keys', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=693,
  serialized_end=738,
)

_PBWK.fields_by_name['kty'].enum_type = pbose_dot_protobuf_dot_PbWA__pb2._PBWKTYPE_ENUM
_PBWK.fields_by_name['kty_prop_ec'].message_type = pbose_dot_protobuf_dot_PbWA__pb2._PBWKTYPEEC
_PBWK.fields_by_name['kty_prop_rsa'].message_type = pbose_dot_protobuf_dot_PbWA__pb2._PBWKTYPERSA
_PBWK.fields_by_name['kty_prop_oct'].message_type = pbose_dot_protobuf_dot_PbWA__pb2._PBWKTYPEOCT
_PBWK.fields_by_name['use'].enum_type = _PBWKUSE_ENUM
_PBWK.fields_by_name['key_ops'].enum_type = _PBWKKEYOPS_ENUM
_PBWK.fields_by_name['alg'].enum_type = pbose_dot_protobuf_dot_PbWA__pb2._PBWKALG_ENUM
_PBWK.oneofs_by_name['kty_prop'].fields.append(
  _PBWK.fields_by_name['kty_prop_ec'])
_PBWK.fields_by_name['kty_prop_ec'].containing_oneof = _PBWK.oneofs_by_name['kty_prop']
_PBWK.oneofs_by_name['kty_prop'].fields.append(
  _PBWK.fields_by_name['kty_prop_rsa'])
_PBWK.fields_by_name['kty_prop_rsa'].containing_oneof = _PBWK.oneofs_by_name['kty_prop']
_PBWK.oneofs_by_name['kty_prop'].fields.append(
  _PBWK.fields_by_name['kty_prop_oct'])
_PBWK.fields_by_name['kty_prop_oct'].containing_oneof = _PBWK.oneofs_by_name['kty_prop']
_PBWKUSE_ENUM.containing_type = _PBWKUSE
_PBWKKEYOPS_ENUM.containing_type = _PBWKKEYOPS
_PBWKSET.fields_by_name['keys'].message_type = _PBWK
DESCRIPTOR.message_types_by_name['PbWK'] = _PBWK
DESCRIPTOR.message_types_by_name['PbWKUse'] = _PBWKUSE
DESCRIPTOR.message_types_by_name['PbWKKeyOps'] = _PBWKKEYOPS
DESCRIPTOR.message_types_by_name['PbWKSet'] = _PBWKSET
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

PbWK = _reflection.GeneratedProtocolMessageType('PbWK', (_message.Message,), dict(
  DESCRIPTOR = _PBWK,
  __module__ = 'pbose.protobuf.PbWK_pb2'
  # @@protoc_insertion_point(class_scope:pbose.protobuf.PbWK)
  ))
_sym_db.RegisterMessage(PbWK)

PbWKUse = _reflection.GeneratedProtocolMessageType('PbWKUse', (_message.Message,), dict(
  DESCRIPTOR = _PBWKUSE,
  __module__ = 'pbose.protobuf.PbWK_pb2'
  # @@protoc_insertion_point(class_scope:pbose.protobuf.PbWKUse)
  ))
_sym_db.RegisterMessage(PbWKUse)

PbWKKeyOps = _reflection.GeneratedProtocolMessageType('PbWKKeyOps', (_message.Message,), dict(
  DESCRIPTOR = _PBWKKEYOPS,
  __module__ = 'pbose.protobuf.PbWK_pb2'
  # @@protoc_insertion_point(class_scope:pbose.protobuf.PbWKKeyOps)
  ))
_sym_db.RegisterMessage(PbWKKeyOps)

PbWKSet = _reflection.GeneratedProtocolMessageType('PbWKSet', (_message.Message,), dict(
  DESCRIPTOR = _PBWKSET,
  __module__ = 'pbose.protobuf.PbWK_pb2'
  # @@protoc_insertion_point(class_scope:pbose.protobuf.PbWKSet)
  ))
_sym_db.RegisterMessage(PbWKSet)


# @@protoc_insertion_point(module_scope)
