Source release 19.3.0
This commit is contained in:
@@ -7,10 +7,13 @@
|
||||
#ifndef WVOEC_UTIL_OEM_CERT_H_
|
||||
#define WVOEC_UTIL_OEM_CERT_H_
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "OEMCryptoCENCCommon.h"
|
||||
#include "wv_class_utils.h"
|
||||
|
||||
namespace wvoec {
|
||||
namespace util {
|
||||
@@ -39,6 +42,9 @@ class OemCertificate {
|
||||
kRsa = 1
|
||||
};
|
||||
|
||||
~OemCertificate();
|
||||
WVCDM_DISALLOW_COPY_AND_MOVE(OemCertificate);
|
||||
|
||||
// Creates a new OEM Certificate and performs basic validation
|
||||
// to ensure that the private key and public cert are well-formed.
|
||||
// The |public_cert| provided is parsed as an X.509 Certificate
|
||||
@@ -84,13 +90,6 @@ class OemCertificate {
|
||||
// (ie, same modulos and public exponent).
|
||||
OEMCryptoResult IsCertificateValid() const;
|
||||
|
||||
~OemCertificate();
|
||||
|
||||
OemCertificate(const OemCertificate&) = delete;
|
||||
OemCertificate(OemCertificate&&) = delete;
|
||||
const OemCertificate& operator=(const OemCertificate&) = delete;
|
||||
OemCertificate& operator=(OemCertificate&&) = delete;
|
||||
|
||||
private:
|
||||
OemCertificate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user