Update to support OEMCrypto v16 with ODK

This commit is contained in:
KongQun Yang
2020-09-21 15:54:04 -07:00
parent 93265ab9d1
commit 69d813f0f1
203 changed files with 16337 additions and 2290 deletions

View File

@@ -6,10 +6,12 @@
# widevine-licensing@google.com.
################################################################################
from "common/python/hash_algorithm.h" import *
from "common/rsa_key.h":
namespace `widevine`:
class RsaPublicKey:
def VerifySignature(self, message: bytes, signature: bytes) -> bool
def VerifySignature(self, message: bytes, hash_algorithm: HashAlgorithm, signature: bytes) -> bool
staticmethods from `RsaPublicKey`:
def Create(serialized_key: bytes) -> RsaPublicKey