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

#include <confui_sign.h>

Collaboration diagram for cuttlefish::ConfUiSignSender:
Collaboration graph
[legend]

Public Member Functions

 ConfUiSignSender (SharedFD fd)
 
std::optional< confui::SignRawMessageReceive ()
 
bool Send (const SignMessageError error, const std::vector< std::uint8_t > &encoded_hmac)
 
bool IsOk () const
 
bool IsIoError () const
 
bool IsLogicError () const
 

Private Types

using SignMessageError = confui::SignMessageError
 

Private Attributes

SharedFD server_fd_
 
ConfUiSignerImpl impl_
 

Member Typedef Documentation

◆ SignMessageError

Constructor & Destructor Documentation

◆ ConfUiSignSender()

cuttlefish::ConfUiSignSender::ConfUiSignSender ( SharedFD  fd)
inline

Member Function Documentation

◆ IsIoError()

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

◆ IsLogicError()

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

◆ IsOk()

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

◆ Receive()

std::optional< confui::SignRawMessage > cuttlefish::ConfUiSignSender::Receive ( )

◆ Send()

bool cuttlefish::ConfUiSignSender::Send ( const SignMessageError  error,
const std::vector< std::uint8_t > &  encoded_hmac 
)

Member Data Documentation

◆ impl_

ConfUiSignerImpl cuttlefish::ConfUiSignSender::impl_
private

◆ server_fd_

SharedFD cuttlefish::ConfUiSignSender::server_fd_
private

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