Add AES-ECB as a supported encryption mode in ECMG

This commit is contained in:
Lu Chen
2021-09-07 18:08:13 -07:00
parent b3a5fff77d
commit c387750897
11 changed files with 48 additions and 10 deletions

View File

@@ -125,6 +125,9 @@ class RsaPublicKey {
// Returns the RSA key size (modulus) in bytes.
virtual uint32_t KeySize() const;
// Returns true if the key is successfully serialized into |serialized_key|.
virtual bool SerializedKey(std::string* serialized_key) const;
private:
friend class RsaPrivateKey;
friend class X509CertificateBuilder; // TODO(user): Get rid of this.