WvPL License SDK release: 17.0.1

This commit is contained in:
Buildbot
2022-04-22 02:33:19 +00:00
parent 0b20fb7737
commit 743f4faefe
254 changed files with 12886 additions and 3492 deletions

View File

@@ -47,7 +47,7 @@ struct TableStruct_protos_2fpublic_2fdevice_5fcommon_2eproto {
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
@@ -61,6 +61,9 @@ extern AndroidAttestationKeyboxDefaultTypeInternal _AndroidAttestationKeybox_def
class DeviceModel;
struct DeviceModelDefaultTypeInternal;
extern DeviceModelDefaultTypeInternal _DeviceModel_default_instance_;
class VerificationInfo;
struct VerificationInfoDefaultTypeInternal;
extern VerificationInfoDefaultTypeInternal _VerificationInfo_default_instance_;
class VulnerabilityInfo;
struct VulnerabilityInfoDefaultTypeInternal;
extern VulnerabilityInfoDefaultTypeInternal _VulnerabilityInfo_default_instance_;
@@ -68,6 +71,7 @@ extern VulnerabilityInfoDefaultTypeInternal _VulnerabilityInfo_default_instance_
PROTOBUF_NAMESPACE_OPEN
template<> ::video_widevine::AndroidAttestationKeybox* Arena::CreateMaybeMessage<::video_widevine::AndroidAttestationKeybox>(Arena*);
template<> ::video_widevine::DeviceModel* Arena::CreateMaybeMessage<::video_widevine::DeviceModel>(Arena*);
template<> ::video_widevine::VerificationInfo* Arena::CreateMaybeMessage<::video_widevine::VerificationInfo>(Arena*);
template<> ::video_widevine::VulnerabilityInfo* Arena::CreateMaybeMessage<::video_widevine::VulnerabilityInfo>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace video_widevine {
@@ -382,6 +386,33 @@ inline bool VulnerabilityLevel_Parse(
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VulnerabilityLevel>(
VulnerabilityLevel_descriptor(), name, value);
}
enum VerificationLevel : int {
VERIFICATION_LEVEL_UNSPECIFIED = 0,
VERIFICATION_LEVEL_UNVERIFIED = 1,
VERIFICATION_LEVEL_VERIFIED = 2,
VERIFICATION_LEVEL_VERIFIED_GTS = 3,
VerificationLevel_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
VerificationLevel_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
bool VerificationLevel_IsValid(int value);
constexpr VerificationLevel VerificationLevel_MIN = VERIFICATION_LEVEL_UNSPECIFIED;
constexpr VerificationLevel VerificationLevel_MAX = VERIFICATION_LEVEL_VERIFIED_GTS;
constexpr int VerificationLevel_ARRAYSIZE = VerificationLevel_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VerificationLevel_descriptor();
template<typename T>
inline const std::string& VerificationLevel_Name(T enum_t_value) {
static_assert(::std::is_same<T, VerificationLevel>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function VerificationLevel_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
VerificationLevel_descriptor(), enum_t_value);
}
inline bool VerificationLevel_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VerificationLevel* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VerificationLevel>(
VerificationLevel_descriptor(), name, value);
}
// ===================================================================
class DeviceModel final :
@@ -768,6 +799,177 @@ class VulnerabilityInfo final :
};
// -------------------------------------------------------------------
class VerificationInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.VerificationInfo) */ {
public:
inline VerificationInfo() : VerificationInfo(nullptr) {}
~VerificationInfo() override;
explicit constexpr VerificationInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
VerificationInfo(const VerificationInfo& from);
VerificationInfo(VerificationInfo&& from) noexcept
: VerificationInfo() {
*this = ::std::move(from);
}
inline VerificationInfo& operator=(const VerificationInfo& from) {
CopyFrom(from);
return *this;
}
inline VerificationInfo& operator=(VerificationInfo&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const VerificationInfo& default_instance() {
return *internal_default_instance();
}
static inline const VerificationInfo* internal_default_instance() {
return reinterpret_cast<const VerificationInfo*>(
&_VerificationInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(VerificationInfo& a, VerificationInfo& b) {
a.Swap(&b);
}
inline void Swap(VerificationInfo* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(VerificationInfo* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline VerificationInfo* New() const final {
return new VerificationInfo();
}
VerificationInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<VerificationInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const VerificationInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const VerificationInfo& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(VerificationInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.VerificationInfo";
}
protected:
explicit VerificationInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kProofFieldNumber = 2,
kNotesFieldNumber = 3,
kLevelFieldNumber = 1,
};
// string proof = 2;
void clear_proof();
const std::string& proof() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_proof(ArgT0&& arg0, ArgT... args);
std::string* mutable_proof();
PROTOBUF_MUST_USE_RESULT std::string* release_proof();
void set_allocated_proof(std::string* proof);
private:
const std::string& _internal_proof() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_proof(const std::string& value);
std::string* _internal_mutable_proof();
public:
// string notes = 3;
void clear_notes();
const std::string& notes() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_notes(ArgT0&& arg0, ArgT... args);
std::string* mutable_notes();
PROTOBUF_MUST_USE_RESULT std::string* release_notes();
void set_allocated_notes(std::string* notes);
private:
const std::string& _internal_notes() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_notes(const std::string& value);
std::string* _internal_mutable_notes();
public:
// .video_widevine.VerificationLevel level = 1;
void clear_level();
::video_widevine::VerificationLevel level() const;
void set_level(::video_widevine::VerificationLevel value);
private:
::video_widevine::VerificationLevel _internal_level() const;
void _internal_set_level(::video_widevine::VerificationLevel value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.VerificationInfo)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr proof_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr notes_;
int level_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_protos_2fpublic_2fdevice_5fcommon_2eproto;
};
// -------------------------------------------------------------------
class AndroidAttestationKeybox final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.AndroidAttestationKeybox) */ {
public:
@@ -812,7 +1014,7 @@ class AndroidAttestationKeybox final :
&_AndroidAttestationKeybox_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
3;
friend void swap(AndroidAttestationKeybox& a, AndroidAttestationKeybox& b) {
a.Swap(&b);
@@ -887,6 +1089,7 @@ class AndroidAttestationKeybox final :
kRsaCertFieldNumber = 4,
kEcdsaPrivateKeyFieldNumber = 1,
kRsaPrivateKeyFieldNumber = 3,
kAttestationKeyboxIdFieldNumber = 5,
};
// repeated bytes ecdsa_cert = 2;
int ecdsa_cert_size() const;
@@ -964,6 +1167,15 @@ class AndroidAttestationKeybox final :
std::string* _internal_mutable_rsa_private_key();
public:
// uint32 attestation_keybox_id = 5;
void clear_attestation_keybox_id();
::PROTOBUF_NAMESPACE_ID::uint32 attestation_keybox_id() const;
void set_attestation_keybox_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
private:
::PROTOBUF_NAMESPACE_ID::uint32 _internal_attestation_keybox_id() const;
void _internal_set_attestation_keybox_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.AndroidAttestationKeybox)
private:
class _Internal;
@@ -975,6 +1187,7 @@ class AndroidAttestationKeybox final :
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> rsa_cert_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ecdsa_private_key_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rsa_private_key_;
::PROTOBUF_NAMESPACE_ID::uint32 attestation_keybox_id_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_protos_2fpublic_2fdevice_5fcommon_2eproto;
};
@@ -1213,6 +1426,122 @@ inline void VulnerabilityInfo::set_vulnerability_level(::video_widevine::Vulnera
// -------------------------------------------------------------------
// VerificationInfo
// .video_widevine.VerificationLevel level = 1;
inline void VerificationInfo::clear_level() {
level_ = 0;
}
inline ::video_widevine::VerificationLevel VerificationInfo::_internal_level() const {
return static_cast< ::video_widevine::VerificationLevel >(level_);
}
inline ::video_widevine::VerificationLevel VerificationInfo::level() const {
// @@protoc_insertion_point(field_get:video_widevine.VerificationInfo.level)
return _internal_level();
}
inline void VerificationInfo::_internal_set_level(::video_widevine::VerificationLevel value) {
level_ = value;
}
inline void VerificationInfo::set_level(::video_widevine::VerificationLevel value) {
_internal_set_level(value);
// @@protoc_insertion_point(field_set:video_widevine.VerificationInfo.level)
}
// string proof = 2;
inline void VerificationInfo::clear_proof() {
proof_.ClearToEmpty();
}
inline const std::string& VerificationInfo::proof() const {
// @@protoc_insertion_point(field_get:video_widevine.VerificationInfo.proof)
return _internal_proof();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void VerificationInfo::set_proof(ArgT0&& arg0, ArgT... args) {
proof_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.VerificationInfo.proof)
}
inline std::string* VerificationInfo::mutable_proof() {
std::string* _s = _internal_mutable_proof();
// @@protoc_insertion_point(field_mutable:video_widevine.VerificationInfo.proof)
return _s;
}
inline const std::string& VerificationInfo::_internal_proof() const {
return proof_.Get();
}
inline void VerificationInfo::_internal_set_proof(const std::string& value) {
proof_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VerificationInfo::_internal_mutable_proof() {
return proof_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VerificationInfo::release_proof() {
// @@protoc_insertion_point(field_release:video_widevine.VerificationInfo.proof)
return proof_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VerificationInfo::set_allocated_proof(std::string* proof) {
if (proof != nullptr) {
} else {
}
proof_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), proof,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.VerificationInfo.proof)
}
// string notes = 3;
inline void VerificationInfo::clear_notes() {
notes_.ClearToEmpty();
}
inline const std::string& VerificationInfo::notes() const {
// @@protoc_insertion_point(field_get:video_widevine.VerificationInfo.notes)
return _internal_notes();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void VerificationInfo::set_notes(ArgT0&& arg0, ArgT... args) {
notes_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.VerificationInfo.notes)
}
inline std::string* VerificationInfo::mutable_notes() {
std::string* _s = _internal_mutable_notes();
// @@protoc_insertion_point(field_mutable:video_widevine.VerificationInfo.notes)
return _s;
}
inline const std::string& VerificationInfo::_internal_notes() const {
return notes_.Get();
}
inline void VerificationInfo::_internal_set_notes(const std::string& value) {
notes_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* VerificationInfo::_internal_mutable_notes() {
return notes_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* VerificationInfo::release_notes() {
// @@protoc_insertion_point(field_release:video_widevine.VerificationInfo.notes)
return notes_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void VerificationInfo::set_allocated_notes(std::string* notes) {
if (notes != nullptr) {
} else {
}
notes_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), notes,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.VerificationInfo.notes)
}
// -------------------------------------------------------------------
// AndroidAttestationKeybox
// bytes ecdsa_private_key = 1;
@@ -1457,6 +1786,26 @@ AndroidAttestationKeybox::mutable_rsa_cert() {
return &rsa_cert_;
}
// uint32 attestation_keybox_id = 5;
inline void AndroidAttestationKeybox::clear_attestation_keybox_id() {
attestation_keybox_id_ = 0u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 AndroidAttestationKeybox::_internal_attestation_keybox_id() const {
return attestation_keybox_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 AndroidAttestationKeybox::attestation_keybox_id() const {
// @@protoc_insertion_point(field_get:video_widevine.AndroidAttestationKeybox.attestation_keybox_id)
return _internal_attestation_keybox_id();
}
inline void AndroidAttestationKeybox::_internal_set_attestation_keybox_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
attestation_keybox_id_ = value;
}
inline void AndroidAttestationKeybox::set_attestation_keybox_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
_internal_set_attestation_keybox_id(value);
// @@protoc_insertion_point(field_set:video_widevine.AndroidAttestationKeybox.attestation_keybox_id)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
@@ -1464,6 +1813,8 @@ AndroidAttestationKeybox::mutable_rsa_cert() {
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
@@ -1521,6 +1872,11 @@ template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::VulnerabilityLevel>() {
return ::video_widevine::VulnerabilityLevel_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::VerificationLevel> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::VerificationLevel>() {
return ::video_widevine::VerificationLevel_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE