| Index: payload_signer.h
|
| diff --git a/payload_signer.h b/payload_signer.h
|
| index 781a513d1aa4479ac62622843f3dd343039d1550..59affd3d438babbaf91ca20e1a635d3b5fa9cb9d 100644
|
| --- a/payload_signer.h
|
| +++ b/payload_signer.h
|
| @@ -28,6 +28,12 @@ class PayloadSigner {
|
| static bool SignatureBlobLength(const std::string& private_key_path,
|
| uint64_t* out_length);
|
|
|
| + // Returns false if the payload signature can't be verified. Returns true
|
| + // otherwise and sets |out_hash| to the signed payload hash.
|
| + static bool VerifySignature(const std::vector<char>& signature_blob,
|
| + const std::string& public_key_path,
|
| + std::vector<char>* out_hash_data);
|
| +
|
| private:
|
| // This should never be constructed
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(PayloadSigner);
|
|
|