1# pylint: skip-file
2# -*- coding: utf-8 -*-
3# Generated by the protocol buffer compiler.  DO NOT EDIT!
4# source: crypto/sigpb/sigpb.proto
5
6import sys
7_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
8from google.protobuf import descriptor as _descriptor
9from google.protobuf import message as _message
10from google.protobuf import reflection as _reflection
11from google.protobuf import symbol_database as _symbol_database
12# @@protoc_insertion_point(imports)
13
14_sym_db = _symbol_database.Default()
15
16
17
18
19DESCRIPTOR = _descriptor.FileDescriptor(
20  name='crypto/sigpb/sigpb.proto',
21  package='sigpb',
22  syntax='proto3',
23  serialized_options=_b('Z\'github.com/google/trillian/crypto/sigpb'),
24  serialized_pb=_b('\n\x18\x63rypto/sigpb/sigpb.proto\x12\x05sigpb\"\x97\x02\n\x0f\x44igitallySigned\x12<\n\x0ehash_algorithm\x18\x01 \x01(\x0e\x32$.sigpb.DigitallySigned.HashAlgorithm\x12\x46\n\x13signature_algorithm\x18\x02 \x01(\x0e\x32).sigpb.DigitallySigned.SignatureAlgorithm\x12\x11\n\tsignature\x18\x03 \x01(\x0c\"%\n\rHashAlgorithm\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06SHA256\x10\x04\"D\n\x12SignatureAlgorithm\x12\r\n\tANONYMOUS\x10\x00\x12\x07\n\x03RSA\x10\x01\x12\t\n\x05\x45\x43\x44SA\x10\x03\x12\x0b\n\x07\x45\x44\x32\x35\x35\x31\x39\x10\x07\x42)Z\'github.com/google/trillian/crypto/sigpbb\x06proto3')
25)
26
27
28
29_DIGITALLYSIGNED_HASHALGORITHM = _descriptor.EnumDescriptor(
30  name='HashAlgorithm',
31  full_name='sigpb.DigitallySigned.HashAlgorithm',
32  filename=None,
33  file=DESCRIPTOR,
34  values=[
35    _descriptor.EnumValueDescriptor(
36      name='NONE', index=0, number=0,
37      serialized_options=None,
38      type=None),
39    _descriptor.EnumValueDescriptor(
40      name='SHA256', index=1, number=4,
41      serialized_options=None,
42      type=None),
43  ],
44  containing_type=None,
45  serialized_options=None,
46  serialized_start=208,
47  serialized_end=245,
48)
49_sym_db.RegisterEnumDescriptor(_DIGITALLYSIGNED_HASHALGORITHM)
50
51_DIGITALLYSIGNED_SIGNATUREALGORITHM = _descriptor.EnumDescriptor(
52  name='SignatureAlgorithm',
53  full_name='sigpb.DigitallySigned.SignatureAlgorithm',
54  filename=None,
55  file=DESCRIPTOR,
56  values=[
57    _descriptor.EnumValueDescriptor(
58      name='ANONYMOUS', index=0, number=0,
59      serialized_options=None,
60      type=None),
61    _descriptor.EnumValueDescriptor(
62      name='RSA', index=1, number=1,
63      serialized_options=None,
64      type=None),
65    _descriptor.EnumValueDescriptor(
66      name='ECDSA', index=2, number=3,
67      serialized_options=None,
68      type=None),
69    _descriptor.EnumValueDescriptor(
70      name='ED25519', index=3, number=7,
71      serialized_options=None,
72      type=None),
73  ],
74  containing_type=None,
75  serialized_options=None,
76  serialized_start=247,
77  serialized_end=315,
78)
79_sym_db.RegisterEnumDescriptor(_DIGITALLYSIGNED_SIGNATUREALGORITHM)
80
81
82_DIGITALLYSIGNED = _descriptor.Descriptor(
83  name='DigitallySigned',
84  full_name='sigpb.DigitallySigned',
85  filename=None,
86  file=DESCRIPTOR,
87  containing_type=None,
88  fields=[
89    _descriptor.FieldDescriptor(
90      name='hash_algorithm', full_name='sigpb.DigitallySigned.hash_algorithm', index=0,
91      number=1, type=14, cpp_type=8, label=1,
92      has_default_value=False, default_value=0,
93      message_type=None, enum_type=None, containing_type=None,
94      is_extension=False, extension_scope=None,
95      serialized_options=None, file=DESCRIPTOR),
96    _descriptor.FieldDescriptor(
97      name='signature_algorithm', full_name='sigpb.DigitallySigned.signature_algorithm', index=1,
98      number=2, type=14, cpp_type=8, label=1,
99      has_default_value=False, default_value=0,
100      message_type=None, enum_type=None, containing_type=None,
101      is_extension=False, extension_scope=None,
102      serialized_options=None, file=DESCRIPTOR),
103    _descriptor.FieldDescriptor(
104      name='signature', full_name='sigpb.DigitallySigned.signature', index=2,
105      number=3, type=12, cpp_type=9, label=1,
106      has_default_value=False, default_value=_b(""),
107      message_type=None, enum_type=None, containing_type=None,
108      is_extension=False, extension_scope=None,
109      serialized_options=None, file=DESCRIPTOR),
110  ],
111  extensions=[
112  ],
113  nested_types=[],
114  enum_types=[
115    _DIGITALLYSIGNED_HASHALGORITHM,
116    _DIGITALLYSIGNED_SIGNATUREALGORITHM,
117  ],
118  serialized_options=None,
119  is_extendable=False,
120  syntax='proto3',
121  extension_ranges=[],
122  oneofs=[
123  ],
124  serialized_start=36,
125  serialized_end=315,
126)
127
128_DIGITALLYSIGNED.fields_by_name['hash_algorithm'].enum_type = _DIGITALLYSIGNED_HASHALGORITHM
129_DIGITALLYSIGNED.fields_by_name['signature_algorithm'].enum_type = _DIGITALLYSIGNED_SIGNATUREALGORITHM
130_DIGITALLYSIGNED_HASHALGORITHM.containing_type = _DIGITALLYSIGNED
131_DIGITALLYSIGNED_SIGNATUREALGORITHM.containing_type = _DIGITALLYSIGNED
132DESCRIPTOR.message_types_by_name['DigitallySigned'] = _DIGITALLYSIGNED
133_sym_db.RegisterFileDescriptor(DESCRIPTOR)
134
135DigitallySigned = _reflection.GeneratedProtocolMessageType('DigitallySigned', (_message.Message,), {
136  'DESCRIPTOR' : _DIGITALLYSIGNED,
137  '__module__' : 'crypto.sigpb.sigpb_pb2'
138  # @@protoc_insertion_point(class_scope:sigpb.DigitallySigned)
139  })
140_sym_db.RegisterMessage(DigitallySigned)
141
142
143DESCRIPTOR._options = None
144# @@protoc_insertion_point(module_scope)
145