class Signer
Defined at line 3833 of file fidling/gen/sdk/fidl/fuchsia.weave/fuchsia.weave/hlcpp/fuchsia/weave/cpp/fidl.h
This protocol is used for signing operations with the factory-provisioned
Weave key or generated private keys.
Public Members
static const char[] Name_
Public Methods
void ~Signer ()
void SignHash (::std::vector<uint8_t> hash, SignHashCallback callback)
Sign the provided `hash` with the factory provisioned key. On success
the result is returned in `signature`. The signature must be of a type
that is supported by Weave, and must take the standard form of an ASN.1
DER SEQUENCE. This operation must support SHA1 and SHA256 hash values.
void SignHashWithPrivateKey (::std::vector<uint8_t> hash, ::std::vector<uint8_t> wrapped_private_key, SignHashWithPrivateKeyCallback callback)
Sign the provided `hash` with the provided `wrapped_private_key`. On
success, the result is returned in `signature`. The signature must be
of a type that is supported by Weave, and must take the standard form
of an ASN.1 DER SEQUENCE. This operation must support SHA1 and SHA256
hash values.