Update Simulcrypt ECMg
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "common/hash_algorithm.h"
|
||||
#include "protos/public/drm_certificate.pb.h"
|
||||
|
||||
namespace widevine {
|
||||
@@ -24,8 +25,9 @@ class SignerPublicKey {
|
||||
SignerPublicKey(const SignerPublicKey&) = delete;
|
||||
SignerPublicKey& operator=(const SignerPublicKey&) = delete;
|
||||
|
||||
// Verify message using |signer_public_key_|.
|
||||
// Verify message using |signer_public_key_| and |hash_algorithm|.
|
||||
virtual bool VerifySignature(const std::string& message,
|
||||
HashAlgorithm hash_algorithm,
|
||||
const std::string& signature) const = 0;
|
||||
|
||||
// A factory method to create a SignerPublicKey. The |algorithm| is used to
|
||||
|
||||
Reference in New Issue
Block a user