class FakeWeaveSigner
Defined at line 16 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
Public Members
static const uint8_t[] kSignedHash
Public Methods
void NotImplemented_ (const std::string & name)
Replaces all unimplemented functions with a fatal error.
Defined at line 22 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
void FakeWeaveSigner (const uint8_t * signed_hash, size_t signed_hash_size)
Construct a FakeWeaveSigner with provided configuration.
Defined at line 25 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
void FakeWeaveSigner ()
Construct a FakeWeaveSigner with default configuration.
Defined at line 29 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
void SignHash (std::vector<uint8_t> hash, SignHashCallback callback)
Signs the provided hash.
Defined at line 32 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
fidl::InterfaceRequestHandler<fuchsia::weave::Signer> GetHandler (async_dispatcher_t * dispatcher)
Returns an interface request handler to attach to a service directory.
Defined at line 47 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
void Close (zx_status_t epitaph_value)
Closes the binding, simulating the service going away.
Defined at line 55 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
FakeWeaveSigner & set_signed_hash (const uint8_t * signed_hash, size_t signed_hash_size)
Set the signed hash.
Defined at line 58 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h
FakeWeaveSigner & set_sign_hash_error (std::optional<fuchsia::weave::ErrorCode> sign_hash_error)
Set the signed hash error.
Defined at line 64 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_signer.h