Android-cuttlefish cvd tool
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
cuttlefish::ConfUiSignerImpl Class Reference

#include <confui_sign.h>

Public Member Functions

 ConfUiSignerImpl ()
 
bool IsIoError () const
 
bool IsLogicError () const
 
bool IsOk () const
 
bool Send (SharedFD output, const confui::SignMessageError error, const std::vector< std::uint8_t > &payload)
 
std::optional< confui::SignRawMessageReceive (SharedFD input)
 

Private Types

using ReceiveError = std::uint8_t
 

Private Attributes

ReceiveError sign_status_
 

Static Private Attributes

static const ReceiveError kIoError = 1
 
static const ReceiveError kLogicError = 2
 

Member Typedef Documentation

◆ ReceiveError

using cuttlefish::ConfUiSignerImpl::ReceiveError = std::uint8_t
private

Constructor & Destructor Documentation

◆ ConfUiSignerImpl()

cuttlefish::ConfUiSignerImpl::ConfUiSignerImpl ( )
inline

Member Function Documentation

◆ IsIoError()

bool cuttlefish::ConfUiSignerImpl::IsIoError ( ) const
inline

◆ IsLogicError()

bool cuttlefish::ConfUiSignerImpl::IsLogicError ( ) const
inline

◆ IsOk()

bool cuttlefish::ConfUiSignerImpl::IsOk ( ) const
inline

◆ Receive()

std::optional< confui::SignRawMessage > cuttlefish::ConfUiSignerImpl::Receive ( SharedFD  input)

◆ Send()

bool cuttlefish::ConfUiSignerImpl::Send ( SharedFD  output,
const confui::SignMessageError  error,
const std::vector< std::uint8_t > &  payload 
)

Member Data Documentation

◆ kIoError

const ReceiveError cuttlefish::ConfUiSignerImpl::kIoError = 1
staticprivate

◆ kLogicError

const ReceiveError cuttlefish::ConfUiSignerImpl::kLogicError = 2
staticprivate

◆ sign_status_

ReceiveError cuttlefish::ConfUiSignerImpl::sign_status_
private

The documentation for this class was generated from the following files: