# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: encrypted_cert_logger.proto

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 descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='encrypted_cert_logger.proto',
  package='certificate_reporting',
  serialized_pb='\n\x1b\x65ncrypted_cert_logger.proto\x12\x15\x63\x65rtificate_reporting\"\xb2\x02\n\x1a\x45ncryptedCertLoggerRequest\x12\x18\n\x10\x65ncrypted_report\x18\x01 \x02(\x0c\x12!\n\x19server_public_key_version\x18\x02 \x02(\r\x12\x19\n\x11\x63lient_public_key\x18\x03 \x02(\x0c\x12q\n\talgorithm\x18\x04 \x01(\x0e\x32;.certificate_reporting.EncryptedCertLoggerRequest.Algorithm:!AEAD_ECDH_AES_128_CTR_HMAC_SHA256\"I\n\tAlgorithm\x12\x15\n\x11UNKNOWN_ALGORITHM\x10\x00\x12%\n!AEAD_ECDH_AES_128_CTR_HMAC_SHA256\x10\x01\x42\x02H\x03')



_ENCRYPTEDCERTLOGGERREQUEST_ALGORITHM = _descriptor.EnumDescriptor(
  name='Algorithm',
  full_name='certificate_reporting.EncryptedCertLoggerRequest.Algorithm',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_ALGORITHM', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='AEAD_ECDH_AES_128_CTR_HMAC_SHA256', index=1, number=1,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=288,
  serialized_end=361,
)


_ENCRYPTEDCERTLOGGERREQUEST = _descriptor.Descriptor(
  name='EncryptedCertLoggerRequest',
  full_name='certificate_reporting.EncryptedCertLoggerRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='encrypted_report', full_name='certificate_reporting.EncryptedCertLoggerRequest.encrypted_report', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='server_public_key_version', full_name='certificate_reporting.EncryptedCertLoggerRequest.server_public_key_version', index=1,
      number=2, type=13, cpp_type=3, label=2,
      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='client_public_key', full_name='certificate_reporting.EncryptedCertLoggerRequest.client_public_key', index=2,
      number=3, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='algorithm', full_name='certificate_reporting.EncryptedCertLoggerRequest.algorithm', index=3,
      number=4, type=14, cpp_type=8, label=1,
      has_default_value=True, default_value=1,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _ENCRYPTEDCERTLOGGERREQUEST_ALGORITHM,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=55,
  serialized_end=361,
)

_ENCRYPTEDCERTLOGGERREQUEST.fields_by_name['algorithm'].enum_type = _ENCRYPTEDCERTLOGGERREQUEST_ALGORITHM
_ENCRYPTEDCERTLOGGERREQUEST_ALGORITHM.containing_type = _ENCRYPTEDCERTLOGGERREQUEST;
DESCRIPTOR.message_types_by_name['EncryptedCertLoggerRequest'] = _ENCRYPTEDCERTLOGGERREQUEST

class EncryptedCertLoggerRequest(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _ENCRYPTEDCERTLOGGERREQUEST

  # @@protoc_insertion_point(class_scope:certificate_reporting.EncryptedCertLoggerRequest)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003')
# @@protoc_insertion_point(module_scope)
