# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from typing import (
    Optional as typing___Optional,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)


class PerformAttestationRequest(google___protobuf___message___Message):
    challenge = ... # type: bytes

    def __init__(self,
        *,
        challenge : typing___Optional[bytes] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> PerformAttestationRequest: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"challenge"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"challenge",b"challenge"]) -> None: ...

class PerformAttestationResponse(google___protobuf___message___Message):
    bootloader_hash = ... # type: bytes
    device_pubkey = ... # type: bytes
    certificate = ... # type: bytes
    root_pubkey_identifier = ... # type: bytes
    challenge_signature = ... # type: bytes

    def __init__(self,
        *,
        bootloader_hash : typing___Optional[bytes] = None,
        device_pubkey : typing___Optional[bytes] = None,
        certificate : typing___Optional[bytes] = None,
        root_pubkey_identifier : typing___Optional[bytes] = None,
        challenge_signature : typing___Optional[bytes] = None,
        ) -> None: ...
    @classmethod
    def FromString(cls, s: bytes) -> PerformAttestationResponse: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def ClearField(self, field_name: typing_extensions___Literal[u"bootloader_hash",u"certificate",u"challenge_signature",u"device_pubkey",u"root_pubkey_identifier"]) -> None: ...
    else:
        def ClearField(self, field_name: typing_extensions___Literal[u"bootloader_hash",b"bootloader_hash",u"certificate",b"certificate",u"challenge_signature",b"challenge_signature",u"device_pubkey",b"device_pubkey",u"root_pubkey_identifier",b"root_pubkey_identifier"]) -> None: ...
