// Generated by the protocol buffer compiler. DO NOT EDIT! // source: protos/public/errors.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2ferrors_2eproto #define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2ferrors_2eproto #include #include #include #if PROTOBUF_VERSION < 3017000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3017003 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2ferrors_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_protos_2fpublic_2ferrors_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] 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[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protos_2fpublic_2ferrors_2eproto; PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_CLOSE namespace video_widevine { enum Errors : int { SIGNED_MESSAGE_PARSE_ERROR = 100, LICENSE_REQUEST_PARSE_ERROR = 101, SESSION_STATE_PARSE_ERROR = 102, MISSING_CONTENT_ID = 103, MISSING_LICENSE_ID = 104, MISSING_CLIENT_ID = 105, INVALID_SIGNATURE = 106, SESSION_ID_MISMATCH = 107, RENEWAL_LICENSE_ID_MISMATCH = 108, MISSING_RENEWAL_SIGNING_KEY = 109, INVALID_RENEWAL_SIGNATURE = 110, UNSUPPORTED_SYSTEM_ID = 111, ENCRYPT_ERROR = 112, KEYBOX_DECRYPT_ERROR = 113, INVALID_CLIENT_CERT_TYPE = 114, INVALID_KEYBOX_TOKEN = 115, MISSING_PRE_PROV_KEY = 116, TOKEN_HASH_MISMATCH = 117, MISSING_ENCRYPTION_KEY = 118, MISSING_SIGNING_KEY = 119, UNABLE_TO_SERIALIZE_SIGNED_MESSAGE = 120, UNABLE_TO_SERIALIZE_SESSION_STATE = 121, MISSING_CLIENT_CERT = 122, RENEWAL_WITH_CONTENT_KEYS_NOT_ALLOWED = 123, INVALID_KEY_CONTROL_NONCE = 124, INVALID_RENEWAL_SIGNING_KEY_SIZE = 125, INVALID_DRM_CERTIFICATE = 126, DRM_DEVICE_CERTIFICATE_REVOKED = 127, DRM_DEVICE_CERTIFICATE_UNKNOWN = 128, INVALID_CERTIFICATE_STATUS_LIST = 129, EXPIRED_CERTIFICATE_STATUS_LIST = 130, KEYCONTROL_GENERATION_ERROR = 131, ROOT_CERTIFICATE_NOT_SET = 132, INVALID_SERVICE_CERTIFICATE = 133, SERVICE_CERTIFICATE_NOT_FOUND = 134, INVALID_ENCRYPTED_CLIENT_IDENTIFICATION = 135, SERVICE_CERTIFICATE_NOT_SET = 136, INVALID_SERVICE_PRIVATE_KEY = 137, MULTIPLE_CLIENT_ID = 138, SERVICE_CERTIFICATE_REQUEST_MESSAGE = 139, INVALID_MESSAGE_TYPE = 140, REMOTE_ATTESTATION_FAILED = 141, INVALID_RELEASE_CAN_PLAY_VALUE = 142, INVALID_OFFLINE_CAN_PERSIST = 143, INVALID_SESSION_USAGE_TABLE_ENTRY = 144, INVALID_SESSION_USAGE_SIGNATURE = 145, INVALID_CONTENT_ID_TYPE = 146, UNKNOWN_INIT_DATA_TYPE = 147, MISSING_INIT_DATA = 148, INVALID_CENC_INIT_DATA = 149, INVALID_PSSH = 150, UNSUPPORTED_PSSH_VERSION = 151, INVALID_WIDEVINE_PSSH_DATA = 152, DEVICE_CAPABILITIES_TOO_LOW = 153, INVALID_MASTER_SIGNING_KEY_SIZE = 154, INVALID_SIGNING_KEY_SIZE = 155, KEYBOX_TOKEN_KEYS_NOT_INITIALIZED = 156, PROVIDER_ID_MISMATCH = 157, CERT_CHAIN_NOT_SELECTED = 158, INVALID_SRM_LOCATION = 159, INVALID_SRM_SIZE = 160, INVALID_SRM_SIGNATURE = 161, MISSING_PROVIDER = 162, MISSING_GROUP_MASTER_KEY_ID = 163, MISSING_GROUP_MASTER_KEY = 164, INVALID_PROVIDER_SESSION_TOKEN_SIZE = 165, SERVICE_PRIVATE_KEY_DECRYPT_ERROR = 166, DEVELOPMENT_CERTIFICATE_NOT_ALLOWED = 167, INVALID_MESSAGE = 168, INVALID_KEY_SIZE = 169, INVALID_PARAMETER = 170, MISSING_EVEN_KEY_ID = 171, MISSING_EVEN_KEY = 172, VMP_ERROR_PLATFORM_NOT_VERIFIED = 173, VMP_ERROR_PLATFORM_TAMPERED = 174, DRM_DEVICE_CERTIFICATE_SERIAL_NUMBER_REVOKED = 175, SIGNING_KEY_EXPIRED = 176, SIGNATURE_VERIFICATION_FAILED = 177, SIGNER_PROVIDER_ID_MISMATCH = 178, INVALID_SESSION_KEY = 179, DEVICE_NOT_SUPPORTED = 180, CONTENT_INFO_ENTRY_EMPTY = 181, DRM_DEVICE_CERTIFICATE_EMPTY_SERIAL_NUMBER = 182, UNKNOWN_MAKE_MODEL = 183, DRM_DEVICE_CERTIFICATE_ECC_KEYGEN_FAILED = 184, INVALID_CERT_ALGORITHM = 185, MISSING_RSA_PUBLIC_KEY = 186, CREATE_RSA_PUBLIC_KEY_FAILED = 187, ATSC_PROFILE_ERROR = 188, EXTERNAL_LICENSE_REQUEST_PARSE_ERROR = 189, INVALID_KEY_TYPE = 190, MISSING_PROVIDER_KEY = 191, MISSING_PROVIDER_IV = 192, EMPTY_GROUP_ID = 193, INVALID_ENCRYPTED_LICENSE_CHALLENGE = 194, INVALID_SIGNED_DEVICE_SECURITY_PROFILES = 195, INVALID_DEVICE_SECURITY_PROFILE_LIST = 196, MISSING_REMOTE_ATTESTATION_CERTIFICATE = 197, CERTIFICATE_STATUS_LIST_NOT_FOUND = 198, PUBLIC_KEY_AND_PRIVATE_KEY_MISMATCH = 199, INVALID_SERVICE_PUBLIC_KEY = 200, DRM_DEVICE_CERTIFICATE_EXPIRED = 201, EXTERNAL_LICENSE_REQUEST_TYPE_UNDEFINED = 202 }; bool Errors_IsValid(int value); constexpr Errors Errors_MIN = SIGNED_MESSAGE_PARSE_ERROR; constexpr Errors Errors_MAX = EXTERNAL_LICENSE_REQUEST_TYPE_UNDEFINED; constexpr int Errors_ARRAYSIZE = Errors_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Errors_descriptor(); template inline const std::string& Errors_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function Errors_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( Errors_descriptor(), enum_t_value); } inline bool Errors_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Errors* value) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( Errors_descriptor(), name, value); } // =================================================================== // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace video_widevine PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::video_widevine::Errors> : ::std::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::Errors>() { return ::video_widevine::Errors_descriptor(); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2ferrors_2eproto