Documentation ¶
Index ¶
- Constants
- Variables
- func GetCertData(client *http.Client, licenseURL string) ([]byte, error)
- func InitDataFromMPD(r io.Reader) ([]byte, error)
- type CDM
- type ClientIdentification
- func (*ClientIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *ClientIdentification) GetClientInfo() []*ClientIdentification_NameValue
- func (x *ClientIdentification) GetLicenseCounter() uint32
- func (x *ClientIdentification) GetProviderClientToken() []byte
- func (x *ClientIdentification) GetToken() *SignedDeviceCertificate
- func (x *ClientIdentification) GetType() ClientIdentification_TokenType
- func (x *ClientIdentification) GetXClientCapabilities() *ClientIdentification_ClientCapabilities
- func (x *ClientIdentification) GetXFileHashes() *FileHashes
- func (*ClientIdentification) ProtoMessage()
- func (x *ClientIdentification) ProtoReflect() protoreflect.Message
- func (x *ClientIdentification) Reset()
- func (x *ClientIdentification) String() string
- type ClientIdentification_ClientCapabilities
- func (*ClientIdentification_ClientCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *ClientIdentification_ClientCapabilities) GetClientToken() uint32
- func (x *ClientIdentification_ClientCapabilities) GetMaxHdcpVersion() ClientIdentification_ClientCapabilities_HdcpVersion
- func (x *ClientIdentification_ClientCapabilities) GetOemCryptoApiVersion() uint32
- func (x *ClientIdentification_ClientCapabilities) GetSessionToken() uint32
- func (x *ClientIdentification_ClientCapabilities) GetVideoResolutionConstraints() uint32
- func (*ClientIdentification_ClientCapabilities) ProtoMessage()
- func (x *ClientIdentification_ClientCapabilities) ProtoReflect() protoreflect.Message
- func (x *ClientIdentification_ClientCapabilities) Reset()
- func (x *ClientIdentification_ClientCapabilities) String() string
- type ClientIdentification_ClientCapabilities_HdcpVersion
- func (ClientIdentification_ClientCapabilities_HdcpVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ClientIdentification_ClientCapabilities_HdcpVersion) Enum() *ClientIdentification_ClientCapabilities_HdcpVersion
- func (ClientIdentification_ClientCapabilities_HdcpVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientIdentification_ClientCapabilities_HdcpVersion) Number() protoreflect.EnumNumber
- func (x ClientIdentification_ClientCapabilities_HdcpVersion) String() string
- func (ClientIdentification_ClientCapabilities_HdcpVersion) Type() protoreflect.EnumType
- func (x *ClientIdentification_ClientCapabilities_HdcpVersion) UnmarshalJSON(b []byte) errordeprecated
- type ClientIdentification_NameValue
- func (*ClientIdentification_NameValue) Descriptor() ([]byte, []int)deprecated
- func (x *ClientIdentification_NameValue) GetName() string
- func (x *ClientIdentification_NameValue) GetValue() string
- func (*ClientIdentification_NameValue) ProtoMessage()
- func (x *ClientIdentification_NameValue) ProtoReflect() protoreflect.Message
- func (x *ClientIdentification_NameValue) Reset()
- func (x *ClientIdentification_NameValue) String() string
- type ClientIdentification_TokenType
- func (ClientIdentification_TokenType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientIdentification_TokenType) Enum() *ClientIdentification_TokenType
- func (ClientIdentification_TokenType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientIdentification_TokenType) Number() protoreflect.EnumNumber
- func (x ClientIdentification_TokenType) String() string
- func (ClientIdentification_TokenType) Type() protoreflect.EnumType
- func (x *ClientIdentification_TokenType) UnmarshalJSON(b []byte) errordeprecated
- type DeviceCertificate
- func (*DeviceCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCertificate) GetCreationTimeSeconds() uint32
- func (x *DeviceCertificate) GetPublicKey() []byte
- func (x *DeviceCertificate) GetSerialNumber() []byte
- func (x *DeviceCertificate) GetServiceId() []byte
- func (x *DeviceCertificate) GetSystemId() uint32
- func (x *DeviceCertificate) GetTestDeviceDeprecated() uint32
- func (x *DeviceCertificate) GetType() DeviceCertificate_CertificateType
- func (*DeviceCertificate) ProtoMessage()
- func (x *DeviceCertificate) ProtoReflect() protoreflect.Message
- func (x *DeviceCertificate) Reset()
- func (x *DeviceCertificate) String() string
- type DeviceCertificateStatus
- func (*DeviceCertificateStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCertificateStatus) GetDeviceInfo() *ProvisionedDeviceInfo
- func (x *DeviceCertificateStatus) GetSerialNumber() []byte
- func (x *DeviceCertificateStatus) GetStatus() DeviceCertificateStatus_CertificateStatus
- func (*DeviceCertificateStatus) ProtoMessage()
- func (x *DeviceCertificateStatus) ProtoReflect() protoreflect.Message
- func (x *DeviceCertificateStatus) Reset()
- func (x *DeviceCertificateStatus) String() string
- type DeviceCertificateStatusList
- func (*DeviceCertificateStatusList) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCertificateStatusList) GetCertificateStatus() []*DeviceCertificateStatus
- func (x *DeviceCertificateStatusList) GetCreationTimeSeconds() uint32
- func (*DeviceCertificateStatusList) ProtoMessage()
- func (x *DeviceCertificateStatusList) ProtoReflect() protoreflect.Message
- func (x *DeviceCertificateStatusList) Reset()
- func (x *DeviceCertificateStatusList) String() string
- type DeviceCertificateStatus_CertificateStatus
- func (DeviceCertificateStatus_CertificateStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceCertificateStatus_CertificateStatus) Enum() *DeviceCertificateStatus_CertificateStatus
- func (DeviceCertificateStatus_CertificateStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceCertificateStatus_CertificateStatus) Number() protoreflect.EnumNumber
- func (x DeviceCertificateStatus_CertificateStatus) String() string
- func (DeviceCertificateStatus_CertificateStatus) Type() protoreflect.EnumType
- func (x *DeviceCertificateStatus_CertificateStatus) UnmarshalJSON(b []byte) errordeprecated
- type DeviceCertificate_CertificateType
- func (DeviceCertificate_CertificateType) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceCertificate_CertificateType) Enum() *DeviceCertificate_CertificateType
- func (DeviceCertificate_CertificateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceCertificate_CertificateType) Number() protoreflect.EnumNumber
- func (x DeviceCertificate_CertificateType) String() string
- func (DeviceCertificate_CertificateType) Type() protoreflect.EnumType
- func (x *DeviceCertificate_CertificateType) UnmarshalJSON(b []byte) errordeprecated
- type EncryptedClientIdentification
- func (*EncryptedClientIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedClientIdentification) GetEncryptedClientId() []byte
- func (x *EncryptedClientIdentification) GetEncryptedClientIdIv() []byte
- func (x *EncryptedClientIdentification) GetEncryptedPrivacyKey() []byte
- func (x *EncryptedClientIdentification) GetServiceCertificateSerialNumber() []byte
- func (x *EncryptedClientIdentification) GetServiceId() string
- func (*EncryptedClientIdentification) ProtoMessage()
- func (x *EncryptedClientIdentification) ProtoReflect() protoreflect.Message
- func (x *EncryptedClientIdentification) Reset()
- func (x *EncryptedClientIdentification) String() string
- type FileHashes
- func (*FileHashes) Descriptor() ([]byte, []int)deprecated
- func (x *FileHashes) GetSignatures() []*FileHashes_Signature
- func (x *FileHashes) GetSigner() []byte
- func (*FileHashes) ProtoMessage()
- func (x *FileHashes) ProtoReflect() protoreflect.Message
- func (x *FileHashes) Reset()
- func (x *FileHashes) String() string
- type FileHashes_Signature
- func (*FileHashes_Signature) Descriptor() ([]byte, []int)deprecated
- func (x *FileHashes_Signature) GetFilename() string
- func (x *FileHashes_Signature) GetMainExe() bool
- func (x *FileHashes_Signature) GetSHA512Hash() []byte
- func (x *FileHashes_Signature) GetSignature() []byte
- func (x *FileHashes_Signature) GetTestSigning() bool
- func (*FileHashes_Signature) ProtoMessage()
- func (x *FileHashes_Signature) ProtoReflect() protoreflect.Message
- func (x *FileHashes_Signature) Reset()
- func (x *FileHashes_Signature) String() string
- type Key
- type License
- func (*License) Descriptor() ([]byte, []int)deprecated
- func (x *License) GetId() *LicenseIdentification
- func (x *License) GetKey() []*License_KeyContainer
- func (x *License) GetLicenseStartTime() uint32
- func (x *License) GetProtectionScheme() uint32
- func (x *License) GetProviderClientToken() []byte
- func (x *License) GetRemoteAttestationVerified() uint32
- func (x *License) GetXPolicy() *License_Policy
- func (*License) ProtoMessage()
- func (x *License) ProtoReflect() protoreflect.Message
- func (x *License) Reset()
- func (x *License) String() string
- type LicenseError
- type LicenseError_Error
- func (LicenseError_Error) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseError_Error) Enum() *LicenseError_Error
- func (LicenseError_Error) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseError_Error) Number() protoreflect.EnumNumber
- func (x LicenseError_Error) String() string
- func (LicenseError_Error) Type() protoreflect.EnumType
- func (x *LicenseError_Error) UnmarshalJSON(b []byte) errordeprecated
- type LicenseIdentification
- func (*LicenseIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseIdentification) GetProviderSessionToken() []byte
- func (x *LicenseIdentification) GetPurchaseId() []byte
- func (x *LicenseIdentification) GetRequestId() []byte
- func (x *LicenseIdentification) GetSessionId() []byte
- func (x *LicenseIdentification) GetType() LicenseType
- func (x *LicenseIdentification) GetVersion() uint32
- func (*LicenseIdentification) ProtoMessage()
- func (x *LicenseIdentification) ProtoReflect() protoreflect.Message
- func (x *LicenseIdentification) Reset()
- func (x *LicenseIdentification) String() string
- type LicenseRequest
- func (*LicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest) GetClientId() *ClientIdentification
- func (x *LicenseRequest) GetContentId() *LicenseRequest_ContentIdentification
- func (x *LicenseRequest) GetEncryptedClientId() *EncryptedClientIdentification
- func (x *LicenseRequest) GetKeyControlNonce() uint32
- func (x *LicenseRequest) GetKeyControlNonceDeprecated() []byte
- func (x *LicenseRequest) GetProtocolVersion() ProtocolVersion
- func (x *LicenseRequest) GetRequestTime() uint32
- func (x *LicenseRequest) GetType() LicenseRequest_RequestType
- func (*LicenseRequest) ProtoMessage()
- func (x *LicenseRequest) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest) Reset()
- func (x *LicenseRequest) String() string
- type LicenseRequestRaw
- func (*LicenseRequestRaw) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequestRaw) GetClientId() *ClientIdentification
- func (x *LicenseRequestRaw) GetContentId() *LicenseRequestRaw_ContentIdentification
- func (x *LicenseRequestRaw) GetEncryptedClientId() *EncryptedClientIdentification
- func (x *LicenseRequestRaw) GetKeyControlNonce() uint32
- func (x *LicenseRequestRaw) GetKeyControlNonceDeprecated() []byte
- func (x *LicenseRequestRaw) GetProtocolVersion() ProtocolVersion
- func (x *LicenseRequestRaw) GetRequestTime() uint32
- func (x *LicenseRequestRaw) GetType() LicenseRequestRaw_RequestType
- func (*LicenseRequestRaw) ProtoMessage()
- func (x *LicenseRequestRaw) ProtoReflect() protoreflect.Message
- func (x *LicenseRequestRaw) Reset()
- func (x *LicenseRequestRaw) String() string
- type LicenseRequestRaw_ContentIdentification
- func (*LicenseRequestRaw_ContentIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequestRaw_ContentIdentification) GetCencId() *LicenseRequestRaw_ContentIdentification_CENC
- func (x *LicenseRequestRaw_ContentIdentification) GetLicense() *LicenseRequestRaw_ContentIdentification_ExistingLicense
- func (x *LicenseRequestRaw_ContentIdentification) GetWebmId() *LicenseRequestRaw_ContentIdentification_WebM
- func (*LicenseRequestRaw_ContentIdentification) ProtoMessage()
- func (x *LicenseRequestRaw_ContentIdentification) ProtoReflect() protoreflect.Message
- func (x *LicenseRequestRaw_ContentIdentification) Reset()
- func (x *LicenseRequestRaw_ContentIdentification) String() string
- type LicenseRequestRaw_ContentIdentification_CENC
- func (*LicenseRequestRaw_ContentIdentification_CENC) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequestRaw_ContentIdentification_CENC) GetLicenseType() LicenseType
- func (x *LicenseRequestRaw_ContentIdentification_CENC) GetPssh() []byte
- func (x *LicenseRequestRaw_ContentIdentification_CENC) GetRequestId() []byte
- func (*LicenseRequestRaw_ContentIdentification_CENC) ProtoMessage()
- func (x *LicenseRequestRaw_ContentIdentification_CENC) ProtoReflect() protoreflect.Message
- func (x *LicenseRequestRaw_ContentIdentification_CENC) Reset()
- func (x *LicenseRequestRaw_ContentIdentification_CENC) String() string
- type LicenseRequestRaw_ContentIdentification_ExistingLicense
- func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetLicenseId() *LicenseIdentification
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed() uint32
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSecondsSinceStarted() uint32
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSessionUsageTableEntry() []byte
- func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) ProtoMessage()
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) ProtoReflect() protoreflect.Message
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) Reset()
- func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) String() string
- type LicenseRequestRaw_ContentIdentification_WebM
- func (*LicenseRequestRaw_ContentIdentification_WebM) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequestRaw_ContentIdentification_WebM) GetHeader() []byte
- func (x *LicenseRequestRaw_ContentIdentification_WebM) GetLicenseType() LicenseType
- func (x *LicenseRequestRaw_ContentIdentification_WebM) GetRequestId() []byte
- func (*LicenseRequestRaw_ContentIdentification_WebM) ProtoMessage()
- func (x *LicenseRequestRaw_ContentIdentification_WebM) ProtoReflect() protoreflect.Message
- func (x *LicenseRequestRaw_ContentIdentification_WebM) Reset()
- func (x *LicenseRequestRaw_ContentIdentification_WebM) String() string
- type LicenseRequestRaw_RequestType
- func (LicenseRequestRaw_RequestType) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseRequestRaw_RequestType) Enum() *LicenseRequestRaw_RequestType
- func (LicenseRequestRaw_RequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseRequestRaw_RequestType) Number() protoreflect.EnumNumber
- func (x LicenseRequestRaw_RequestType) String() string
- func (LicenseRequestRaw_RequestType) Type() protoreflect.EnumType
- func (x *LicenseRequestRaw_RequestType) UnmarshalJSON(b []byte) errordeprecated
- type LicenseRequest_ContentIdentification
- func (*LicenseRequest_ContentIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification) GetCencId() *LicenseRequest_ContentIdentification_CENC
- func (x *LicenseRequest_ContentIdentification) GetLicense() *LicenseRequest_ContentIdentification_ExistingLicense
- func (x *LicenseRequest_ContentIdentification) GetWebmId() *LicenseRequest_ContentIdentification_WebM
- func (*LicenseRequest_ContentIdentification) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification) Reset()
- func (x *LicenseRequest_ContentIdentification) String() string
- type LicenseRequest_ContentIdentification_CENC
- func (*LicenseRequest_ContentIdentification_CENC) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_CENC) GetLicenseType() LicenseType
- func (x *LicenseRequest_ContentIdentification_CENC) GetPssh() *WidevineCencHeader
- func (x *LicenseRequest_ContentIdentification_CENC) GetRequestId() []byte
- func (*LicenseRequest_ContentIdentification_CENC) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification_CENC) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification_CENC) Reset()
- func (x *LicenseRequest_ContentIdentification_CENC) String() string
- type LicenseRequest_ContentIdentification_ExistingLicense
- func (*LicenseRequest_ContentIdentification_ExistingLicense) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetLicenseId() *LicenseIdentification
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed() uint32
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceStarted() uint32
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSessionUsageTableEntry() []byte
- func (*LicenseRequest_ContentIdentification_ExistingLicense) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) Reset()
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) String() string
- type LicenseRequest_ContentIdentification_WebM
- func (*LicenseRequest_ContentIdentification_WebM) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_WebM) GetHeader() []byte
- func (x *LicenseRequest_ContentIdentification_WebM) GetLicenseType() LicenseType
- func (x *LicenseRequest_ContentIdentification_WebM) GetRequestId() []byte
- func (*LicenseRequest_ContentIdentification_WebM) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification_WebM) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification_WebM) Reset()
- func (x *LicenseRequest_ContentIdentification_WebM) String() string
- type LicenseRequest_RequestType
- func (LicenseRequest_RequestType) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseRequest_RequestType) Enum() *LicenseRequest_RequestType
- func (LicenseRequest_RequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseRequest_RequestType) Number() protoreflect.EnumNumber
- func (x LicenseRequest_RequestType) String() string
- func (LicenseRequest_RequestType) Type() protoreflect.EnumType
- func (x *LicenseRequest_RequestType) UnmarshalJSON(b []byte) errordeprecated
- type LicenseType
- func (LicenseType) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseType) Enum() *LicenseType
- func (LicenseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseType) Number() protoreflect.EnumNumber
- func (x LicenseType) String() string
- func (LicenseType) Type() protoreflect.EnumType
- func (x *LicenseType) UnmarshalJSON(b []byte) errordeprecated
- type License_KeyContainer
- func (*License_KeyContainer) Descriptor() ([]byte, []int)deprecated
- func (x *License_KeyContainer) GetId() []byte
- func (x *License_KeyContainer) GetIv() []byte
- func (x *License_KeyContainer) GetKey() []byte
- func (x *License_KeyContainer) GetLevel() License_KeyContainer_SecurityLevel
- func (x *License_KeyContainer) GetRequestedProtection() *License_KeyContainer_OutputProtection
- func (x *License_KeyContainer) GetRequiredProtection() *License_KeyContainer_OutputProtection
- func (x *License_KeyContainer) GetType() License_KeyContainer_KeyType
- func (x *License_KeyContainer) GetVideoResolutionConstraints() []*License_KeyContainer_VideoResolutionConstraint
- func (x *License_KeyContainer) GetXKeyControl() *License_KeyContainer_KeyControl
- func (x *License_KeyContainer) GetXOperatorSessionKeyPermissions() *License_KeyContainer_OperatorSessionKeyPermissions
- func (*License_KeyContainer) ProtoMessage()
- func (x *License_KeyContainer) ProtoReflect() protoreflect.Message
- func (x *License_KeyContainer) Reset()
- func (x *License_KeyContainer) String() string
- type License_KeyContainer_KeyControl
- func (*License_KeyContainer_KeyControl) Descriptor() ([]byte, []int)deprecated
- func (x *License_KeyContainer_KeyControl) GetIv() []byte
- func (x *License_KeyContainer_KeyControl) GetKeyControlBlock() []byte
- func (*License_KeyContainer_KeyControl) ProtoMessage()
- func (x *License_KeyContainer_KeyControl) ProtoReflect() protoreflect.Message
- func (x *License_KeyContainer_KeyControl) Reset()
- func (x *License_KeyContainer_KeyControl) String() string
- type License_KeyContainer_KeyType
- func (License_KeyContainer_KeyType) Descriptor() protoreflect.EnumDescriptor
- func (x License_KeyContainer_KeyType) Enum() *License_KeyContainer_KeyType
- func (License_KeyContainer_KeyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x License_KeyContainer_KeyType) Number() protoreflect.EnumNumber
- func (x License_KeyContainer_KeyType) String() string
- func (License_KeyContainer_KeyType) Type() protoreflect.EnumType
- func (x *License_KeyContainer_KeyType) UnmarshalJSON(b []byte) errordeprecated
- type License_KeyContainer_OperatorSessionKeyPermissions
- func (*License_KeyContainer_OperatorSessionKeyPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowDecrypt() uint32
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowEncrypt() uint32
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSign() uint32
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSignatureVerify() uint32
- func (*License_KeyContainer_OperatorSessionKeyPermissions) ProtoMessage()
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) ProtoReflect() protoreflect.Message
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) Reset()
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) String() string
- type License_KeyContainer_OutputProtection
- func (*License_KeyContainer_OutputProtection) Descriptor() ([]byte, []int)deprecated
- func (x *License_KeyContainer_OutputProtection) GetCgmsFlags() License_KeyContainer_OutputProtection_CGMS
- func (x *License_KeyContainer_OutputProtection) GetHdcp() ClientIdentification_ClientCapabilities_HdcpVersion
- func (*License_KeyContainer_OutputProtection) ProtoMessage()
- func (x *License_KeyContainer_OutputProtection) ProtoReflect() protoreflect.Message
- func (x *License_KeyContainer_OutputProtection) Reset()
- func (x *License_KeyContainer_OutputProtection) String() string
- type License_KeyContainer_OutputProtection_CGMS
- func (License_KeyContainer_OutputProtection_CGMS) Descriptor() protoreflect.EnumDescriptor
- func (x License_KeyContainer_OutputProtection_CGMS) Enum() *License_KeyContainer_OutputProtection_CGMS
- func (License_KeyContainer_OutputProtection_CGMS) EnumDescriptor() ([]byte, []int)deprecated
- func (x License_KeyContainer_OutputProtection_CGMS) Number() protoreflect.EnumNumber
- func (x License_KeyContainer_OutputProtection_CGMS) String() string
- func (License_KeyContainer_OutputProtection_CGMS) Type() protoreflect.EnumType
- func (x *License_KeyContainer_OutputProtection_CGMS) UnmarshalJSON(b []byte) errordeprecated
- type License_KeyContainer_SecurityLevel
- func (License_KeyContainer_SecurityLevel) Descriptor() protoreflect.EnumDescriptor
- func (x License_KeyContainer_SecurityLevel) Enum() *License_KeyContainer_SecurityLevel
- func (License_KeyContainer_SecurityLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x License_KeyContainer_SecurityLevel) Number() protoreflect.EnumNumber
- func (x License_KeyContainer_SecurityLevel) String() string
- func (License_KeyContainer_SecurityLevel) Type() protoreflect.EnumType
- func (x *License_KeyContainer_SecurityLevel) UnmarshalJSON(b []byte) errordeprecated
- type License_KeyContainer_VideoResolutionConstraint
- func (*License_KeyContainer_VideoResolutionConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *License_KeyContainer_VideoResolutionConstraint) GetMaxResolutionPixels() uint32
- func (x *License_KeyContainer_VideoResolutionConstraint) GetMinResolutionPixels() uint32
- func (x *License_KeyContainer_VideoResolutionConstraint) GetRequiredProtection() *License_KeyContainer_OutputProtection
- func (*License_KeyContainer_VideoResolutionConstraint) ProtoMessage()
- func (x *License_KeyContainer_VideoResolutionConstraint) ProtoReflect() protoreflect.Message
- func (x *License_KeyContainer_VideoResolutionConstraint) Reset()
- func (x *License_KeyContainer_VideoResolutionConstraint) String() string
- type License_Policy
- func (*License_Policy) Descriptor() ([]byte, []int)deprecated
- func (x *License_Policy) GetCanPersist() bool
- func (x *License_Policy) GetCanPlay() bool
- func (x *License_Policy) GetCanRenew() bool
- func (x *License_Policy) GetLicenseDurationSeconds() uint32
- func (x *License_Policy) GetPlaybackDurationSeconds() uint32
- func (x *License_Policy) GetRenewWithUsage() bool
- func (x *License_Policy) GetRenewalDelaySeconds() uint32
- func (x *License_Policy) GetRenewalRecoveryDurationSeconds() uint32
- func (x *License_Policy) GetRenewalRetryIntervalSeconds() uint32
- func (x *License_Policy) GetRenewalServerUrl() string
- func (x *License_Policy) GetRentalDurationSeconds() uint32
- func (*License_Policy) ProtoMessage()
- func (x *License_Policy) ProtoReflect() protoreflect.Message
- func (x *License_Policy) Reset()
- func (x *License_Policy) String() string
- type ProtocolVersion
- func (ProtocolVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ProtocolVersion) Enum() *ProtocolVersion
- func (ProtocolVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProtocolVersion) Number() protoreflect.EnumNumber
- func (x ProtocolVersion) String() string
- func (ProtocolVersion) Type() protoreflect.EnumType
- func (x *ProtocolVersion) UnmarshalJSON(b []byte) errordeprecated
- type ProvisionedDeviceInfo
- func (*ProvisionedDeviceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionedDeviceInfo) GetDeviceType() string
- func (x *ProvisionedDeviceInfo) GetManufacturer() string
- func (x *ProvisionedDeviceInfo) GetModel() string
- func (x *ProvisionedDeviceInfo) GetModelYear() uint32
- func (x *ProvisionedDeviceInfo) GetSecurityLevel() ProvisionedDeviceInfo_WvSecurityLevel
- func (x *ProvisionedDeviceInfo) GetSoc() string
- func (x *ProvisionedDeviceInfo) GetSystemId() uint32
- func (x *ProvisionedDeviceInfo) GetTestDevice() uint32
- func (*ProvisionedDeviceInfo) ProtoMessage()
- func (x *ProvisionedDeviceInfo) ProtoReflect() protoreflect.Message
- func (x *ProvisionedDeviceInfo) Reset()
- func (x *ProvisionedDeviceInfo) String() string
- type ProvisionedDeviceInfo_WvSecurityLevel
- func (ProvisionedDeviceInfo_WvSecurityLevel) Descriptor() protoreflect.EnumDescriptor
- func (x ProvisionedDeviceInfo_WvSecurityLevel) Enum() *ProvisionedDeviceInfo_WvSecurityLevel
- func (ProvisionedDeviceInfo_WvSecurityLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProvisionedDeviceInfo_WvSecurityLevel) Number() protoreflect.EnumNumber
- func (x ProvisionedDeviceInfo_WvSecurityLevel) String() string
- func (ProvisionedDeviceInfo_WvSecurityLevel) Type() protoreflect.EnumType
- func (x *ProvisionedDeviceInfo_WvSecurityLevel) UnmarshalJSON(b []byte) errordeprecated
- type ProvisioningOptions
- type ProvisioningRequest
- type ProvisioningResponse
- type RemoteAttestation
- func (*RemoteAttestation) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteAttestation) GetCertificate() *EncryptedClientIdentification
- func (x *RemoteAttestation) GetSalt() string
- func (x *RemoteAttestation) GetSignature() string
- func (*RemoteAttestation) ProtoMessage()
- func (x *RemoteAttestation) ProtoReflect() protoreflect.Message
- func (x *RemoteAttestation) Reset()
- func (x *RemoteAttestation) String() string
- type SessionInit
- type SessionState
- type SignedCertificateStatusList
- type SignedDeviceCertificate
- func (*SignedDeviceCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *SignedDeviceCertificate) GetSignature() []byte
- func (x *SignedDeviceCertificate) GetSigner() *SignedDeviceCertificate
- func (x *SignedDeviceCertificate) GetXDeviceCertificate() *DeviceCertificate
- func (*SignedDeviceCertificate) ProtoMessage()
- func (x *SignedDeviceCertificate) ProtoReflect() protoreflect.Message
- func (x *SignedDeviceCertificate) Reset()
- func (x *SignedDeviceCertificate) String() string
- type SignedLicense
- func (*SignedLicense) Descriptor() ([]byte, []int)deprecated
- func (x *SignedLicense) GetMsg() *License
- func (x *SignedLicense) GetRemoteAttestation() *RemoteAttestation
- func (x *SignedLicense) GetSessionKey() []byte
- func (x *SignedLicense) GetSignature() []byte
- func (x *SignedLicense) GetType() SignedLicense_MessageType
- func (*SignedLicense) ProtoMessage()
- func (x *SignedLicense) ProtoReflect() protoreflect.Message
- func (x *SignedLicense) Reset()
- func (x *SignedLicense) String() string
- type SignedLicenseRequest
- func (*SignedLicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignedLicenseRequest) GetMsg() *LicenseRequest
- func (x *SignedLicenseRequest) GetRemoteAttestation() *RemoteAttestation
- func (x *SignedLicenseRequest) GetSessionKey() []byte
- func (x *SignedLicenseRequest) GetSignature() []byte
- func (x *SignedLicenseRequest) GetType() SignedLicenseRequest_MessageType
- func (*SignedLicenseRequest) ProtoMessage()
- func (x *SignedLicenseRequest) ProtoReflect() protoreflect.Message
- func (x *SignedLicenseRequest) Reset()
- func (x *SignedLicenseRequest) String() string
- type SignedLicenseRequestRaw
- func (*SignedLicenseRequestRaw) Descriptor() ([]byte, []int)deprecated
- func (x *SignedLicenseRequestRaw) GetMsg() *LicenseRequestRaw
- func (x *SignedLicenseRequestRaw) GetRemoteAttestation() *RemoteAttestation
- func (x *SignedLicenseRequestRaw) GetSessionKey() []byte
- func (x *SignedLicenseRequestRaw) GetSignature() []byte
- func (x *SignedLicenseRequestRaw) GetType() SignedLicenseRequestRaw_MessageType
- func (*SignedLicenseRequestRaw) ProtoMessage()
- func (x *SignedLicenseRequestRaw) ProtoReflect() protoreflect.Message
- func (x *SignedLicenseRequestRaw) Reset()
- func (x *SignedLicenseRequestRaw) String() string
- type SignedLicenseRequestRaw_MessageType
- func (SignedLicenseRequestRaw_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedLicenseRequestRaw_MessageType) Enum() *SignedLicenseRequestRaw_MessageType
- func (SignedLicenseRequestRaw_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedLicenseRequestRaw_MessageType) Number() protoreflect.EnumNumber
- func (x SignedLicenseRequestRaw_MessageType) String() string
- func (SignedLicenseRequestRaw_MessageType) Type() protoreflect.EnumType
- func (x *SignedLicenseRequestRaw_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type SignedLicenseRequest_MessageType
- func (SignedLicenseRequest_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedLicenseRequest_MessageType) Enum() *SignedLicenseRequest_MessageType
- func (SignedLicenseRequest_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedLicenseRequest_MessageType) Number() protoreflect.EnumNumber
- func (x SignedLicenseRequest_MessageType) String() string
- func (SignedLicenseRequest_MessageType) Type() protoreflect.EnumType
- func (x *SignedLicenseRequest_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type SignedLicense_MessageType
- func (SignedLicense_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedLicense_MessageType) Enum() *SignedLicense_MessageType
- func (SignedLicense_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedLicense_MessageType) Number() protoreflect.EnumNumber
- func (x SignedLicense_MessageType) String() string
- func (SignedLicense_MessageType) Type() protoreflect.EnumType
- func (x *SignedLicense_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type SignedMessage
- func (*SignedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SignedMessage) GetMsg() []byte
- func (x *SignedMessage) GetRemoteAttestation() *RemoteAttestation
- func (x *SignedMessage) GetSessionKey() []byte
- func (x *SignedMessage) GetSignature() []byte
- func (x *SignedMessage) GetType() SignedMessage_MessageType
- func (*SignedMessage) ProtoMessage()
- func (x *SignedMessage) ProtoReflect() protoreflect.Message
- func (x *SignedMessage) Reset()
- func (x *SignedMessage) String() string
- type SignedMessage_MessageType
- func (SignedMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedMessage_MessageType) Enum() *SignedMessage_MessageType
- func (SignedMessage_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedMessage_MessageType) Number() protoreflect.EnumNumber
- func (x SignedMessage_MessageType) String() string
- func (SignedMessage_MessageType) Type() protoreflect.EnumType
- func (x *SignedMessage_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type SignedProvisioningMessage
- type SignedServiceCertificate
- func (*SignedServiceCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *SignedServiceCertificate) GetMsg() *SignedDeviceCertificate
- func (x *SignedServiceCertificate) GetRemoteAttestation() *RemoteAttestation
- func (x *SignedServiceCertificate) GetSessionKey() []byte
- func (x *SignedServiceCertificate) GetSignature() []byte
- func (x *SignedServiceCertificate) GetType() SignedServiceCertificate_MessageType
- func (*SignedServiceCertificate) ProtoMessage()
- func (x *SignedServiceCertificate) ProtoReflect() protoreflect.Message
- func (x *SignedServiceCertificate) Reset()
- func (x *SignedServiceCertificate) String() string
- type SignedServiceCertificate_MessageType
- func (SignedServiceCertificate_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedServiceCertificate_MessageType) Enum() *SignedServiceCertificate_MessageType
- func (SignedServiceCertificate_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedServiceCertificate_MessageType) Number() protoreflect.EnumNumber
- func (x SignedServiceCertificate_MessageType) String() string
- func (SignedServiceCertificate_MessageType) Type() protoreflect.EnumType
- func (x *SignedServiceCertificate_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type WidevineCencHeader
- func (*WidevineCencHeader) Descriptor() ([]byte, []int)deprecated
- func (x *WidevineCencHeader) GetAlgorithm() WidevineCencHeader_Algorithm
- func (x *WidevineCencHeader) GetContentId() []byte
- func (x *WidevineCencHeader) GetCryptoPeriodIndex() uint32
- func (x *WidevineCencHeader) GetCryptoPeriodSeconds() uint32
- func (x *WidevineCencHeader) GetGroupedLicense() []byte
- func (x *WidevineCencHeader) GetKeyId() [][]byte
- func (x *WidevineCencHeader) GetPolicy() string
- func (x *WidevineCencHeader) GetProtectionScheme() uint32
- func (x *WidevineCencHeader) GetProvider() string
- func (x *WidevineCencHeader) GetTrackTypeDeprecated() string
- func (*WidevineCencHeader) ProtoMessage()
- func (x *WidevineCencHeader) ProtoReflect() protoreflect.Message
- func (x *WidevineCencHeader) Reset()
- func (x *WidevineCencHeader) String() string
- type WidevineCencHeader_Algorithm
- func (WidevineCencHeader_Algorithm) Descriptor() protoreflect.EnumDescriptor
- func (x WidevineCencHeader_Algorithm) Enum() *WidevineCencHeader_Algorithm
- func (WidevineCencHeader_Algorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x WidevineCencHeader_Algorithm) Number() protoreflect.EnumNumber
- func (x WidevineCencHeader_Algorithm) String() string
- func (WidevineCencHeader_Algorithm) Type() protoreflect.EnumType
- func (x *WidevineCencHeader_Algorithm) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
const DefaultPrivateKey = `` /* 1680-byte string literal not displayed */
Variables ¶
var ( LicenseType_name = map[int32]string{ 0: "ZERO", 1: "DEFAULT", 2: "OFFLINE", } LicenseType_value = map[string]int32{ "ZERO": 0, "DEFAULT": 1, "OFFLINE": 2, } )
Enum value maps for LicenseType.
var ( ProtocolVersion_name = map[int32]string{ 21: "CURRENT", } ProtocolVersion_value = map[string]int32{ "CURRENT": 21, } )
Enum value maps for ProtocolVersion.
var ( ClientIdentification_TokenType_name = map[int32]string{ 0: "KEYBOX", 1: "DEVICE_CERTIFICATE", 2: "REMOTE_ATTESTATION_CERTIFICATE", } ClientIdentification_TokenType_value = map[string]int32{ "KEYBOX": 0, "DEVICE_CERTIFICATE": 1, "REMOTE_ATTESTATION_CERTIFICATE": 2, } )
Enum value maps for ClientIdentification_TokenType.
var ( ClientIdentification_ClientCapabilities_HdcpVersion_name = map[int32]string{ 0: "HDCP_NONE", 1: "HDCP_V1", 2: "HDCP_V2", 3: "HDCP_V2_1", 4: "HDCP_V2_2", } ClientIdentification_ClientCapabilities_HdcpVersion_value = map[string]int32{ "HDCP_NONE": 0, "HDCP_V1": 1, "HDCP_V2": 2, "HDCP_V2_1": 3, "HDCP_V2_2": 4, } )
Enum value maps for ClientIdentification_ClientCapabilities_HdcpVersion.
var ( DeviceCertificate_CertificateType_name = map[int32]string{ 0: "ROOT", 1: "INTERMEDIATE", 2: "USER_DEVICE", 3: "SERVICE", } DeviceCertificate_CertificateType_value = map[string]int32{ "ROOT": 0, "INTERMEDIATE": 1, "USER_DEVICE": 2, "SERVICE": 3, } )
Enum value maps for DeviceCertificate_CertificateType.
var ( DeviceCertificateStatus_CertificateStatus_name = map[int32]string{ 0: "VALID", 1: "REVOKED", } DeviceCertificateStatus_CertificateStatus_value = map[string]int32{ "VALID": 0, "REVOKED": 1, } )
Enum value maps for DeviceCertificateStatus_CertificateStatus.
var ( License_KeyContainer_KeyType_name = map[int32]string{ 1: "SIGNING", 2: "CONTENT", 3: "KEY_CONTROL", 4: "OPERATOR_SESSION", } License_KeyContainer_KeyType_value = map[string]int32{ "SIGNING": 1, "CONTENT": 2, "KEY_CONTROL": 3, "OPERATOR_SESSION": 4, } )
Enum value maps for License_KeyContainer_KeyType.
var ( License_KeyContainer_SecurityLevel_name = map[int32]string{ 1: "SW_SECURE_CRYPTO", 2: "SW_SECURE_DECODE", 3: "HW_SECURE_CRYPTO", 4: "HW_SECURE_DECODE", 5: "HW_SECURE_ALL", } License_KeyContainer_SecurityLevel_value = map[string]int32{ "SW_SECURE_CRYPTO": 1, "SW_SECURE_DECODE": 2, "HW_SECURE_CRYPTO": 3, "HW_SECURE_DECODE": 4, "HW_SECURE_ALL": 5, } )
Enum value maps for License_KeyContainer_SecurityLevel.
var ( License_KeyContainer_OutputProtection_CGMS_name = map[int32]string{ 0: "COPY_FREE", 2: "COPY_ONCE", 3: "COPY_NEVER", 42: "CGMS_NONE", } License_KeyContainer_OutputProtection_CGMS_value = map[string]int32{ "COPY_FREE": 0, "COPY_ONCE": 2, "COPY_NEVER": 3, "CGMS_NONE": 42, } )
Enum value maps for License_KeyContainer_OutputProtection_CGMS.
var ( LicenseError_Error_name = map[int32]string{ 1: "INVALID_DEVICE_CERTIFICATE", 2: "REVOKED_DEVICE_CERTIFICATE", 3: "SERVICE_UNAVAILABLE", } LicenseError_Error_value = map[string]int32{ "INVALID_DEVICE_CERTIFICATE": 1, "REVOKED_DEVICE_CERTIFICATE": 2, "SERVICE_UNAVAILABLE": 3, } )
Enum value maps for LicenseError_Error.
var ( LicenseRequest_RequestType_name = map[int32]string{ 1: "NEW", 2: "RENEWAL", 3: "RELEASE", } LicenseRequest_RequestType_value = map[string]int32{ "NEW": 1, "RENEWAL": 2, "RELEASE": 3, } )
Enum value maps for LicenseRequest_RequestType.
var ( LicenseRequestRaw_RequestType_name = map[int32]string{ 1: "NEW", 2: "RENEWAL", 3: "RELEASE", } LicenseRequestRaw_RequestType_value = map[string]int32{ "NEW": 1, "RENEWAL": 2, "RELEASE": 3, } )
Enum value maps for LicenseRequestRaw_RequestType.
var ( ProvisionedDeviceInfo_WvSecurityLevel_name = map[int32]string{ 0: "LEVEL_UNSPECIFIED", 1: "LEVEL_1", 2: "LEVEL_2", 3: "LEVEL_3", } ProvisionedDeviceInfo_WvSecurityLevel_value = map[string]int32{ "LEVEL_UNSPECIFIED": 0, "LEVEL_1": 1, "LEVEL_2": 2, "LEVEL_3": 3, } )
Enum value maps for ProvisionedDeviceInfo_WvSecurityLevel.
var ( SignedMessage_MessageType_name = map[int32]string{ 1: "LICENSE_REQUEST", 2: "LICENSE", 3: "ERROR_RESPONSE", 4: "SERVICE_CERTIFICATE_REQUEST", 5: "SERVICE_CERTIFICATE", } SignedMessage_MessageType_value = map[string]int32{ "LICENSE_REQUEST": 1, "LICENSE": 2, "ERROR_RESPONSE": 3, "SERVICE_CERTIFICATE_REQUEST": 4, "SERVICE_CERTIFICATE": 5, } )
Enum value maps for SignedMessage_MessageType.
var ( WidevineCencHeader_Algorithm_name = map[int32]string{ 0: "UNENCRYPTED", 1: "AESCTR", } WidevineCencHeader_Algorithm_value = map[string]int32{ "UNENCRYPTED": 0, "AESCTR": 1, } )
Enum value maps for WidevineCencHeader_Algorithm.
var ( SignedLicenseRequest_MessageType_name = map[int32]string{ 1: "LICENSE_REQUEST", 2: "LICENSE", 3: "ERROR_RESPONSE", 4: "SERVICE_CERTIFICATE_REQUEST", 5: "SERVICE_CERTIFICATE", } SignedLicenseRequest_MessageType_value = map[string]int32{ "LICENSE_REQUEST": 1, "LICENSE": 2, "ERROR_RESPONSE": 3, "SERVICE_CERTIFICATE_REQUEST": 4, "SERVICE_CERTIFICATE": 5, } )
Enum value maps for SignedLicenseRequest_MessageType.
var ( SignedLicenseRequestRaw_MessageType_name = map[int32]string{ 1: "LICENSE_REQUEST", 2: "LICENSE", 3: "ERROR_RESPONSE", 4: "SERVICE_CERTIFICATE_REQUEST", 5: "SERVICE_CERTIFICATE", } SignedLicenseRequestRaw_MessageType_value = map[string]int32{ "LICENSE_REQUEST": 1, "LICENSE": 2, "ERROR_RESPONSE": 3, "SERVICE_CERTIFICATE_REQUEST": 4, "SERVICE_CERTIFICATE": 5, } )
Enum value maps for SignedLicenseRequestRaw_MessageType.
var ( SignedLicense_MessageType_name = map[int32]string{ 1: "LICENSE_REQUEST", 2: "LICENSE", 3: "ERROR_RESPONSE", 4: "SERVICE_CERTIFICATE_REQUEST", 5: "SERVICE_CERTIFICATE", } SignedLicense_MessageType_value = map[string]int32{ "LICENSE_REQUEST": 1, "LICENSE": 2, "ERROR_RESPONSE": 3, "SERVICE_CERTIFICATE_REQUEST": 4, "SERVICE_CERTIFICATE": 5, } )
Enum value maps for SignedLicense_MessageType.
var ( SignedServiceCertificate_MessageType_name = map[int32]string{ 1: "LICENSE_REQUEST", 2: "LICENSE", 3: "ERROR_RESPONSE", 4: "SERVICE_CERTIFICATE_REQUEST", 5: "SERVICE_CERTIFICATE", } SignedServiceCertificate_MessageType_value = map[string]int32{ "LICENSE_REQUEST": 1, "LICENSE": 2, "ERROR_RESPONSE": 3, "SERVICE_CERTIFICATE_REQUEST": 4, "SERVICE_CERTIFICATE": 5, } )
Enum value maps for SignedServiceCertificate_MessageType.
var DefaultClientID = []byte{} /* 1651 elements not displayed */
var File_wv_proto2_proto protoreflect.FileDescriptor
Functions ¶
func GetCertData ¶
This function retrieves certificate data from a given license server.
func InitDataFromMPD ¶
This function retrieves the PSSH/Init Data from a given MPD file reader. Example file: https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd
Types ¶
type CDM ¶
type CDM struct {
// contains filtered or unexported fields
}
func NewDefaultCDM ¶
Creates a new CDM object using the default device configuration.
func (*CDM) GetLicenseKeys ¶
Retrieves the keys from the license response data. These keys can be used to decrypt the DASH-MP4.
func (*CDM) GetLicenseRequest ¶
Generates the license request data. This is sent to the license server via HTTP POST and the server in turn returns the license response.
func (*CDM) SetServiceCertificate ¶
Sets a device certificate. This is makes generating the license request more complicated but is supported. This is usually not necessary for most Widevine applications.
type ClientIdentification ¶
type ClientIdentification struct { Type *ClientIdentification_TokenType `protobuf:"varint,1,req,name=Type,enum=ClientIdentification_TokenType" json:"Type,omitempty"` //optional bytes Token = 2; // by default the client treats this as blob, but it's usually a DeviceCertificate, so for usefulness sake, I'm replacing it with this one: Token *SignedDeviceCertificate `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` // use this when parsing, "bytes" when building a client id blob ClientInfo []*ClientIdentification_NameValue `protobuf:"bytes,3,rep,name=ClientInfo" json:"ClientInfo,omitempty"` ProviderClientToken []byte `protobuf:"bytes,4,opt,name=ProviderClientToken" json:"ProviderClientToken,omitempty"` LicenseCounter *uint32 `protobuf:"varint,5,opt,name=LicenseCounter" json:"LicenseCounter,omitempty"` XClientCapabilities *ClientIdentification_ClientCapabilities `protobuf:"bytes,6,opt,name=_ClientCapabilities,json=ClientCapabilities" json:"_ClientCapabilities,omitempty"` // how should we deal with duped names? will have to look at proto docs later XFileHashes *FileHashes `protobuf:"bytes,7,opt,name=_FileHashes,json=FileHashes" json:"_FileHashes,omitempty"` // vmp blob goes here // contains filtered or unexported fields }
from x86 (partial), most of it from the ARM version:
func (*ClientIdentification) Descriptor
deprecated
func (*ClientIdentification) Descriptor() ([]byte, []int)
Deprecated: Use ClientIdentification.ProtoReflect.Descriptor instead.
func (*ClientIdentification) GetClientInfo ¶
func (x *ClientIdentification) GetClientInfo() []*ClientIdentification_NameValue
func (*ClientIdentification) GetLicenseCounter ¶
func (x *ClientIdentification) GetLicenseCounter() uint32
func (*ClientIdentification) GetProviderClientToken ¶
func (x *ClientIdentification) GetProviderClientToken() []byte
func (*ClientIdentification) GetToken ¶
func (x *ClientIdentification) GetToken() *SignedDeviceCertificate
func (*ClientIdentification) GetType ¶
func (x *ClientIdentification) GetType() ClientIdentification_TokenType
func (*ClientIdentification) GetXClientCapabilities ¶
func (x *ClientIdentification) GetXClientCapabilities() *ClientIdentification_ClientCapabilities
func (*ClientIdentification) GetXFileHashes ¶
func (x *ClientIdentification) GetXFileHashes() *FileHashes
func (*ClientIdentification) ProtoMessage ¶
func (*ClientIdentification) ProtoMessage()
func (*ClientIdentification) ProtoReflect ¶
func (x *ClientIdentification) ProtoReflect() protoreflect.Message
func (*ClientIdentification) Reset ¶
func (x *ClientIdentification) Reset()
func (*ClientIdentification) String ¶
func (x *ClientIdentification) String() string
type ClientIdentification_ClientCapabilities ¶
type ClientIdentification_ClientCapabilities struct { ClientToken *uint32 `protobuf:"varint,1,opt,name=ClientToken" json:"ClientToken,omitempty"` SessionToken *uint32 `protobuf:"varint,2,opt,name=SessionToken" json:"SessionToken,omitempty"` VideoResolutionConstraints *uint32 `protobuf:"varint,3,opt,name=VideoResolutionConstraints" json:"VideoResolutionConstraints,omitempty"` MaxHdcpVersion *ClientIdentification_ClientCapabilities_HdcpVersion `` /* 132-byte string literal not displayed */ OemCryptoApiVersion *uint32 `protobuf:"varint,5,opt,name=OemCryptoApiVersion" json:"OemCryptoApiVersion,omitempty"` // contains filtered or unexported fields }
func (*ClientIdentification_ClientCapabilities) Descriptor
deprecated
func (*ClientIdentification_ClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_ClientCapabilities.ProtoReflect.Descriptor instead.
func (*ClientIdentification_ClientCapabilities) GetClientToken ¶
func (x *ClientIdentification_ClientCapabilities) GetClientToken() uint32
func (*ClientIdentification_ClientCapabilities) GetMaxHdcpVersion ¶
func (x *ClientIdentification_ClientCapabilities) GetMaxHdcpVersion() ClientIdentification_ClientCapabilities_HdcpVersion
func (*ClientIdentification_ClientCapabilities) GetOemCryptoApiVersion ¶
func (x *ClientIdentification_ClientCapabilities) GetOemCryptoApiVersion() uint32
func (*ClientIdentification_ClientCapabilities) GetSessionToken ¶
func (x *ClientIdentification_ClientCapabilities) GetSessionToken() uint32
func (*ClientIdentification_ClientCapabilities) GetVideoResolutionConstraints ¶
func (x *ClientIdentification_ClientCapabilities) GetVideoResolutionConstraints() uint32
func (*ClientIdentification_ClientCapabilities) ProtoMessage ¶
func (*ClientIdentification_ClientCapabilities) ProtoMessage()
func (*ClientIdentification_ClientCapabilities) ProtoReflect ¶
func (x *ClientIdentification_ClientCapabilities) ProtoReflect() protoreflect.Message
func (*ClientIdentification_ClientCapabilities) Reset ¶
func (x *ClientIdentification_ClientCapabilities) Reset()
func (*ClientIdentification_ClientCapabilities) String ¶
func (x *ClientIdentification_ClientCapabilities) String() string
type ClientIdentification_ClientCapabilities_HdcpVersion ¶
type ClientIdentification_ClientCapabilities_HdcpVersion int32
const ( ClientIdentification_ClientCapabilities_HDCP_NONE ClientIdentification_ClientCapabilities_HdcpVersion = 0 ClientIdentification_ClientCapabilities_HDCP_V1 ClientIdentification_ClientCapabilities_HdcpVersion = 1 ClientIdentification_ClientCapabilities_HDCP_V2 ClientIdentification_ClientCapabilities_HdcpVersion = 2 ClientIdentification_ClientCapabilities_HDCP_V2_1 ClientIdentification_ClientCapabilities_HdcpVersion = 3 ClientIdentification_ClientCapabilities_HDCP_V2_2 ClientIdentification_ClientCapabilities_HdcpVersion = 4 )
func (ClientIdentification_ClientCapabilities_HdcpVersion) Descriptor ¶
func (ClientIdentification_ClientCapabilities_HdcpVersion) Descriptor() protoreflect.EnumDescriptor
func (ClientIdentification_ClientCapabilities_HdcpVersion) EnumDescriptor
deprecated
func (ClientIdentification_ClientCapabilities_HdcpVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_ClientCapabilities_HdcpVersion.Descriptor instead.
func (ClientIdentification_ClientCapabilities_HdcpVersion) Number ¶
func (x ClientIdentification_ClientCapabilities_HdcpVersion) Number() protoreflect.EnumNumber
func (ClientIdentification_ClientCapabilities_HdcpVersion) String ¶
func (x ClientIdentification_ClientCapabilities_HdcpVersion) String() string
func (*ClientIdentification_ClientCapabilities_HdcpVersion) UnmarshalJSON
deprecated
func (x *ClientIdentification_ClientCapabilities_HdcpVersion) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ClientIdentification_NameValue ¶
type ClientIdentification_NameValue struct { Name *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"` Value *string `protobuf:"bytes,2,req,name=Value" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*ClientIdentification_NameValue) Descriptor
deprecated
func (*ClientIdentification_NameValue) Descriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_NameValue.ProtoReflect.Descriptor instead.
func (*ClientIdentification_NameValue) GetName ¶
func (x *ClientIdentification_NameValue) GetName() string
func (*ClientIdentification_NameValue) GetValue ¶
func (x *ClientIdentification_NameValue) GetValue() string
func (*ClientIdentification_NameValue) ProtoMessage ¶
func (*ClientIdentification_NameValue) ProtoMessage()
func (*ClientIdentification_NameValue) ProtoReflect ¶
func (x *ClientIdentification_NameValue) ProtoReflect() protoreflect.Message
func (*ClientIdentification_NameValue) Reset ¶
func (x *ClientIdentification_NameValue) Reset()
func (*ClientIdentification_NameValue) String ¶
func (x *ClientIdentification_NameValue) String() string
type ClientIdentification_TokenType ¶
type ClientIdentification_TokenType int32
const ( ClientIdentification_KEYBOX ClientIdentification_TokenType = 0 ClientIdentification_DEVICE_CERTIFICATE ClientIdentification_TokenType = 1 ClientIdentification_REMOTE_ATTESTATION_CERTIFICATE ClientIdentification_TokenType = 2 )
func (ClientIdentification_TokenType) Descriptor ¶
func (ClientIdentification_TokenType) Descriptor() protoreflect.EnumDescriptor
func (ClientIdentification_TokenType) Enum ¶
func (x ClientIdentification_TokenType) Enum() *ClientIdentification_TokenType
func (ClientIdentification_TokenType) EnumDescriptor
deprecated
func (ClientIdentification_TokenType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_TokenType.Descriptor instead.
func (ClientIdentification_TokenType) Number ¶
func (x ClientIdentification_TokenType) Number() protoreflect.EnumNumber
func (ClientIdentification_TokenType) String ¶
func (x ClientIdentification_TokenType) String() string
func (ClientIdentification_TokenType) Type ¶
func (ClientIdentification_TokenType) Type() protoreflect.EnumType
func (*ClientIdentification_TokenType) UnmarshalJSON
deprecated
func (x *ClientIdentification_TokenType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DeviceCertificate ¶
type DeviceCertificate struct { Type *DeviceCertificate_CertificateType `protobuf:"varint,1,req,name=Type,enum=DeviceCertificate_CertificateType" json:"Type,omitempty"` // the compiled code reused this as ProvisionedDeviceInfo.WvSecurityLevel, however that is incorrect (compiler aliased it as they're both identical as a structure) SerialNumber []byte `protobuf:"bytes,2,opt,name=SerialNumber" json:"SerialNumber,omitempty"` CreationTimeSeconds *uint32 `protobuf:"varint,3,opt,name=CreationTimeSeconds" json:"CreationTimeSeconds,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=PublicKey" json:"PublicKey,omitempty"` SystemId *uint32 `protobuf:"varint,5,opt,name=SystemId" json:"SystemId,omitempty"` TestDeviceDeprecated *uint32 `protobuf:"varint,6,opt,name=TestDeviceDeprecated" json:"TestDeviceDeprecated,omitempty"` // is it bool or int? ServiceId []byte `protobuf:"bytes,7,opt,name=ServiceId" json:"ServiceId,omitempty"` // service URL for service certificates // contains filtered or unexported fields }
func (*DeviceCertificate) Descriptor
deprecated
func (*DeviceCertificate) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCertificate.ProtoReflect.Descriptor instead.
func (*DeviceCertificate) GetCreationTimeSeconds ¶
func (x *DeviceCertificate) GetCreationTimeSeconds() uint32
func (*DeviceCertificate) GetPublicKey ¶
func (x *DeviceCertificate) GetPublicKey() []byte
func (*DeviceCertificate) GetSerialNumber ¶
func (x *DeviceCertificate) GetSerialNumber() []byte
func (*DeviceCertificate) GetServiceId ¶
func (x *DeviceCertificate) GetServiceId() []byte
func (*DeviceCertificate) GetSystemId ¶
func (x *DeviceCertificate) GetSystemId() uint32
func (*DeviceCertificate) GetTestDeviceDeprecated ¶
func (x *DeviceCertificate) GetTestDeviceDeprecated() uint32
func (*DeviceCertificate) GetType ¶
func (x *DeviceCertificate) GetType() DeviceCertificate_CertificateType
func (*DeviceCertificate) ProtoMessage ¶
func (*DeviceCertificate) ProtoMessage()
func (*DeviceCertificate) ProtoReflect ¶
func (x *DeviceCertificate) ProtoReflect() protoreflect.Message
func (*DeviceCertificate) Reset ¶
func (x *DeviceCertificate) Reset()
func (*DeviceCertificate) String ¶
func (x *DeviceCertificate) String() string
type DeviceCertificateStatus ¶
type DeviceCertificateStatus struct { SerialNumber []byte `protobuf:"bytes,1,opt,name=SerialNumber" json:"SerialNumber,omitempty"` Status *DeviceCertificateStatus_CertificateStatus `protobuf:"varint,2,opt,name=Status,enum=DeviceCertificateStatus_CertificateStatus" json:"Status,omitempty"` DeviceInfo *ProvisionedDeviceInfo `protobuf:"bytes,4,opt,name=DeviceInfo" json:"DeviceInfo,omitempty"` // where is 3? is it deprecated? // contains filtered or unexported fields }
missing some references,
func (*DeviceCertificateStatus) Descriptor
deprecated
func (*DeviceCertificateStatus) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCertificateStatus.ProtoReflect.Descriptor instead.
func (*DeviceCertificateStatus) GetDeviceInfo ¶
func (x *DeviceCertificateStatus) GetDeviceInfo() *ProvisionedDeviceInfo
func (*DeviceCertificateStatus) GetSerialNumber ¶
func (x *DeviceCertificateStatus) GetSerialNumber() []byte
func (*DeviceCertificateStatus) GetStatus ¶
func (x *DeviceCertificateStatus) GetStatus() DeviceCertificateStatus_CertificateStatus
func (*DeviceCertificateStatus) ProtoMessage ¶
func (*DeviceCertificateStatus) ProtoMessage()
func (*DeviceCertificateStatus) ProtoReflect ¶
func (x *DeviceCertificateStatus) ProtoReflect() protoreflect.Message
func (*DeviceCertificateStatus) Reset ¶
func (x *DeviceCertificateStatus) Reset()
func (*DeviceCertificateStatus) String ¶
func (x *DeviceCertificateStatus) String() string
type DeviceCertificateStatusList ¶
type DeviceCertificateStatusList struct { CreationTimeSeconds *uint32 `protobuf:"varint,1,opt,name=CreationTimeSeconds" json:"CreationTimeSeconds,omitempty"` CertificateStatus []*DeviceCertificateStatus `protobuf:"bytes,2,rep,name=CertificateStatus" json:"CertificateStatus,omitempty"` // contains filtered or unexported fields }
func (*DeviceCertificateStatusList) Descriptor
deprecated
func (*DeviceCertificateStatusList) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCertificateStatusList.ProtoReflect.Descriptor instead.
func (*DeviceCertificateStatusList) GetCertificateStatus ¶
func (x *DeviceCertificateStatusList) GetCertificateStatus() []*DeviceCertificateStatus
func (*DeviceCertificateStatusList) GetCreationTimeSeconds ¶
func (x *DeviceCertificateStatusList) GetCreationTimeSeconds() uint32
func (*DeviceCertificateStatusList) ProtoMessage ¶
func (*DeviceCertificateStatusList) ProtoMessage()
func (*DeviceCertificateStatusList) ProtoReflect ¶
func (x *DeviceCertificateStatusList) ProtoReflect() protoreflect.Message
func (*DeviceCertificateStatusList) Reset ¶
func (x *DeviceCertificateStatusList) Reset()
func (*DeviceCertificateStatusList) String ¶
func (x *DeviceCertificateStatusList) String() string
type DeviceCertificateStatus_CertificateStatus ¶
type DeviceCertificateStatus_CertificateStatus int32
const ( DeviceCertificateStatus_VALID DeviceCertificateStatus_CertificateStatus = 0 DeviceCertificateStatus_REVOKED DeviceCertificateStatus_CertificateStatus = 1 )
func (DeviceCertificateStatus_CertificateStatus) Descriptor ¶
func (DeviceCertificateStatus_CertificateStatus) Descriptor() protoreflect.EnumDescriptor
func (DeviceCertificateStatus_CertificateStatus) EnumDescriptor
deprecated
func (DeviceCertificateStatus_CertificateStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceCertificateStatus_CertificateStatus.Descriptor instead.
func (DeviceCertificateStatus_CertificateStatus) Number ¶
func (x DeviceCertificateStatus_CertificateStatus) Number() protoreflect.EnumNumber
func (DeviceCertificateStatus_CertificateStatus) String ¶
func (x DeviceCertificateStatus_CertificateStatus) String() string
func (DeviceCertificateStatus_CertificateStatus) Type ¶
func (DeviceCertificateStatus_CertificateStatus) Type() protoreflect.EnumType
func (*DeviceCertificateStatus_CertificateStatus) UnmarshalJSON
deprecated
func (x *DeviceCertificateStatus_CertificateStatus) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DeviceCertificate_CertificateType ¶
type DeviceCertificate_CertificateType int32
const ( DeviceCertificate_ROOT DeviceCertificate_CertificateType = 0 DeviceCertificate_INTERMEDIATE DeviceCertificate_CertificateType = 1 DeviceCertificate_USER_DEVICE DeviceCertificate_CertificateType = 2 DeviceCertificate_SERVICE DeviceCertificate_CertificateType = 3 )
func (DeviceCertificate_CertificateType) Descriptor ¶
func (DeviceCertificate_CertificateType) Descriptor() protoreflect.EnumDescriptor
func (DeviceCertificate_CertificateType) Enum ¶
func (x DeviceCertificate_CertificateType) Enum() *DeviceCertificate_CertificateType
func (DeviceCertificate_CertificateType) EnumDescriptor
deprecated
func (DeviceCertificate_CertificateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceCertificate_CertificateType.Descriptor instead.
func (DeviceCertificate_CertificateType) Number ¶
func (x DeviceCertificate_CertificateType) Number() protoreflect.EnumNumber
func (DeviceCertificate_CertificateType) String ¶
func (x DeviceCertificate_CertificateType) String() string
func (DeviceCertificate_CertificateType) Type ¶
func (DeviceCertificate_CertificateType) Type() protoreflect.EnumType
func (*DeviceCertificate_CertificateType) UnmarshalJSON
deprecated
func (x *DeviceCertificate_CertificateType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type EncryptedClientIdentification ¶
type EncryptedClientIdentification struct { ServiceId *string `protobuf:"bytes,1,req,name=ServiceId" json:"ServiceId,omitempty"` ServiceCertificateSerialNumber []byte `protobuf:"bytes,2,opt,name=ServiceCertificateSerialNumber" json:"ServiceCertificateSerialNumber,omitempty"` EncryptedClientId []byte `protobuf:"bytes,3,req,name=EncryptedClientId" json:"EncryptedClientId,omitempty"` EncryptedClientIdIv []byte `protobuf:"bytes,4,req,name=EncryptedClientIdIv" json:"EncryptedClientIdIv,omitempty"` EncryptedPrivacyKey []byte `protobuf:"bytes,5,req,name=EncryptedPrivacyKey" json:"EncryptedPrivacyKey,omitempty"` // contains filtered or unexported fields }
func (*EncryptedClientIdentification) Descriptor
deprecated
func (*EncryptedClientIdentification) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedClientIdentification.ProtoReflect.Descriptor instead.
func (*EncryptedClientIdentification) GetEncryptedClientId ¶
func (x *EncryptedClientIdentification) GetEncryptedClientId() []byte
func (*EncryptedClientIdentification) GetEncryptedClientIdIv ¶
func (x *EncryptedClientIdentification) GetEncryptedClientIdIv() []byte
func (*EncryptedClientIdentification) GetEncryptedPrivacyKey ¶
func (x *EncryptedClientIdentification) GetEncryptedPrivacyKey() []byte
func (*EncryptedClientIdentification) GetServiceCertificateSerialNumber ¶
func (x *EncryptedClientIdentification) GetServiceCertificateSerialNumber() []byte
func (*EncryptedClientIdentification) GetServiceId ¶
func (x *EncryptedClientIdentification) GetServiceId() string
func (*EncryptedClientIdentification) ProtoMessage ¶
func (*EncryptedClientIdentification) ProtoMessage()
func (*EncryptedClientIdentification) ProtoReflect ¶
func (x *EncryptedClientIdentification) ProtoReflect() protoreflect.Message
func (*EncryptedClientIdentification) Reset ¶
func (x *EncryptedClientIdentification) Reset()
func (*EncryptedClientIdentification) String ¶
func (x *EncryptedClientIdentification) String() string
type FileHashes ¶
type FileHashes struct { Signer []byte `protobuf:"bytes,1,opt,name=signer" json:"signer,omitempty"` Signatures []*FileHashes_Signature `protobuf:"bytes,2,rep,name=signatures" json:"signatures,omitempty"` // contains filtered or unexported fields }
vmp support
func (*FileHashes) Descriptor
deprecated
func (*FileHashes) Descriptor() ([]byte, []int)
Deprecated: Use FileHashes.ProtoReflect.Descriptor instead.
func (*FileHashes) GetSignatures ¶
func (x *FileHashes) GetSignatures() []*FileHashes_Signature
func (*FileHashes) GetSigner ¶
func (x *FileHashes) GetSigner() []byte
func (*FileHashes) ProtoMessage ¶
func (*FileHashes) ProtoMessage()
func (*FileHashes) ProtoReflect ¶
func (x *FileHashes) ProtoReflect() protoreflect.Message
func (*FileHashes) Reset ¶
func (x *FileHashes) Reset()
func (*FileHashes) String ¶
func (x *FileHashes) String() string
type FileHashes_Signature ¶
type FileHashes_Signature struct { Filename *string `protobuf:"bytes,1,opt,name=filename" json:"filename,omitempty"` TestSigning *bool `protobuf:"varint,2,opt,name=test_signing,json=testSigning" json:"test_signing,omitempty"` //0 - release, 1 - testing SHA512Hash []byte `protobuf:"bytes,3,opt,name=SHA512Hash" json:"SHA512Hash,omitempty"` MainExe *bool `protobuf:"varint,4,opt,name=main_exe,json=mainExe" json:"main_exe,omitempty"` //0 for dlls, 1 for exe, this is field 3 in file Signature []byte `protobuf:"bytes,5,opt,name=signature" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*FileHashes_Signature) Descriptor
deprecated
func (*FileHashes_Signature) Descriptor() ([]byte, []int)
Deprecated: Use FileHashes_Signature.ProtoReflect.Descriptor instead.
func (*FileHashes_Signature) GetFilename ¶
func (x *FileHashes_Signature) GetFilename() string
func (*FileHashes_Signature) GetMainExe ¶
func (x *FileHashes_Signature) GetMainExe() bool
func (*FileHashes_Signature) GetSHA512Hash ¶
func (x *FileHashes_Signature) GetSHA512Hash() []byte
func (*FileHashes_Signature) GetSignature ¶
func (x *FileHashes_Signature) GetSignature() []byte
func (*FileHashes_Signature) GetTestSigning ¶
func (x *FileHashes_Signature) GetTestSigning() bool
func (*FileHashes_Signature) ProtoMessage ¶
func (*FileHashes_Signature) ProtoMessage()
func (*FileHashes_Signature) ProtoReflect ¶
func (x *FileHashes_Signature) ProtoReflect() protoreflect.Message
func (*FileHashes_Signature) Reset ¶
func (x *FileHashes_Signature) Reset()
func (*FileHashes_Signature) String ¶
func (x *FileHashes_Signature) String() string
type Key ¶
type Key struct { ID []byte Type License_KeyContainer_KeyType Value []byte }
type License ¶
type License struct { Id *LicenseIdentification `protobuf:"bytes,1,opt,name=Id" json:"Id,omitempty"` XPolicy *License_Policy `protobuf:"bytes,2,opt,name=_Policy,json=Policy" json:"_Policy,omitempty"` // duped names, etc Key []*License_KeyContainer `protobuf:"bytes,3,rep,name=Key" json:"Key,omitempty"` LicenseStartTime *uint32 `protobuf:"varint,4,opt,name=LicenseStartTime" json:"LicenseStartTime,omitempty"` RemoteAttestationVerified *uint32 `protobuf:"varint,5,opt,name=RemoteAttestationVerified" json:"RemoteAttestationVerified,omitempty"` // bool? ProviderClientToken []byte `protobuf:"bytes,6,opt,name=ProviderClientToken" json:"ProviderClientToken,omitempty"` // there might be more, check with newer versions (I see field 7-8 in a lic) // this appeared in latest x86: ProtectionScheme *uint32 `protobuf:"varint,7,opt,name=ProtectionScheme" json:"ProtectionScheme,omitempty"` // type unconfirmed fully, but it's likely as WidevineCencHeader describesit (fourcc) // contains filtered or unexported fields }
func (*License) Descriptor
deprecated
func (*License) GetId ¶
func (x *License) GetId() *LicenseIdentification
func (*License) GetKey ¶
func (x *License) GetKey() []*License_KeyContainer
func (*License) GetLicenseStartTime ¶
func (*License) GetProtectionScheme ¶
func (*License) GetProviderClientToken ¶
func (*License) GetRemoteAttestationVerified ¶
func (*License) GetXPolicy ¶
func (x *License) GetXPolicy() *License_Policy
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
type LicenseError ¶
type LicenseError struct { //LicenseRequest.RequestType ErrorCode; // clang mismatch ErrorCode *LicenseError_Error `protobuf:"varint,1,opt,name=ErrorCode,enum=LicenseError_Error" json:"ErrorCode,omitempty"` // contains filtered or unexported fields }
func (*LicenseError) Descriptor
deprecated
func (*LicenseError) Descriptor() ([]byte, []int)
Deprecated: Use LicenseError.ProtoReflect.Descriptor instead.
func (*LicenseError) GetErrorCode ¶
func (x *LicenseError) GetErrorCode() LicenseError_Error
func (*LicenseError) ProtoMessage ¶
func (*LicenseError) ProtoMessage()
func (*LicenseError) ProtoReflect ¶
func (x *LicenseError) ProtoReflect() protoreflect.Message
func (*LicenseError) Reset ¶
func (x *LicenseError) Reset()
func (*LicenseError) String ¶
func (x *LicenseError) String() string
type LicenseError_Error ¶
type LicenseError_Error int32
const ( LicenseError_INVALID_DEVICE_CERTIFICATE LicenseError_Error = 1 LicenseError_REVOKED_DEVICE_CERTIFICATE LicenseError_Error = 2 LicenseError_SERVICE_UNAVAILABLE LicenseError_Error = 3 )
func (LicenseError_Error) Descriptor ¶
func (LicenseError_Error) Descriptor() protoreflect.EnumDescriptor
func (LicenseError_Error) Enum ¶
func (x LicenseError_Error) Enum() *LicenseError_Error
func (LicenseError_Error) EnumDescriptor
deprecated
func (LicenseError_Error) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseError_Error.Descriptor instead.
func (LicenseError_Error) Number ¶
func (x LicenseError_Error) Number() protoreflect.EnumNumber
func (LicenseError_Error) String ¶
func (x LicenseError_Error) String() string
func (LicenseError_Error) Type ¶
func (LicenseError_Error) Type() protoreflect.EnumType
func (*LicenseError_Error) UnmarshalJSON
deprecated
func (x *LicenseError_Error) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LicenseIdentification ¶
type LicenseIdentification struct { RequestId []byte `protobuf:"bytes,1,opt,name=RequestId" json:"RequestId,omitempty"` SessionId []byte `protobuf:"bytes,2,opt,name=SessionId" json:"SessionId,omitempty"` PurchaseId []byte `protobuf:"bytes,3,opt,name=PurchaseId" json:"PurchaseId,omitempty"` Type *LicenseType `protobuf:"varint,4,opt,name=Type,enum=LicenseType" json:"Type,omitempty"` Version *uint32 `protobuf:"varint,5,opt,name=Version" json:"Version,omitempty"` ProviderSessionToken []byte `protobuf:"bytes,6,opt,name=ProviderSessionToken" json:"ProviderSessionToken,omitempty"` // contains filtered or unexported fields }
func (*LicenseIdentification) Descriptor
deprecated
func (*LicenseIdentification) Descriptor() ([]byte, []int)
Deprecated: Use LicenseIdentification.ProtoReflect.Descriptor instead.
func (*LicenseIdentification) GetProviderSessionToken ¶
func (x *LicenseIdentification) GetProviderSessionToken() []byte
func (*LicenseIdentification) GetPurchaseId ¶
func (x *LicenseIdentification) GetPurchaseId() []byte
func (*LicenseIdentification) GetRequestId ¶
func (x *LicenseIdentification) GetRequestId() []byte
func (*LicenseIdentification) GetSessionId ¶
func (x *LicenseIdentification) GetSessionId() []byte
func (*LicenseIdentification) GetType ¶
func (x *LicenseIdentification) GetType() LicenseType
func (*LicenseIdentification) GetVersion ¶
func (x *LicenseIdentification) GetVersion() uint32
func (*LicenseIdentification) ProtoMessage ¶
func (*LicenseIdentification) ProtoMessage()
func (*LicenseIdentification) ProtoReflect ¶
func (x *LicenseIdentification) ProtoReflect() protoreflect.Message
func (*LicenseIdentification) Reset ¶
func (x *LicenseIdentification) Reset()
func (*LicenseIdentification) String ¶
func (x *LicenseIdentification) String() string
type LicenseRequest ¶
type LicenseRequest struct { ClientId *ClientIdentification `protobuf:"bytes,1,opt,name=ClientId" json:"ClientId,omitempty"` ContentId *LicenseRequest_ContentIdentification `protobuf:"bytes,2,opt,name=ContentId" json:"ContentId,omitempty"` Type *LicenseRequest_RequestType `protobuf:"varint,3,opt,name=Type,enum=LicenseRequest_RequestType" json:"Type,omitempty"` RequestTime *uint32 `protobuf:"varint,4,opt,name=RequestTime" json:"RequestTime,omitempty"` KeyControlNonceDeprecated []byte `protobuf:"bytes,5,opt,name=KeyControlNonceDeprecated" json:"KeyControlNonceDeprecated,omitempty"` ProtocolVersion *ProtocolVersion `protobuf:"varint,6,opt,name=ProtocolVersion,enum=ProtocolVersion" json:"ProtocolVersion,omitempty"` // lacking symbols for this KeyControlNonce *uint32 `protobuf:"varint,7,opt,name=KeyControlNonce" json:"KeyControlNonce,omitempty"` EncryptedClientId *EncryptedClientIdentification `protobuf:"bytes,8,opt,name=EncryptedClientId" json:"EncryptedClientId,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequest) Descriptor
deprecated
func (*LicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest.ProtoReflect.Descriptor instead.
func (*LicenseRequest) GetClientId ¶
func (x *LicenseRequest) GetClientId() *ClientIdentification
func (*LicenseRequest) GetContentId ¶
func (x *LicenseRequest) GetContentId() *LicenseRequest_ContentIdentification
func (*LicenseRequest) GetEncryptedClientId ¶
func (x *LicenseRequest) GetEncryptedClientId() *EncryptedClientIdentification
func (*LicenseRequest) GetKeyControlNonce ¶
func (x *LicenseRequest) GetKeyControlNonce() uint32
func (*LicenseRequest) GetKeyControlNonceDeprecated ¶
func (x *LicenseRequest) GetKeyControlNonceDeprecated() []byte
func (*LicenseRequest) GetProtocolVersion ¶
func (x *LicenseRequest) GetProtocolVersion() ProtocolVersion
func (*LicenseRequest) GetRequestTime ¶
func (x *LicenseRequest) GetRequestTime() uint32
func (*LicenseRequest) GetType ¶
func (x *LicenseRequest) GetType() LicenseRequest_RequestType
func (*LicenseRequest) ProtoMessage ¶
func (*LicenseRequest) ProtoMessage()
func (*LicenseRequest) ProtoReflect ¶
func (x *LicenseRequest) ProtoReflect() protoreflect.Message
func (*LicenseRequest) Reset ¶
func (x *LicenseRequest) Reset()
func (*LicenseRequest) String ¶
func (x *LicenseRequest) String() string
type LicenseRequestRaw ¶
type LicenseRequestRaw struct { ClientId *ClientIdentification `protobuf:"bytes,1,opt,name=ClientId" json:"ClientId,omitempty"` ContentId *LicenseRequestRaw_ContentIdentification `protobuf:"bytes,2,opt,name=ContentId" json:"ContentId,omitempty"` Type *LicenseRequestRaw_RequestType `protobuf:"varint,3,opt,name=Type,enum=LicenseRequestRaw_RequestType" json:"Type,omitempty"` RequestTime *uint32 `protobuf:"varint,4,opt,name=RequestTime" json:"RequestTime,omitempty"` KeyControlNonceDeprecated []byte `protobuf:"bytes,5,opt,name=KeyControlNonceDeprecated" json:"KeyControlNonceDeprecated,omitempty"` ProtocolVersion *ProtocolVersion `protobuf:"varint,6,opt,name=ProtocolVersion,enum=ProtocolVersion" json:"ProtocolVersion,omitempty"` // lacking symbols for this KeyControlNonce *uint32 `protobuf:"varint,7,opt,name=KeyControlNonce" json:"KeyControlNonce,omitempty"` EncryptedClientId *EncryptedClientIdentification `protobuf:"bytes,8,opt,name=EncryptedClientId" json:"EncryptedClientId,omitempty"` // contains filtered or unexported fields }
raw pssh hack
func (*LicenseRequestRaw) Descriptor
deprecated
func (*LicenseRequestRaw) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequestRaw.ProtoReflect.Descriptor instead.
func (*LicenseRequestRaw) GetClientId ¶
func (x *LicenseRequestRaw) GetClientId() *ClientIdentification
func (*LicenseRequestRaw) GetContentId ¶
func (x *LicenseRequestRaw) GetContentId() *LicenseRequestRaw_ContentIdentification
func (*LicenseRequestRaw) GetEncryptedClientId ¶
func (x *LicenseRequestRaw) GetEncryptedClientId() *EncryptedClientIdentification
func (*LicenseRequestRaw) GetKeyControlNonce ¶
func (x *LicenseRequestRaw) GetKeyControlNonce() uint32
func (*LicenseRequestRaw) GetKeyControlNonceDeprecated ¶
func (x *LicenseRequestRaw) GetKeyControlNonceDeprecated() []byte
func (*LicenseRequestRaw) GetProtocolVersion ¶
func (x *LicenseRequestRaw) GetProtocolVersion() ProtocolVersion
func (*LicenseRequestRaw) GetRequestTime ¶
func (x *LicenseRequestRaw) GetRequestTime() uint32
func (*LicenseRequestRaw) GetType ¶
func (x *LicenseRequestRaw) GetType() LicenseRequestRaw_RequestType
func (*LicenseRequestRaw) ProtoMessage ¶
func (*LicenseRequestRaw) ProtoMessage()
func (*LicenseRequestRaw) ProtoReflect ¶
func (x *LicenseRequestRaw) ProtoReflect() protoreflect.Message
func (*LicenseRequestRaw) Reset ¶
func (x *LicenseRequestRaw) Reset()
func (*LicenseRequestRaw) String ¶
func (x *LicenseRequestRaw) String() string
type LicenseRequestRaw_ContentIdentification ¶
type LicenseRequestRaw_ContentIdentification struct { CencId *LicenseRequestRaw_ContentIdentification_CENC `protobuf:"bytes,1,opt,name=CencId" json:"CencId,omitempty"` WebmId *LicenseRequestRaw_ContentIdentification_WebM `protobuf:"bytes,2,opt,name=WebmId" json:"WebmId,omitempty"` License *LicenseRequestRaw_ContentIdentification_ExistingLicense `protobuf:"bytes,3,opt,name=License" json:"License,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequestRaw_ContentIdentification) Descriptor
deprecated
func (*LicenseRequestRaw_ContentIdentification) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequestRaw_ContentIdentification.ProtoReflect.Descriptor instead.
func (*LicenseRequestRaw_ContentIdentification) GetCencId ¶
func (x *LicenseRequestRaw_ContentIdentification) GetCencId() *LicenseRequestRaw_ContentIdentification_CENC
func (*LicenseRequestRaw_ContentIdentification) GetLicense ¶
func (x *LicenseRequestRaw_ContentIdentification) GetLicense() *LicenseRequestRaw_ContentIdentification_ExistingLicense
func (*LicenseRequestRaw_ContentIdentification) GetWebmId ¶
func (x *LicenseRequestRaw_ContentIdentification) GetWebmId() *LicenseRequestRaw_ContentIdentification_WebM
func (*LicenseRequestRaw_ContentIdentification) ProtoMessage ¶
func (*LicenseRequestRaw_ContentIdentification) ProtoMessage()
func (*LicenseRequestRaw_ContentIdentification) ProtoReflect ¶
func (x *LicenseRequestRaw_ContentIdentification) ProtoReflect() protoreflect.Message
func (*LicenseRequestRaw_ContentIdentification) Reset ¶
func (x *LicenseRequestRaw_ContentIdentification) Reset()
func (*LicenseRequestRaw_ContentIdentification) String ¶
func (x *LicenseRequestRaw_ContentIdentification) String() string
type LicenseRequestRaw_ContentIdentification_CENC ¶
type LicenseRequestRaw_ContentIdentification_CENC struct { Pssh []byte `protobuf:"bytes,1,opt,name=Pssh" json:"Pssh,omitempty"` // the client's definition is opaque, it doesn't care about the contents, but the PSSH has a clear definition that is understood and requested by the server, thus I'll replace it with: //optional WidevineCencHeader Pssh = 1; LicenseType *LicenseType `protobuf:"varint,2,opt,name=LicenseType,enum=LicenseType" json:"LicenseType,omitempty"` // unfortunately the LicenseType symbols are not present, acceptable value seems to only be 1 (is this persist/don't persist? look into it!) RequestId []byte `protobuf:"bytes,3,opt,name=RequestId" json:"RequestId,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequestRaw_ContentIdentification_CENC) Descriptor
deprecated
func (*LicenseRequestRaw_ContentIdentification_CENC) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequestRaw_ContentIdentification_CENC.ProtoReflect.Descriptor instead.
func (*LicenseRequestRaw_ContentIdentification_CENC) GetLicenseType ¶
func (x *LicenseRequestRaw_ContentIdentification_CENC) GetLicenseType() LicenseType
func (*LicenseRequestRaw_ContentIdentification_CENC) GetPssh ¶
func (x *LicenseRequestRaw_ContentIdentification_CENC) GetPssh() []byte
func (*LicenseRequestRaw_ContentIdentification_CENC) GetRequestId ¶
func (x *LicenseRequestRaw_ContentIdentification_CENC) GetRequestId() []byte
func (*LicenseRequestRaw_ContentIdentification_CENC) ProtoMessage ¶
func (*LicenseRequestRaw_ContentIdentification_CENC) ProtoMessage()
func (*LicenseRequestRaw_ContentIdentification_CENC) ProtoReflect ¶
func (x *LicenseRequestRaw_ContentIdentification_CENC) ProtoReflect() protoreflect.Message
func (*LicenseRequestRaw_ContentIdentification_CENC) Reset ¶
func (x *LicenseRequestRaw_ContentIdentification_CENC) Reset()
func (*LicenseRequestRaw_ContentIdentification_CENC) String ¶
func (x *LicenseRequestRaw_ContentIdentification_CENC) String() string
type LicenseRequestRaw_ContentIdentification_ExistingLicense ¶
type LicenseRequestRaw_ContentIdentification_ExistingLicense struct { LicenseId *LicenseIdentification `protobuf:"bytes,1,opt,name=LicenseId" json:"LicenseId,omitempty"` SecondsSinceStarted *uint32 `protobuf:"varint,2,opt,name=SecondsSinceStarted" json:"SecondsSinceStarted,omitempty"` SecondsSinceLastPlayed *uint32 `protobuf:"varint,3,opt,name=SecondsSinceLastPlayed" json:"SecondsSinceLastPlayed,omitempty"` SessionUsageTableEntry []byte `protobuf:"bytes,4,opt,name=SessionUsageTableEntry" json:"SessionUsageTableEntry,omitempty"` // interesting! try to figure out the connection between the usage table blob and KCB! // contains filtered or unexported fields }
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) Descriptor
deprecated
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequestRaw_ContentIdentification_ExistingLicense.ProtoReflect.Descriptor instead.
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) GetLicenseId ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetLicenseId() *LicenseIdentification
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed() uint32
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSecondsSinceStarted ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSecondsSinceStarted() uint32
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSessionUsageTableEntry ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) GetSessionUsageTableEntry() []byte
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) ProtoMessage ¶
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) ProtoMessage()
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) ProtoReflect ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) ProtoReflect() protoreflect.Message
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) Reset ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) Reset()
func (*LicenseRequestRaw_ContentIdentification_ExistingLicense) String ¶
func (x *LicenseRequestRaw_ContentIdentification_ExistingLicense) String() string
type LicenseRequestRaw_ContentIdentification_WebM ¶
type LicenseRequestRaw_ContentIdentification_WebM struct { Header []byte `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` // identical to CENC, aside from PSSH and the parent field number used LicenseType *LicenseType `protobuf:"varint,2,opt,name=LicenseType,enum=LicenseType" json:"LicenseType,omitempty"` RequestId []byte `protobuf:"bytes,3,opt,name=RequestId" json:"RequestId,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequestRaw_ContentIdentification_WebM) Descriptor
deprecated
func (*LicenseRequestRaw_ContentIdentification_WebM) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequestRaw_ContentIdentification_WebM.ProtoReflect.Descriptor instead.
func (*LicenseRequestRaw_ContentIdentification_WebM) GetHeader ¶
func (x *LicenseRequestRaw_ContentIdentification_WebM) GetHeader() []byte
func (*LicenseRequestRaw_ContentIdentification_WebM) GetLicenseType ¶
func (x *LicenseRequestRaw_ContentIdentification_WebM) GetLicenseType() LicenseType
func (*LicenseRequestRaw_ContentIdentification_WebM) GetRequestId ¶
func (x *LicenseRequestRaw_ContentIdentification_WebM) GetRequestId() []byte
func (*LicenseRequestRaw_ContentIdentification_WebM) ProtoMessage ¶
func (*LicenseRequestRaw_ContentIdentification_WebM) ProtoMessage()
func (*LicenseRequestRaw_ContentIdentification_WebM) ProtoReflect ¶
func (x *LicenseRequestRaw_ContentIdentification_WebM) ProtoReflect() protoreflect.Message
func (*LicenseRequestRaw_ContentIdentification_WebM) Reset ¶
func (x *LicenseRequestRaw_ContentIdentification_WebM) Reset()
func (*LicenseRequestRaw_ContentIdentification_WebM) String ¶
func (x *LicenseRequestRaw_ContentIdentification_WebM) String() string
type LicenseRequestRaw_RequestType ¶
type LicenseRequestRaw_RequestType int32
const ( LicenseRequestRaw_NEW LicenseRequestRaw_RequestType = 1 LicenseRequestRaw_RENEWAL LicenseRequestRaw_RequestType = 2 LicenseRequestRaw_RELEASE LicenseRequestRaw_RequestType = 3 )
func (LicenseRequestRaw_RequestType) Descriptor ¶
func (LicenseRequestRaw_RequestType) Descriptor() protoreflect.EnumDescriptor
func (LicenseRequestRaw_RequestType) Enum ¶
func (x LicenseRequestRaw_RequestType) Enum() *LicenseRequestRaw_RequestType
func (LicenseRequestRaw_RequestType) EnumDescriptor
deprecated
func (LicenseRequestRaw_RequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseRequestRaw_RequestType.Descriptor instead.
func (LicenseRequestRaw_RequestType) Number ¶
func (x LicenseRequestRaw_RequestType) Number() protoreflect.EnumNumber
func (LicenseRequestRaw_RequestType) String ¶
func (x LicenseRequestRaw_RequestType) String() string
func (LicenseRequestRaw_RequestType) Type ¶
func (LicenseRequestRaw_RequestType) Type() protoreflect.EnumType
func (*LicenseRequestRaw_RequestType) UnmarshalJSON
deprecated
func (x *LicenseRequestRaw_RequestType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LicenseRequest_ContentIdentification ¶
type LicenseRequest_ContentIdentification struct { CencId *LicenseRequest_ContentIdentification_CENC `protobuf:"bytes,1,opt,name=CencId" json:"CencId,omitempty"` WebmId *LicenseRequest_ContentIdentification_WebM `protobuf:"bytes,2,opt,name=WebmId" json:"WebmId,omitempty"` License *LicenseRequest_ContentIdentification_ExistingLicense `protobuf:"bytes,3,opt,name=License" json:"License,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification) GetCencId ¶
func (x *LicenseRequest_ContentIdentification) GetCencId() *LicenseRequest_ContentIdentification_CENC
func (*LicenseRequest_ContentIdentification) GetLicense ¶
func (x *LicenseRequest_ContentIdentification) GetLicense() *LicenseRequest_ContentIdentification_ExistingLicense
func (*LicenseRequest_ContentIdentification) GetWebmId ¶
func (x *LicenseRequest_ContentIdentification) GetWebmId() *LicenseRequest_ContentIdentification_WebM
func (*LicenseRequest_ContentIdentification) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification) ProtoMessage()
func (*LicenseRequest_ContentIdentification) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification) Reset ¶
func (x *LicenseRequest_ContentIdentification) Reset()
func (*LicenseRequest_ContentIdentification) String ¶
func (x *LicenseRequest_ContentIdentification) String() string
type LicenseRequest_ContentIdentification_CENC ¶
type LicenseRequest_ContentIdentification_CENC struct { //optional bytes Pssh = 1; // the client's definition is opaque, it doesn't care about the contents, but the PSSH has a clear definition that is understood and requested by the server, thus I'll replace it with: Pssh *WidevineCencHeader `protobuf:"bytes,1,opt,name=Pssh" json:"Pssh,omitempty"` LicenseType *LicenseType `protobuf:"varint,2,opt,name=LicenseType,enum=LicenseType" json:"LicenseType,omitempty"` // unfortunately the LicenseType symbols are not present, acceptable value seems to only be 1 (is this persist/don't persist? look into it!) RequestId []byte `protobuf:"bytes,3,opt,name=RequestId" json:"RequestId,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification_CENC) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification_CENC) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_CENC.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification_CENC) GetLicenseType ¶
func (x *LicenseRequest_ContentIdentification_CENC) GetLicenseType() LicenseType
func (*LicenseRequest_ContentIdentification_CENC) GetPssh ¶
func (x *LicenseRequest_ContentIdentification_CENC) GetPssh() *WidevineCencHeader
func (*LicenseRequest_ContentIdentification_CENC) GetRequestId ¶
func (x *LicenseRequest_ContentIdentification_CENC) GetRequestId() []byte
func (*LicenseRequest_ContentIdentification_CENC) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification_CENC) ProtoMessage()
func (*LicenseRequest_ContentIdentification_CENC) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification_CENC) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification_CENC) Reset ¶
func (x *LicenseRequest_ContentIdentification_CENC) Reset()
func (*LicenseRequest_ContentIdentification_CENC) String ¶
func (x *LicenseRequest_ContentIdentification_CENC) String() string
type LicenseRequest_ContentIdentification_ExistingLicense ¶
type LicenseRequest_ContentIdentification_ExistingLicense struct { LicenseId *LicenseIdentification `protobuf:"bytes,1,opt,name=LicenseId" json:"LicenseId,omitempty"` SecondsSinceStarted *uint32 `protobuf:"varint,2,opt,name=SecondsSinceStarted" json:"SecondsSinceStarted,omitempty"` SecondsSinceLastPlayed *uint32 `protobuf:"varint,3,opt,name=SecondsSinceLastPlayed" json:"SecondsSinceLastPlayed,omitempty"` SessionUsageTableEntry []byte `protobuf:"bytes,4,opt,name=SessionUsageTableEntry" json:"SessionUsageTableEntry,omitempty"` // interesting! try to figure out the connection between the usage table blob and KCB! // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification_ExistingLicense) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification_ExistingLicense) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_ExistingLicense.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification_ExistingLicense) GetLicenseId ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetLicenseId() *LicenseIdentification
func (*LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed() uint32
func (*LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceStarted ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceStarted() uint32
func (*LicenseRequest_ContentIdentification_ExistingLicense) GetSessionUsageTableEntry ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSessionUsageTableEntry() []byte
func (*LicenseRequest_ContentIdentification_ExistingLicense) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification_ExistingLicense) ProtoMessage()
func (*LicenseRequest_ContentIdentification_ExistingLicense) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification_ExistingLicense) Reset ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) Reset()
func (*LicenseRequest_ContentIdentification_ExistingLicense) String ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) String() string
type LicenseRequest_ContentIdentification_WebM ¶
type LicenseRequest_ContentIdentification_WebM struct { Header []byte `protobuf:"bytes,1,opt,name=Header" json:"Header,omitempty"` // identical to CENC, aside from PSSH and the parent field number used LicenseType *LicenseType `protobuf:"varint,2,opt,name=LicenseType,enum=LicenseType" json:"LicenseType,omitempty"` RequestId []byte `protobuf:"bytes,3,opt,name=RequestId" json:"RequestId,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification_WebM) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification_WebM) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_WebM.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification_WebM) GetHeader ¶
func (x *LicenseRequest_ContentIdentification_WebM) GetHeader() []byte
func (*LicenseRequest_ContentIdentification_WebM) GetLicenseType ¶
func (x *LicenseRequest_ContentIdentification_WebM) GetLicenseType() LicenseType
func (*LicenseRequest_ContentIdentification_WebM) GetRequestId ¶
func (x *LicenseRequest_ContentIdentification_WebM) GetRequestId() []byte
func (*LicenseRequest_ContentIdentification_WebM) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification_WebM) ProtoMessage()
func (*LicenseRequest_ContentIdentification_WebM) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification_WebM) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification_WebM) Reset ¶
func (x *LicenseRequest_ContentIdentification_WebM) Reset()
func (*LicenseRequest_ContentIdentification_WebM) String ¶
func (x *LicenseRequest_ContentIdentification_WebM) String() string
type LicenseRequest_RequestType ¶
type LicenseRequest_RequestType int32
const ( LicenseRequest_NEW LicenseRequest_RequestType = 1 LicenseRequest_RENEWAL LicenseRequest_RequestType = 2 LicenseRequest_RELEASE LicenseRequest_RequestType = 3 )
func (LicenseRequest_RequestType) Descriptor ¶
func (LicenseRequest_RequestType) Descriptor() protoreflect.EnumDescriptor
func (LicenseRequest_RequestType) Enum ¶
func (x LicenseRequest_RequestType) Enum() *LicenseRequest_RequestType
func (LicenseRequest_RequestType) EnumDescriptor
deprecated
func (LicenseRequest_RequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_RequestType.Descriptor instead.
func (LicenseRequest_RequestType) Number ¶
func (x LicenseRequest_RequestType) Number() protoreflect.EnumNumber
func (LicenseRequest_RequestType) String ¶
func (x LicenseRequest_RequestType) String() string
func (LicenseRequest_RequestType) Type ¶
func (LicenseRequest_RequestType) Type() protoreflect.EnumType
func (*LicenseRequest_RequestType) UnmarshalJSON
deprecated
func (x *LicenseRequest_RequestType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LicenseType ¶
type LicenseType int32
todo: fill (for this top-level type, it might be impossible/difficult)
const ( LicenseType_ZERO LicenseType = 0 LicenseType_DEFAULT LicenseType = 1 // 1 is STREAMING/temporary license; on recent versions may go up to 3 (latest x86); it might be persist/don't persist type, unconfirmed LicenseType_OFFLINE LicenseType = 2 )
func (LicenseType) Descriptor ¶
func (LicenseType) Descriptor() protoreflect.EnumDescriptor
func (LicenseType) Enum ¶
func (x LicenseType) Enum() *LicenseType
func (LicenseType) EnumDescriptor
deprecated
func (LicenseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseType.Descriptor instead.
func (LicenseType) Number ¶
func (x LicenseType) Number() protoreflect.EnumNumber
func (LicenseType) String ¶
func (x LicenseType) String() string
func (LicenseType) Type ¶
func (LicenseType) Type() protoreflect.EnumType
func (*LicenseType) UnmarshalJSON
deprecated
func (x *LicenseType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License_KeyContainer ¶
type License_KeyContainer struct { Id []byte `protobuf:"bytes,1,opt,name=Id" json:"Id,omitempty"` Iv []byte `protobuf:"bytes,2,opt,name=Iv" json:"Iv,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=Key" json:"Key,omitempty"` Type *License_KeyContainer_KeyType `protobuf:"varint,4,opt,name=Type,enum=License_KeyContainer_KeyType" json:"Type,omitempty"` Level *License_KeyContainer_SecurityLevel `protobuf:"varint,5,opt,name=Level,enum=License_KeyContainer_SecurityLevel" json:"Level,omitempty"` RequiredProtection *License_KeyContainer_OutputProtection `protobuf:"bytes,6,opt,name=RequiredProtection" json:"RequiredProtection,omitempty"` RequestedProtection *License_KeyContainer_OutputProtection `protobuf:"bytes,7,opt,name=RequestedProtection" json:"RequestedProtection,omitempty"` XKeyControl *License_KeyContainer_KeyControl `protobuf:"bytes,8,opt,name=_KeyControl,json=KeyControl" json:"_KeyControl,omitempty"` // duped names, etc XOperatorSessionKeyPermissions *License_KeyContainer_OperatorSessionKeyPermissions `` // duped names, etc /* 141-byte string literal not displayed */ VideoResolutionConstraints []*License_KeyContainer_VideoResolutionConstraint `protobuf:"bytes,10,rep,name=VideoResolutionConstraints" json:"VideoResolutionConstraints,omitempty"` // contains filtered or unexported fields }
func (*License_KeyContainer) Descriptor
deprecated
func (*License_KeyContainer) Descriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer.ProtoReflect.Descriptor instead.
func (*License_KeyContainer) GetId ¶
func (x *License_KeyContainer) GetId() []byte
func (*License_KeyContainer) GetIv ¶
func (x *License_KeyContainer) GetIv() []byte
func (*License_KeyContainer) GetKey ¶
func (x *License_KeyContainer) GetKey() []byte
func (*License_KeyContainer) GetLevel ¶
func (x *License_KeyContainer) GetLevel() License_KeyContainer_SecurityLevel
func (*License_KeyContainer) GetRequestedProtection ¶
func (x *License_KeyContainer) GetRequestedProtection() *License_KeyContainer_OutputProtection
func (*License_KeyContainer) GetRequiredProtection ¶
func (x *License_KeyContainer) GetRequiredProtection() *License_KeyContainer_OutputProtection
func (*License_KeyContainer) GetType ¶
func (x *License_KeyContainer) GetType() License_KeyContainer_KeyType
func (*License_KeyContainer) GetVideoResolutionConstraints ¶
func (x *License_KeyContainer) GetVideoResolutionConstraints() []*License_KeyContainer_VideoResolutionConstraint
func (*License_KeyContainer) GetXKeyControl ¶
func (x *License_KeyContainer) GetXKeyControl() *License_KeyContainer_KeyControl
func (*License_KeyContainer) GetXOperatorSessionKeyPermissions ¶
func (x *License_KeyContainer) GetXOperatorSessionKeyPermissions() *License_KeyContainer_OperatorSessionKeyPermissions
func (*License_KeyContainer) ProtoMessage ¶
func (*License_KeyContainer) ProtoMessage()
func (*License_KeyContainer) ProtoReflect ¶
func (x *License_KeyContainer) ProtoReflect() protoreflect.Message
func (*License_KeyContainer) Reset ¶
func (x *License_KeyContainer) Reset()
func (*License_KeyContainer) String ¶
func (x *License_KeyContainer) String() string
type License_KeyContainer_KeyControl ¶
type License_KeyContainer_KeyControl struct { KeyControlBlock []byte `protobuf:"bytes,1,req,name=KeyControlBlock" json:"KeyControlBlock,omitempty"` // what is this? Iv []byte `protobuf:"bytes,2,req,name=Iv" json:"Iv,omitempty"` // contains filtered or unexported fields }
func (*License_KeyContainer_KeyControl) Descriptor
deprecated
func (*License_KeyContainer_KeyControl) Descriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_KeyControl.ProtoReflect.Descriptor instead.
func (*License_KeyContainer_KeyControl) GetIv ¶
func (x *License_KeyContainer_KeyControl) GetIv() []byte
func (*License_KeyContainer_KeyControl) GetKeyControlBlock ¶
func (x *License_KeyContainer_KeyControl) GetKeyControlBlock() []byte
func (*License_KeyContainer_KeyControl) ProtoMessage ¶
func (*License_KeyContainer_KeyControl) ProtoMessage()
func (*License_KeyContainer_KeyControl) ProtoReflect ¶
func (x *License_KeyContainer_KeyControl) ProtoReflect() protoreflect.Message
func (*License_KeyContainer_KeyControl) Reset ¶
func (x *License_KeyContainer_KeyControl) Reset()
func (*License_KeyContainer_KeyControl) String ¶
func (x *License_KeyContainer_KeyControl) String() string
type License_KeyContainer_KeyType ¶
type License_KeyContainer_KeyType int32
const ( License_KeyContainer_SIGNING License_KeyContainer_KeyType = 1 License_KeyContainer_CONTENT License_KeyContainer_KeyType = 2 License_KeyContainer_KEY_CONTROL License_KeyContainer_KeyType = 3 License_KeyContainer_OPERATOR_SESSION License_KeyContainer_KeyType = 4 )
func (License_KeyContainer_KeyType) Descriptor ¶
func (License_KeyContainer_KeyType) Descriptor() protoreflect.EnumDescriptor
func (License_KeyContainer_KeyType) Enum ¶
func (x License_KeyContainer_KeyType) Enum() *License_KeyContainer_KeyType
func (License_KeyContainer_KeyType) EnumDescriptor
deprecated
func (License_KeyContainer_KeyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_KeyType.Descriptor instead.
func (License_KeyContainer_KeyType) Number ¶
func (x License_KeyContainer_KeyType) Number() protoreflect.EnumNumber
func (License_KeyContainer_KeyType) String ¶
func (x License_KeyContainer_KeyType) String() string
func (License_KeyContainer_KeyType) Type ¶
func (License_KeyContainer_KeyType) Type() protoreflect.EnumType
func (*License_KeyContainer_KeyType) UnmarshalJSON
deprecated
func (x *License_KeyContainer_KeyType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License_KeyContainer_OperatorSessionKeyPermissions ¶
type License_KeyContainer_OperatorSessionKeyPermissions struct { AllowEncrypt *uint32 `protobuf:"varint,1,opt,name=AllowEncrypt" json:"AllowEncrypt,omitempty"` AllowDecrypt *uint32 `protobuf:"varint,2,opt,name=AllowDecrypt" json:"AllowDecrypt,omitempty"` AllowSign *uint32 `protobuf:"varint,3,opt,name=AllowSign" json:"AllowSign,omitempty"` AllowSignatureVerify *uint32 `protobuf:"varint,4,opt,name=AllowSignatureVerify" json:"AllowSignatureVerify,omitempty"` // contains filtered or unexported fields }
func (*License_KeyContainer_OperatorSessionKeyPermissions) Descriptor
deprecated
func (*License_KeyContainer_OperatorSessionKeyPermissions) Descriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_OperatorSessionKeyPermissions.ProtoReflect.Descriptor instead.
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowDecrypt ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowDecrypt() uint32
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowEncrypt ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowEncrypt() uint32
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSign ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSign() uint32
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSignatureVerify ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSignatureVerify() uint32
func (*License_KeyContainer_OperatorSessionKeyPermissions) ProtoMessage ¶
func (*License_KeyContainer_OperatorSessionKeyPermissions) ProtoMessage()
func (*License_KeyContainer_OperatorSessionKeyPermissions) ProtoReflect ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) ProtoReflect() protoreflect.Message
func (*License_KeyContainer_OperatorSessionKeyPermissions) Reset ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) Reset()
func (*License_KeyContainer_OperatorSessionKeyPermissions) String ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) String() string
type License_KeyContainer_OutputProtection ¶
type License_KeyContainer_OutputProtection struct { Hdcp *ClientIdentification_ClientCapabilities_HdcpVersion `protobuf:"varint,1,opt,name=Hdcp,enum=ClientIdentification_ClientCapabilities_HdcpVersion" json:"Hdcp,omitempty"` // it's most likely a copy of Hdcp version available here, but compiler optimized it away CgmsFlags *License_KeyContainer_OutputProtection_CGMS `protobuf:"varint,2,opt,name=CgmsFlags,enum=License_KeyContainer_OutputProtection_CGMS" json:"CgmsFlags,omitempty"` // contains filtered or unexported fields }
func (*License_KeyContainer_OutputProtection) Descriptor
deprecated
func (*License_KeyContainer_OutputProtection) Descriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_OutputProtection.ProtoReflect.Descriptor instead.
func (*License_KeyContainer_OutputProtection) GetCgmsFlags ¶
func (x *License_KeyContainer_OutputProtection) GetCgmsFlags() License_KeyContainer_OutputProtection_CGMS
func (*License_KeyContainer_OutputProtection) ProtoMessage ¶
func (*License_KeyContainer_OutputProtection) ProtoMessage()
func (*License_KeyContainer_OutputProtection) ProtoReflect ¶
func (x *License_KeyContainer_OutputProtection) ProtoReflect() protoreflect.Message
func (*License_KeyContainer_OutputProtection) Reset ¶
func (x *License_KeyContainer_OutputProtection) Reset()
func (*License_KeyContainer_OutputProtection) String ¶
func (x *License_KeyContainer_OutputProtection) String() string
type License_KeyContainer_OutputProtection_CGMS ¶
type License_KeyContainer_OutputProtection_CGMS int32
const ( License_KeyContainer_OutputProtection_COPY_FREE License_KeyContainer_OutputProtection_CGMS = 0 License_KeyContainer_OutputProtection_COPY_ONCE License_KeyContainer_OutputProtection_CGMS = 2 License_KeyContainer_OutputProtection_COPY_NEVER License_KeyContainer_OutputProtection_CGMS = 3 License_KeyContainer_OutputProtection_CGMS_NONE License_KeyContainer_OutputProtection_CGMS = 42 // PC default! )
func (License_KeyContainer_OutputProtection_CGMS) Descriptor ¶
func (License_KeyContainer_OutputProtection_CGMS) Descriptor() protoreflect.EnumDescriptor
func (License_KeyContainer_OutputProtection_CGMS) EnumDescriptor
deprecated
func (License_KeyContainer_OutputProtection_CGMS) EnumDescriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_OutputProtection_CGMS.Descriptor instead.
func (License_KeyContainer_OutputProtection_CGMS) Number ¶
func (x License_KeyContainer_OutputProtection_CGMS) Number() protoreflect.EnumNumber
func (License_KeyContainer_OutputProtection_CGMS) String ¶
func (x License_KeyContainer_OutputProtection_CGMS) String() string
func (License_KeyContainer_OutputProtection_CGMS) Type ¶
func (License_KeyContainer_OutputProtection_CGMS) Type() protoreflect.EnumType
func (*License_KeyContainer_OutputProtection_CGMS) UnmarshalJSON
deprecated
func (x *License_KeyContainer_OutputProtection_CGMS) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License_KeyContainer_SecurityLevel ¶
type License_KeyContainer_SecurityLevel int32
const ( License_KeyContainer_SW_SECURE_CRYPTO License_KeyContainer_SecurityLevel = 1 License_KeyContainer_SW_SECURE_DECODE License_KeyContainer_SecurityLevel = 2 License_KeyContainer_HW_SECURE_CRYPTO License_KeyContainer_SecurityLevel = 3 License_KeyContainer_HW_SECURE_DECODE License_KeyContainer_SecurityLevel = 4 License_KeyContainer_HW_SECURE_ALL License_KeyContainer_SecurityLevel = 5 )
func (License_KeyContainer_SecurityLevel) Descriptor ¶
func (License_KeyContainer_SecurityLevel) Descriptor() protoreflect.EnumDescriptor
func (License_KeyContainer_SecurityLevel) Enum ¶
func (x License_KeyContainer_SecurityLevel) Enum() *License_KeyContainer_SecurityLevel
func (License_KeyContainer_SecurityLevel) EnumDescriptor
deprecated
func (License_KeyContainer_SecurityLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_SecurityLevel.Descriptor instead.
func (License_KeyContainer_SecurityLevel) Number ¶
func (x License_KeyContainer_SecurityLevel) Number() protoreflect.EnumNumber
func (License_KeyContainer_SecurityLevel) String ¶
func (x License_KeyContainer_SecurityLevel) String() string
func (License_KeyContainer_SecurityLevel) Type ¶
func (License_KeyContainer_SecurityLevel) Type() protoreflect.EnumType
func (*License_KeyContainer_SecurityLevel) UnmarshalJSON
deprecated
func (x *License_KeyContainer_SecurityLevel) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License_KeyContainer_VideoResolutionConstraint ¶
type License_KeyContainer_VideoResolutionConstraint struct { MinResolutionPixels *uint32 `protobuf:"varint,1,opt,name=MinResolutionPixels" json:"MinResolutionPixels,omitempty"` MaxResolutionPixels *uint32 `protobuf:"varint,2,opt,name=MaxResolutionPixels" json:"MaxResolutionPixels,omitempty"` RequiredProtection *License_KeyContainer_OutputProtection `protobuf:"bytes,3,opt,name=RequiredProtection" json:"RequiredProtection,omitempty"` // contains filtered or unexported fields }
func (*License_KeyContainer_VideoResolutionConstraint) Descriptor
deprecated
func (*License_KeyContainer_VideoResolutionConstraint) Descriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_VideoResolutionConstraint.ProtoReflect.Descriptor instead.
func (*License_KeyContainer_VideoResolutionConstraint) GetMaxResolutionPixels ¶
func (x *License_KeyContainer_VideoResolutionConstraint) GetMaxResolutionPixels() uint32
func (*License_KeyContainer_VideoResolutionConstraint) GetMinResolutionPixels ¶
func (x *License_KeyContainer_VideoResolutionConstraint) GetMinResolutionPixels() uint32
func (*License_KeyContainer_VideoResolutionConstraint) GetRequiredProtection ¶
func (x *License_KeyContainer_VideoResolutionConstraint) GetRequiredProtection() *License_KeyContainer_OutputProtection
func (*License_KeyContainer_VideoResolutionConstraint) ProtoMessage ¶
func (*License_KeyContainer_VideoResolutionConstraint) ProtoMessage()
func (*License_KeyContainer_VideoResolutionConstraint) ProtoReflect ¶
func (x *License_KeyContainer_VideoResolutionConstraint) ProtoReflect() protoreflect.Message
func (*License_KeyContainer_VideoResolutionConstraint) Reset ¶
func (x *License_KeyContainer_VideoResolutionConstraint) Reset()
func (*License_KeyContainer_VideoResolutionConstraint) String ¶
func (x *License_KeyContainer_VideoResolutionConstraint) String() string
type License_Policy ¶
type License_Policy struct { CanPlay *bool `protobuf:"varint,1,opt,name=CanPlay" json:"CanPlay,omitempty"` // changed from uint32 to bool CanPersist *bool `protobuf:"varint,2,opt,name=CanPersist" json:"CanPersist,omitempty"` CanRenew *bool `protobuf:"varint,3,opt,name=CanRenew" json:"CanRenew,omitempty"` RentalDurationSeconds *uint32 `protobuf:"varint,4,opt,name=RentalDurationSeconds" json:"RentalDurationSeconds,omitempty"` PlaybackDurationSeconds *uint32 `protobuf:"varint,5,opt,name=PlaybackDurationSeconds" json:"PlaybackDurationSeconds,omitempty"` LicenseDurationSeconds *uint32 `protobuf:"varint,6,opt,name=LicenseDurationSeconds" json:"LicenseDurationSeconds,omitempty"` RenewalRecoveryDurationSeconds *uint32 `protobuf:"varint,7,opt,name=RenewalRecoveryDurationSeconds" json:"RenewalRecoveryDurationSeconds,omitempty"` RenewalServerUrl *string `protobuf:"bytes,8,opt,name=RenewalServerUrl" json:"RenewalServerUrl,omitempty"` RenewalDelaySeconds *uint32 `protobuf:"varint,9,opt,name=RenewalDelaySeconds" json:"RenewalDelaySeconds,omitempty"` RenewalRetryIntervalSeconds *uint32 `protobuf:"varint,10,opt,name=RenewalRetryIntervalSeconds" json:"RenewalRetryIntervalSeconds,omitempty"` RenewWithUsage *bool `protobuf:"varint,11,opt,name=RenewWithUsage" json:"RenewWithUsage,omitempty"` // was uint32 // contains filtered or unexported fields }
func (*License_Policy) Descriptor
deprecated
func (*License_Policy) Descriptor() ([]byte, []int)
Deprecated: Use License_Policy.ProtoReflect.Descriptor instead.
func (*License_Policy) GetCanPersist ¶
func (x *License_Policy) GetCanPersist() bool
func (*License_Policy) GetCanPlay ¶
func (x *License_Policy) GetCanPlay() bool
func (*License_Policy) GetCanRenew ¶
func (x *License_Policy) GetCanRenew() bool
func (*License_Policy) GetLicenseDurationSeconds ¶
func (x *License_Policy) GetLicenseDurationSeconds() uint32
func (*License_Policy) GetPlaybackDurationSeconds ¶
func (x *License_Policy) GetPlaybackDurationSeconds() uint32
func (*License_Policy) GetRenewWithUsage ¶
func (x *License_Policy) GetRenewWithUsage() bool
func (*License_Policy) GetRenewalDelaySeconds ¶
func (x *License_Policy) GetRenewalDelaySeconds() uint32
func (*License_Policy) GetRenewalRecoveryDurationSeconds ¶
func (x *License_Policy) GetRenewalRecoveryDurationSeconds() uint32
func (*License_Policy) GetRenewalRetryIntervalSeconds ¶
func (x *License_Policy) GetRenewalRetryIntervalSeconds() uint32
func (*License_Policy) GetRenewalServerUrl ¶
func (x *License_Policy) GetRenewalServerUrl() string
func (*License_Policy) GetRentalDurationSeconds ¶
func (x *License_Policy) GetRentalDurationSeconds() uint32
func (*License_Policy) ProtoMessage ¶
func (*License_Policy) ProtoMessage()
func (*License_Policy) ProtoReflect ¶
func (x *License_Policy) ProtoReflect() protoreflect.Message
func (*License_Policy) Reset ¶
func (x *License_Policy) Reset()
func (*License_Policy) String ¶
func (x *License_Policy) String() string
type ProtocolVersion ¶
type ProtocolVersion int32
todo: fill (for this top-level type, it might be impossible/difficult) this is just a guess because these globals got lost, but really, do we need more?
const (
ProtocolVersion_CURRENT ProtocolVersion = 21 // don't have symbols for this
)
func (ProtocolVersion) Descriptor ¶
func (ProtocolVersion) Descriptor() protoreflect.EnumDescriptor
func (ProtocolVersion) Enum ¶
func (x ProtocolVersion) Enum() *ProtocolVersion
func (ProtocolVersion) EnumDescriptor
deprecated
func (ProtocolVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProtocolVersion.Descriptor instead.
func (ProtocolVersion) Number ¶
func (x ProtocolVersion) Number() protoreflect.EnumNumber
func (ProtocolVersion) String ¶
func (x ProtocolVersion) String() string
func (ProtocolVersion) Type ¶
func (ProtocolVersion) Type() protoreflect.EnumType
func (*ProtocolVersion) UnmarshalJSON
deprecated
func (x *ProtocolVersion) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ProvisionedDeviceInfo ¶
type ProvisionedDeviceInfo struct { SystemId *uint32 `protobuf:"varint,1,opt,name=SystemId" json:"SystemId,omitempty"` Soc *string `protobuf:"bytes,2,opt,name=Soc" json:"Soc,omitempty"` Manufacturer *string `protobuf:"bytes,3,opt,name=Manufacturer" json:"Manufacturer,omitempty"` Model *string `protobuf:"bytes,4,opt,name=Model" json:"Model,omitempty"` DeviceType *string `protobuf:"bytes,5,opt,name=DeviceType" json:"DeviceType,omitempty"` ModelYear *uint32 `protobuf:"varint,6,opt,name=ModelYear" json:"ModelYear,omitempty"` SecurityLevel *ProvisionedDeviceInfo_WvSecurityLevel `protobuf:"varint,7,opt,name=SecurityLevel,enum=ProvisionedDeviceInfo_WvSecurityLevel" json:"SecurityLevel,omitempty"` TestDevice *uint32 `protobuf:"varint,8,opt,name=TestDevice" json:"TestDevice,omitempty"` // bool? // contains filtered or unexported fields }
func (*ProvisionedDeviceInfo) Descriptor
deprecated
func (*ProvisionedDeviceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionedDeviceInfo.ProtoReflect.Descriptor instead.
func (*ProvisionedDeviceInfo) GetDeviceType ¶
func (x *ProvisionedDeviceInfo) GetDeviceType() string
func (*ProvisionedDeviceInfo) GetManufacturer ¶
func (x *ProvisionedDeviceInfo) GetManufacturer() string
func (*ProvisionedDeviceInfo) GetModel ¶
func (x *ProvisionedDeviceInfo) GetModel() string
func (*ProvisionedDeviceInfo) GetModelYear ¶
func (x *ProvisionedDeviceInfo) GetModelYear() uint32
func (*ProvisionedDeviceInfo) GetSecurityLevel ¶
func (x *ProvisionedDeviceInfo) GetSecurityLevel() ProvisionedDeviceInfo_WvSecurityLevel
func (*ProvisionedDeviceInfo) GetSoc ¶
func (x *ProvisionedDeviceInfo) GetSoc() string
func (*ProvisionedDeviceInfo) GetSystemId ¶
func (x *ProvisionedDeviceInfo) GetSystemId() uint32
func (*ProvisionedDeviceInfo) GetTestDevice ¶
func (x *ProvisionedDeviceInfo) GetTestDevice() uint32
func (*ProvisionedDeviceInfo) ProtoMessage ¶
func (*ProvisionedDeviceInfo) ProtoMessage()
func (*ProvisionedDeviceInfo) ProtoReflect ¶
func (x *ProvisionedDeviceInfo) ProtoReflect() protoreflect.Message
func (*ProvisionedDeviceInfo) Reset ¶
func (x *ProvisionedDeviceInfo) Reset()
func (*ProvisionedDeviceInfo) String ¶
func (x *ProvisionedDeviceInfo) String() string
type ProvisionedDeviceInfo_WvSecurityLevel ¶
type ProvisionedDeviceInfo_WvSecurityLevel int32
const ( ProvisionedDeviceInfo_LEVEL_UNSPECIFIED ProvisionedDeviceInfo_WvSecurityLevel = 0 ProvisionedDeviceInfo_LEVEL_1 ProvisionedDeviceInfo_WvSecurityLevel = 1 ProvisionedDeviceInfo_LEVEL_2 ProvisionedDeviceInfo_WvSecurityLevel = 2 ProvisionedDeviceInfo_LEVEL_3 ProvisionedDeviceInfo_WvSecurityLevel = 3 )
func (ProvisionedDeviceInfo_WvSecurityLevel) Descriptor ¶
func (ProvisionedDeviceInfo_WvSecurityLevel) Descriptor() protoreflect.EnumDescriptor
func (ProvisionedDeviceInfo_WvSecurityLevel) EnumDescriptor
deprecated
func (ProvisionedDeviceInfo_WvSecurityLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProvisionedDeviceInfo_WvSecurityLevel.Descriptor instead.
func (ProvisionedDeviceInfo_WvSecurityLevel) Number ¶
func (x ProvisionedDeviceInfo_WvSecurityLevel) Number() protoreflect.EnumNumber
func (ProvisionedDeviceInfo_WvSecurityLevel) String ¶
func (x ProvisionedDeviceInfo_WvSecurityLevel) String() string
func (ProvisionedDeviceInfo_WvSecurityLevel) Type ¶
func (ProvisionedDeviceInfo_WvSecurityLevel) Type() protoreflect.EnumType
func (*ProvisionedDeviceInfo_WvSecurityLevel) UnmarshalJSON
deprecated
func (x *ProvisionedDeviceInfo_WvSecurityLevel) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ProvisioningOptions ¶
type ProvisioningOptions struct {
// contains filtered or unexported fields
}
todo: fill
func (*ProvisioningOptions) Descriptor
deprecated
func (*ProvisioningOptions) Descriptor() ([]byte, []int)
Deprecated: Use ProvisioningOptions.ProtoReflect.Descriptor instead.
func (*ProvisioningOptions) ProtoMessage ¶
func (*ProvisioningOptions) ProtoMessage()
func (*ProvisioningOptions) ProtoReflect ¶
func (x *ProvisioningOptions) ProtoReflect() protoreflect.Message
func (*ProvisioningOptions) Reset ¶
func (x *ProvisioningOptions) Reset()
func (*ProvisioningOptions) String ¶
func (x *ProvisioningOptions) String() string
type ProvisioningRequest ¶
type ProvisioningRequest struct {
// contains filtered or unexported fields
}
todo: fill
func (*ProvisioningRequest) Descriptor
deprecated
func (*ProvisioningRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProvisioningRequest.ProtoReflect.Descriptor instead.
func (*ProvisioningRequest) ProtoMessage ¶
func (*ProvisioningRequest) ProtoMessage()
func (*ProvisioningRequest) ProtoReflect ¶
func (x *ProvisioningRequest) ProtoReflect() protoreflect.Message
func (*ProvisioningRequest) Reset ¶
func (x *ProvisioningRequest) Reset()
func (*ProvisioningRequest) String ¶
func (x *ProvisioningRequest) String() string
type ProvisioningResponse ¶
type ProvisioningResponse struct {
// contains filtered or unexported fields
}
todo: fill
func (*ProvisioningResponse) Descriptor
deprecated
func (*ProvisioningResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProvisioningResponse.ProtoReflect.Descriptor instead.
func (*ProvisioningResponse) ProtoMessage ¶
func (*ProvisioningResponse) ProtoMessage()
func (*ProvisioningResponse) ProtoReflect ¶
func (x *ProvisioningResponse) ProtoReflect() protoreflect.Message
func (*ProvisioningResponse) Reset ¶
func (x *ProvisioningResponse) Reset()
func (*ProvisioningResponse) String ¶
func (x *ProvisioningResponse) String() string
type RemoteAttestation ¶
type RemoteAttestation struct { Certificate *EncryptedClientIdentification `protobuf:"bytes,1,opt,name=Certificate" json:"Certificate,omitempty"` Salt *string `protobuf:"bytes,2,opt,name=Salt" json:"Salt,omitempty"` Signature *string `protobuf:"bytes,3,opt,name=Signature" json:"Signature,omitempty"` // contains filtered or unexported fields }
func (*RemoteAttestation) Descriptor
deprecated
func (*RemoteAttestation) Descriptor() ([]byte, []int)
Deprecated: Use RemoteAttestation.ProtoReflect.Descriptor instead.
func (*RemoteAttestation) GetCertificate ¶
func (x *RemoteAttestation) GetCertificate() *EncryptedClientIdentification
func (*RemoteAttestation) GetSalt ¶
func (x *RemoteAttestation) GetSalt() string
func (*RemoteAttestation) GetSignature ¶
func (x *RemoteAttestation) GetSignature() string
func (*RemoteAttestation) ProtoMessage ¶
func (*RemoteAttestation) ProtoMessage()
func (*RemoteAttestation) ProtoReflect ¶
func (x *RemoteAttestation) ProtoReflect() protoreflect.Message
func (*RemoteAttestation) Reset ¶
func (x *RemoteAttestation) Reset()
func (*RemoteAttestation) String ¶
func (x *RemoteAttestation) String() string
type SessionInit ¶
type SessionInit struct {
// contains filtered or unexported fields
}
todo: fill
func (*SessionInit) Descriptor
deprecated
func (*SessionInit) Descriptor() ([]byte, []int)
Deprecated: Use SessionInit.ProtoReflect.Descriptor instead.
func (*SessionInit) ProtoMessage ¶
func (*SessionInit) ProtoMessage()
func (*SessionInit) ProtoReflect ¶
func (x *SessionInit) ProtoReflect() protoreflect.Message
func (*SessionInit) Reset ¶
func (x *SessionInit) Reset()
func (*SessionInit) String ¶
func (x *SessionInit) String() string
type SessionState ¶
type SessionState struct {
// contains filtered or unexported fields
}
todo: fill
func (*SessionState) Descriptor
deprecated
func (*SessionState) Descriptor() ([]byte, []int)
Deprecated: Use SessionState.ProtoReflect.Descriptor instead.
func (*SessionState) ProtoMessage ¶
func (*SessionState) ProtoMessage()
func (*SessionState) ProtoReflect ¶
func (x *SessionState) ProtoReflect() protoreflect.Message
func (*SessionState) Reset ¶
func (x *SessionState) Reset()
func (*SessionState) String ¶
func (x *SessionState) String() string
type SignedCertificateStatusList ¶
type SignedCertificateStatusList struct {
// contains filtered or unexported fields
}
todo: fill
func (*SignedCertificateStatusList) Descriptor
deprecated
func (*SignedCertificateStatusList) Descriptor() ([]byte, []int)
Deprecated: Use SignedCertificateStatusList.ProtoReflect.Descriptor instead.
func (*SignedCertificateStatusList) ProtoMessage ¶
func (*SignedCertificateStatusList) ProtoMessage()
func (*SignedCertificateStatusList) ProtoReflect ¶
func (x *SignedCertificateStatusList) ProtoReflect() protoreflect.Message
func (*SignedCertificateStatusList) Reset ¶
func (x *SignedCertificateStatusList) Reset()
func (*SignedCertificateStatusList) String ¶
func (x *SignedCertificateStatusList) String() string
type SignedDeviceCertificate ¶
type SignedDeviceCertificate struct { //optional bytes DeviceCertificate = 1; // again, they use a buffer where it's supposed to be a message, so we'll replace it with what it really is: XDeviceCertificate *DeviceCertificate `protobuf:"bytes,1,opt,name=_DeviceCertificate,json=DeviceCertificate" json:"_DeviceCertificate,omitempty"` // how should we deal with duped names? will have to look at proto docs later Signature []byte `protobuf:"bytes,2,opt,name=Signature" json:"Signature,omitempty"` Signer *SignedDeviceCertificate `protobuf:"bytes,3,opt,name=Signer" json:"Signer,omitempty"` // contains filtered or unexported fields }
func (*SignedDeviceCertificate) Descriptor
deprecated
func (*SignedDeviceCertificate) Descriptor() ([]byte, []int)
Deprecated: Use SignedDeviceCertificate.ProtoReflect.Descriptor instead.
func (*SignedDeviceCertificate) GetSignature ¶
func (x *SignedDeviceCertificate) GetSignature() []byte
func (*SignedDeviceCertificate) GetSigner ¶
func (x *SignedDeviceCertificate) GetSigner() *SignedDeviceCertificate
func (*SignedDeviceCertificate) GetXDeviceCertificate ¶
func (x *SignedDeviceCertificate) GetXDeviceCertificate() *DeviceCertificate
func (*SignedDeviceCertificate) ProtoMessage ¶
func (*SignedDeviceCertificate) ProtoMessage()
func (*SignedDeviceCertificate) ProtoReflect ¶
func (x *SignedDeviceCertificate) ProtoReflect() protoreflect.Message
func (*SignedDeviceCertificate) Reset ¶
func (x *SignedDeviceCertificate) Reset()
func (*SignedDeviceCertificate) String ¶
func (x *SignedDeviceCertificate) String() string
type SignedLicense ¶
type SignedLicense struct { Type *SignedLicense_MessageType `protobuf:"varint,1,opt,name=Type,enum=SignedLicense_MessageType" json:"Type,omitempty"` // has in incorrect overlap with License_KeyContainer_SecurityLevel Msg *License `protobuf:"bytes,2,opt,name=Msg" json:"Msg,omitempty"` // this has to be casted dynamically, to LicenseRequest, License or LicenseError (? unconfirmed), for Request, no other fields but Type need to be present // for SERVICE_CERTIFICATE, only Type and Msg are present, and it's just a DeviceCertificate with CertificateType set to SERVICE Signature []byte `protobuf:"bytes,3,opt,name=Signature" json:"Signature,omitempty"` // might be different type of signatures (ex. RSA vs AES CMAC(??), unconfirmed for now) SessionKey []byte `protobuf:"bytes,4,opt,name=SessionKey" json:"SessionKey,omitempty"` // often RSA wrapped for licenses RemoteAttestation *RemoteAttestation `protobuf:"bytes,5,opt,name=RemoteAttestation" json:"RemoteAttestation,omitempty"` // contains filtered or unexported fields }
func (*SignedLicense) Descriptor
deprecated
func (*SignedLicense) Descriptor() ([]byte, []int)
Deprecated: Use SignedLicense.ProtoReflect.Descriptor instead.
func (*SignedLicense) GetMsg ¶
func (x *SignedLicense) GetMsg() *License
func (*SignedLicense) GetRemoteAttestation ¶
func (x *SignedLicense) GetRemoteAttestation() *RemoteAttestation
func (*SignedLicense) GetSessionKey ¶
func (x *SignedLicense) GetSessionKey() []byte
func (*SignedLicense) GetSignature ¶
func (x *SignedLicense) GetSignature() []byte
func (*SignedLicense) GetType ¶
func (x *SignedLicense) GetType() SignedLicense_MessageType
func (*SignedLicense) ProtoMessage ¶
func (*SignedLicense) ProtoMessage()
func (*SignedLicense) ProtoReflect ¶
func (x *SignedLicense) ProtoReflect() protoreflect.Message
func (*SignedLicense) Reset ¶
func (x *SignedLicense) Reset()
func (*SignedLicense) String ¶
func (x *SignedLicense) String() string
type SignedLicenseRequest ¶
type SignedLicenseRequest struct { Type *SignedLicenseRequest_MessageType `protobuf:"varint,1,opt,name=Type,enum=SignedLicenseRequest_MessageType" json:"Type,omitempty"` // has in incorrect overlap with License_KeyContainer_SecurityLevel Msg *LicenseRequest `protobuf:"bytes,2,opt,name=Msg" json:"Msg,omitempty"` // this has to be casted dynamically, to LicenseRequest, License or LicenseError (? unconfirmed), for Request, no other fields but Type need to be present // for SERVICE_CERTIFICATE, only Type and Msg are present, and it's just a DeviceCertificate with CertificateType set to SERVICE Signature []byte `protobuf:"bytes,3,opt,name=Signature" json:"Signature,omitempty"` // might be different type of signatures (ex. RSA vs AES CMAC(??), unconfirmed for now) SessionKey []byte `protobuf:"bytes,4,opt,name=SessionKey" json:"SessionKey,omitempty"` // often RSA wrapped for licenses RemoteAttestation *RemoteAttestation `protobuf:"bytes,5,opt,name=RemoteAttestation" json:"RemoteAttestation,omitempty"` // contains filtered or unexported fields }
from here on, it's just for testing, these messages don't exist in the binaries, I'm adding them to avoid detecting type programmatically
func (*SignedLicenseRequest) Descriptor
deprecated
func (*SignedLicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignedLicenseRequest.ProtoReflect.Descriptor instead.
func (*SignedLicenseRequest) GetMsg ¶
func (x *SignedLicenseRequest) GetMsg() *LicenseRequest
func (*SignedLicenseRequest) GetRemoteAttestation ¶
func (x *SignedLicenseRequest) GetRemoteAttestation() *RemoteAttestation
func (*SignedLicenseRequest) GetSessionKey ¶
func (x *SignedLicenseRequest) GetSessionKey() []byte
func (*SignedLicenseRequest) GetSignature ¶
func (x *SignedLicenseRequest) GetSignature() []byte
func (*SignedLicenseRequest) GetType ¶
func (x *SignedLicenseRequest) GetType() SignedLicenseRequest_MessageType
func (*SignedLicenseRequest) ProtoMessage ¶
func (*SignedLicenseRequest) ProtoMessage()
func (*SignedLicenseRequest) ProtoReflect ¶
func (x *SignedLicenseRequest) ProtoReflect() protoreflect.Message
func (*SignedLicenseRequest) Reset ¶
func (x *SignedLicenseRequest) Reset()
func (*SignedLicenseRequest) String ¶
func (x *SignedLicenseRequest) String() string
type SignedLicenseRequestRaw ¶
type SignedLicenseRequestRaw struct { Type *SignedLicenseRequestRaw_MessageType `protobuf:"varint,1,opt,name=Type,enum=SignedLicenseRequestRaw_MessageType" json:"Type,omitempty"` // has in incorrect overlap with License_KeyContainer_SecurityLevel Msg *LicenseRequestRaw `protobuf:"bytes,2,opt,name=Msg" json:"Msg,omitempty"` // this has to be casted dynamically, to LicenseRequest, License or LicenseError (? unconfirmed), for Request, no other fields but Type need to be present // for SERVICE_CERTIFICATE, only Type and Msg are present, and it's just a DeviceCertificate with CertificateType set to SERVICE Signature []byte `protobuf:"bytes,3,opt,name=Signature" json:"Signature,omitempty"` // might be different type of signatures (ex. RSA vs AES CMAC(??), unconfirmed for now) SessionKey []byte `protobuf:"bytes,4,opt,name=SessionKey" json:"SessionKey,omitempty"` // often RSA wrapped for licenses RemoteAttestation *RemoteAttestation `protobuf:"bytes,5,opt,name=RemoteAttestation" json:"RemoteAttestation,omitempty"` // contains filtered or unexported fields }
hack
func (*SignedLicenseRequestRaw) Descriptor
deprecated
func (*SignedLicenseRequestRaw) Descriptor() ([]byte, []int)
Deprecated: Use SignedLicenseRequestRaw.ProtoReflect.Descriptor instead.
func (*SignedLicenseRequestRaw) GetMsg ¶
func (x *SignedLicenseRequestRaw) GetMsg() *LicenseRequestRaw
func (*SignedLicenseRequestRaw) GetRemoteAttestation ¶
func (x *SignedLicenseRequestRaw) GetRemoteAttestation() *RemoteAttestation
func (*SignedLicenseRequestRaw) GetSessionKey ¶
func (x *SignedLicenseRequestRaw) GetSessionKey() []byte
func (*SignedLicenseRequestRaw) GetSignature ¶
func (x *SignedLicenseRequestRaw) GetSignature() []byte
func (*SignedLicenseRequestRaw) GetType ¶
func (x *SignedLicenseRequestRaw) GetType() SignedLicenseRequestRaw_MessageType
func (*SignedLicenseRequestRaw) ProtoMessage ¶
func (*SignedLicenseRequestRaw) ProtoMessage()
func (*SignedLicenseRequestRaw) ProtoReflect ¶
func (x *SignedLicenseRequestRaw) ProtoReflect() protoreflect.Message
func (*SignedLicenseRequestRaw) Reset ¶
func (x *SignedLicenseRequestRaw) Reset()
func (*SignedLicenseRequestRaw) String ¶
func (x *SignedLicenseRequestRaw) String() string
type SignedLicenseRequestRaw_MessageType ¶
type SignedLicenseRequestRaw_MessageType int32
const ( SignedLicenseRequestRaw_LICENSE_REQUEST SignedLicenseRequestRaw_MessageType = 1 SignedLicenseRequestRaw_LICENSE SignedLicenseRequestRaw_MessageType = 2 SignedLicenseRequestRaw_ERROR_RESPONSE SignedLicenseRequestRaw_MessageType = 3 SignedLicenseRequestRaw_SERVICE_CERTIFICATE_REQUEST SignedLicenseRequestRaw_MessageType = 4 SignedLicenseRequestRaw_SERVICE_CERTIFICATE SignedLicenseRequestRaw_MessageType = 5 )
func (SignedLicenseRequestRaw_MessageType) Descriptor ¶
func (SignedLicenseRequestRaw_MessageType) Descriptor() protoreflect.EnumDescriptor
func (SignedLicenseRequestRaw_MessageType) Enum ¶
func (x SignedLicenseRequestRaw_MessageType) Enum() *SignedLicenseRequestRaw_MessageType
func (SignedLicenseRequestRaw_MessageType) EnumDescriptor
deprecated
func (SignedLicenseRequestRaw_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedLicenseRequestRaw_MessageType.Descriptor instead.
func (SignedLicenseRequestRaw_MessageType) Number ¶
func (x SignedLicenseRequestRaw_MessageType) Number() protoreflect.EnumNumber
func (SignedLicenseRequestRaw_MessageType) String ¶
func (x SignedLicenseRequestRaw_MessageType) String() string
func (SignedLicenseRequestRaw_MessageType) Type ¶
func (SignedLicenseRequestRaw_MessageType) Type() protoreflect.EnumType
func (*SignedLicenseRequestRaw_MessageType) UnmarshalJSON
deprecated
func (x *SignedLicenseRequestRaw_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type SignedLicenseRequest_MessageType ¶
type SignedLicenseRequest_MessageType int32
const ( SignedLicenseRequest_LICENSE_REQUEST SignedLicenseRequest_MessageType = 1 SignedLicenseRequest_LICENSE SignedLicenseRequest_MessageType = 2 SignedLicenseRequest_ERROR_RESPONSE SignedLicenseRequest_MessageType = 3 SignedLicenseRequest_SERVICE_CERTIFICATE_REQUEST SignedLicenseRequest_MessageType = 4 SignedLicenseRequest_SERVICE_CERTIFICATE SignedLicenseRequest_MessageType = 5 )
func (SignedLicenseRequest_MessageType) Descriptor ¶
func (SignedLicenseRequest_MessageType) Descriptor() protoreflect.EnumDescriptor
func (SignedLicenseRequest_MessageType) Enum ¶
func (x SignedLicenseRequest_MessageType) Enum() *SignedLicenseRequest_MessageType
func (SignedLicenseRequest_MessageType) EnumDescriptor
deprecated
func (SignedLicenseRequest_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedLicenseRequest_MessageType.Descriptor instead.
func (SignedLicenseRequest_MessageType) Number ¶
func (x SignedLicenseRequest_MessageType) Number() protoreflect.EnumNumber
func (SignedLicenseRequest_MessageType) String ¶
func (x SignedLicenseRequest_MessageType) String() string
func (SignedLicenseRequest_MessageType) Type ¶
func (SignedLicenseRequest_MessageType) Type() protoreflect.EnumType
func (*SignedLicenseRequest_MessageType) UnmarshalJSON
deprecated
func (x *SignedLicenseRequest_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type SignedLicense_MessageType ¶
type SignedLicense_MessageType int32
const ( SignedLicense_LICENSE_REQUEST SignedLicense_MessageType = 1 SignedLicense_LICENSE SignedLicense_MessageType = 2 SignedLicense_ERROR_RESPONSE SignedLicense_MessageType = 3 SignedLicense_SERVICE_CERTIFICATE_REQUEST SignedLicense_MessageType = 4 SignedLicense_SERVICE_CERTIFICATE SignedLicense_MessageType = 5 )
func (SignedLicense_MessageType) Descriptor ¶
func (SignedLicense_MessageType) Descriptor() protoreflect.EnumDescriptor
func (SignedLicense_MessageType) Enum ¶
func (x SignedLicense_MessageType) Enum() *SignedLicense_MessageType
func (SignedLicense_MessageType) EnumDescriptor
deprecated
func (SignedLicense_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedLicense_MessageType.Descriptor instead.
func (SignedLicense_MessageType) Number ¶
func (x SignedLicense_MessageType) Number() protoreflect.EnumNumber
func (SignedLicense_MessageType) String ¶
func (x SignedLicense_MessageType) String() string
func (SignedLicense_MessageType) Type ¶
func (SignedLicense_MessageType) Type() protoreflect.EnumType
func (*SignedLicense_MessageType) UnmarshalJSON
deprecated
func (x *SignedLicense_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type SignedMessage ¶
type SignedMessage struct { Type *SignedMessage_MessageType `protobuf:"varint,1,opt,name=Type,enum=SignedMessage_MessageType" json:"Type,omitempty"` // has in incorrect overlap with License_KeyContainer_SecurityLevel Msg []byte `protobuf:"bytes,2,opt,name=Msg" json:"Msg,omitempty"` // this has to be casted dynamically, to LicenseRequest, License or LicenseError (? unconfirmed), for Request, no other fields but Type need to be present // for SERVICE_CERTIFICATE, only Type and Msg are present, and it's just a DeviceCertificate with CertificateType set to SERVICE Signature []byte `protobuf:"bytes,3,opt,name=Signature" json:"Signature,omitempty"` // might be different type of signatures (ex. RSA vs AES CMAC(??), unconfirmed for now) SessionKey []byte `protobuf:"bytes,4,opt,name=SessionKey" json:"SessionKey,omitempty"` // often RSA wrapped for licenses RemoteAttestation *RemoteAttestation `protobuf:"bytes,5,opt,name=RemoteAttestation" json:"RemoteAttestation,omitempty"` // contains filtered or unexported fields }
the root of all messages, from either server or client
func (*SignedMessage) Descriptor
deprecated
func (*SignedMessage) Descriptor() ([]byte, []int)
Deprecated: Use SignedMessage.ProtoReflect.Descriptor instead.
func (*SignedMessage) GetMsg ¶
func (x *SignedMessage) GetMsg() []byte
func (*SignedMessage) GetRemoteAttestation ¶
func (x *SignedMessage) GetRemoteAttestation() *RemoteAttestation
func (*SignedMessage) GetSessionKey ¶
func (x *SignedMessage) GetSessionKey() []byte
func (*SignedMessage) GetSignature ¶
func (x *SignedMessage) GetSignature() []byte
func (*SignedMessage) GetType ¶
func (x *SignedMessage) GetType() SignedMessage_MessageType
func (*SignedMessage) ProtoMessage ¶
func (*SignedMessage) ProtoMessage()
func (*SignedMessage) ProtoReflect ¶
func (x *SignedMessage) ProtoReflect() protoreflect.Message
func (*SignedMessage) Reset ¶
func (x *SignedMessage) Reset()
func (*SignedMessage) String ¶
func (x *SignedMessage) String() string
type SignedMessage_MessageType ¶
type SignedMessage_MessageType int32
const ( SignedMessage_LICENSE_REQUEST SignedMessage_MessageType = 1 SignedMessage_LICENSE SignedMessage_MessageType = 2 SignedMessage_ERROR_RESPONSE SignedMessage_MessageType = 3 SignedMessage_SERVICE_CERTIFICATE_REQUEST SignedMessage_MessageType = 4 SignedMessage_SERVICE_CERTIFICATE SignedMessage_MessageType = 5 )
func (SignedMessage_MessageType) Descriptor ¶
func (SignedMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
func (SignedMessage_MessageType) Enum ¶
func (x SignedMessage_MessageType) Enum() *SignedMessage_MessageType
func (SignedMessage_MessageType) EnumDescriptor
deprecated
func (SignedMessage_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedMessage_MessageType.Descriptor instead.
func (SignedMessage_MessageType) Number ¶
func (x SignedMessage_MessageType) Number() protoreflect.EnumNumber
func (SignedMessage_MessageType) String ¶
func (x SignedMessage_MessageType) String() string
func (SignedMessage_MessageType) Type ¶
func (SignedMessage_MessageType) Type() protoreflect.EnumType
func (*SignedMessage_MessageType) UnmarshalJSON
deprecated
func (x *SignedMessage_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type SignedProvisioningMessage ¶
type SignedProvisioningMessage struct {
// contains filtered or unexported fields
}
todo: fill
func (*SignedProvisioningMessage) Descriptor
deprecated
func (*SignedProvisioningMessage) Descriptor() ([]byte, []int)
Deprecated: Use SignedProvisioningMessage.ProtoReflect.Descriptor instead.
func (*SignedProvisioningMessage) ProtoMessage ¶
func (*SignedProvisioningMessage) ProtoMessage()
func (*SignedProvisioningMessage) ProtoReflect ¶
func (x *SignedProvisioningMessage) ProtoReflect() protoreflect.Message
func (*SignedProvisioningMessage) Reset ¶
func (x *SignedProvisioningMessage) Reset()
func (*SignedProvisioningMessage) String ¶
func (x *SignedProvisioningMessage) String() string
type SignedServiceCertificate ¶
type SignedServiceCertificate struct { Type *SignedServiceCertificate_MessageType `protobuf:"varint,1,opt,name=Type,enum=SignedServiceCertificate_MessageType" json:"Type,omitempty"` // has in incorrect overlap with License_KeyContainer_SecurityLevel Msg *SignedDeviceCertificate `protobuf:"bytes,2,opt,name=Msg" json:"Msg,omitempty"` // this has to be casted dynamically, to LicenseRequest, License or LicenseError (? unconfirmed), for Request, no other fields but Type need to be present // for SERVICE_CERTIFICATE, only Type and Msg are present, and it's just a DeviceCertificate with CertificateType set to SERVICE Signature []byte `protobuf:"bytes,3,opt,name=Signature" json:"Signature,omitempty"` // might be different type of signatures (ex. RSA vs AES CMAC(??), unconfirmed for now) SessionKey []byte `protobuf:"bytes,4,opt,name=SessionKey" json:"SessionKey,omitempty"` // often RSA wrapped for licenses RemoteAttestation *RemoteAttestation `protobuf:"bytes,5,opt,name=RemoteAttestation" json:"RemoteAttestation,omitempty"` // contains filtered or unexported fields }
func (*SignedServiceCertificate) Descriptor
deprecated
func (*SignedServiceCertificate) Descriptor() ([]byte, []int)
Deprecated: Use SignedServiceCertificate.ProtoReflect.Descriptor instead.
func (*SignedServiceCertificate) GetMsg ¶
func (x *SignedServiceCertificate) GetMsg() *SignedDeviceCertificate
func (*SignedServiceCertificate) GetRemoteAttestation ¶
func (x *SignedServiceCertificate) GetRemoteAttestation() *RemoteAttestation
func (*SignedServiceCertificate) GetSessionKey ¶
func (x *SignedServiceCertificate) GetSessionKey() []byte
func (*SignedServiceCertificate) GetSignature ¶
func (x *SignedServiceCertificate) GetSignature() []byte
func (*SignedServiceCertificate) GetType ¶
func (x *SignedServiceCertificate) GetType() SignedServiceCertificate_MessageType
func (*SignedServiceCertificate) ProtoMessage ¶
func (*SignedServiceCertificate) ProtoMessage()
func (*SignedServiceCertificate) ProtoReflect ¶
func (x *SignedServiceCertificate) ProtoReflect() protoreflect.Message
func (*SignedServiceCertificate) Reset ¶
func (x *SignedServiceCertificate) Reset()
func (*SignedServiceCertificate) String ¶
func (x *SignedServiceCertificate) String() string
type SignedServiceCertificate_MessageType ¶
type SignedServiceCertificate_MessageType int32
const ( SignedServiceCertificate_LICENSE_REQUEST SignedServiceCertificate_MessageType = 1 SignedServiceCertificate_LICENSE SignedServiceCertificate_MessageType = 2 SignedServiceCertificate_ERROR_RESPONSE SignedServiceCertificate_MessageType = 3 SignedServiceCertificate_SERVICE_CERTIFICATE_REQUEST SignedServiceCertificate_MessageType = 4 SignedServiceCertificate_SERVICE_CERTIFICATE SignedServiceCertificate_MessageType = 5 )
func (SignedServiceCertificate_MessageType) Descriptor ¶
func (SignedServiceCertificate_MessageType) Descriptor() protoreflect.EnumDescriptor
func (SignedServiceCertificate_MessageType) Enum ¶
func (x SignedServiceCertificate_MessageType) Enum() *SignedServiceCertificate_MessageType
func (SignedServiceCertificate_MessageType) EnumDescriptor
deprecated
func (SignedServiceCertificate_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedServiceCertificate_MessageType.Descriptor instead.
func (SignedServiceCertificate_MessageType) Number ¶
func (x SignedServiceCertificate_MessageType) Number() protoreflect.EnumNumber
func (SignedServiceCertificate_MessageType) String ¶
func (x SignedServiceCertificate_MessageType) String() string
func (SignedServiceCertificate_MessageType) Type ¶
func (SignedServiceCertificate_MessageType) Type() protoreflect.EnumType
func (*SignedServiceCertificate_MessageType) UnmarshalJSON
deprecated
func (x *SignedServiceCertificate_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type WidevineCencHeader ¶
type WidevineCencHeader struct { Algorithm *WidevineCencHeader_Algorithm `protobuf:"varint,1,opt,name=algorithm,enum=WidevineCencHeader_Algorithm" json:"algorithm,omitempty"` KeyId [][]byte `protobuf:"bytes,2,rep,name=key_id,json=keyId" json:"key_id,omitempty"` // Content provider name. Provider *string `protobuf:"bytes,3,opt,name=provider" json:"provider,omitempty"` // A content identifier, specified by content provider. ContentId []byte `protobuf:"bytes,4,opt,name=content_id,json=contentId" json:"content_id,omitempty"` // Track type. Acceptable values are SD, HD and AUDIO. Used to // differentiate content keys used by an asset. TrackTypeDeprecated *string `protobuf:"bytes,5,opt,name=track_type_deprecated,json=trackTypeDeprecated" json:"track_type_deprecated,omitempty"` // The name of a registered policy to be used for this asset. Policy *string `protobuf:"bytes,6,opt,name=policy" json:"policy,omitempty"` // Crypto period index, for media using key rotation. CryptoPeriodIndex *uint32 `protobuf:"varint,7,opt,name=crypto_period_index,json=cryptoPeriodIndex" json:"crypto_period_index,omitempty"` // Optional protected context for group content. The grouped_license is a // serialized SignedMessage. GroupedLicense []byte `protobuf:"bytes,8,opt,name=grouped_license,json=groupedLicense" json:"grouped_license,omitempty"` // Protection scheme identifying the encryption algorithm. // Represented as one of the following 4CC values: // 'cenc' (AESCTR), 'cbc1' (AESCBC), // 'cens' (AESCTR subsample), 'cbcs' (AESCBC subsample). ProtectionScheme *uint32 `protobuf:"varint,9,opt,name=protection_scheme,json=protectionScheme" json:"protection_scheme,omitempty"` // Optional. For media using key rotation, this represents the duration // of each crypto period in seconds. CryptoPeriodSeconds *uint32 `protobuf:"varint,10,opt,name=crypto_period_seconds,json=cryptoPeriodSeconds" json:"crypto_period_seconds,omitempty"` // contains filtered or unexported fields }
This message is copied from google's docs, not reversed:
func (*WidevineCencHeader) Descriptor
deprecated
func (*WidevineCencHeader) Descriptor() ([]byte, []int)
Deprecated: Use WidevineCencHeader.ProtoReflect.Descriptor instead.
func (*WidevineCencHeader) GetAlgorithm ¶
func (x *WidevineCencHeader) GetAlgorithm() WidevineCencHeader_Algorithm
func (*WidevineCencHeader) GetContentId ¶
func (x *WidevineCencHeader) GetContentId() []byte
func (*WidevineCencHeader) GetCryptoPeriodIndex ¶
func (x *WidevineCencHeader) GetCryptoPeriodIndex() uint32
func (*WidevineCencHeader) GetCryptoPeriodSeconds ¶
func (x *WidevineCencHeader) GetCryptoPeriodSeconds() uint32
func (*WidevineCencHeader) GetGroupedLicense ¶
func (x *WidevineCencHeader) GetGroupedLicense() []byte
func (*WidevineCencHeader) GetKeyId ¶
func (x *WidevineCencHeader) GetKeyId() [][]byte
func (*WidevineCencHeader) GetPolicy ¶
func (x *WidevineCencHeader) GetPolicy() string
func (*WidevineCencHeader) GetProtectionScheme ¶
func (x *WidevineCencHeader) GetProtectionScheme() uint32
func (*WidevineCencHeader) GetProvider ¶
func (x *WidevineCencHeader) GetProvider() string
func (*WidevineCencHeader) GetTrackTypeDeprecated ¶
func (x *WidevineCencHeader) GetTrackTypeDeprecated() string
func (*WidevineCencHeader) ProtoMessage ¶
func (*WidevineCencHeader) ProtoMessage()
func (*WidevineCencHeader) ProtoReflect ¶
func (x *WidevineCencHeader) ProtoReflect() protoreflect.Message
func (*WidevineCencHeader) Reset ¶
func (x *WidevineCencHeader) Reset()
func (*WidevineCencHeader) String ¶
func (x *WidevineCencHeader) String() string
type WidevineCencHeader_Algorithm ¶
type WidevineCencHeader_Algorithm int32
const ( WidevineCencHeader_UNENCRYPTED WidevineCencHeader_Algorithm = 0 WidevineCencHeader_AESCTR WidevineCencHeader_Algorithm = 1 )
func (WidevineCencHeader_Algorithm) Descriptor ¶
func (WidevineCencHeader_Algorithm) Descriptor() protoreflect.EnumDescriptor
func (WidevineCencHeader_Algorithm) Enum ¶
func (x WidevineCencHeader_Algorithm) Enum() *WidevineCencHeader_Algorithm
func (WidevineCencHeader_Algorithm) EnumDescriptor
deprecated
func (WidevineCencHeader_Algorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use WidevineCencHeader_Algorithm.Descriptor instead.
func (WidevineCencHeader_Algorithm) Number ¶
func (x WidevineCencHeader_Algorithm) Number() protoreflect.EnumNumber
func (WidevineCencHeader_Algorithm) String ¶
func (x WidevineCencHeader_Algorithm) String() string
func (WidevineCencHeader_Algorithm) Type ¶
func (WidevineCencHeader_Algorithm) Type() protoreflect.EnumType
func (*WidevineCencHeader_Algorithm) UnmarshalJSON
deprecated
func (x *WidevineCencHeader_Algorithm) UnmarshalJSON(b []byte) error
Deprecated: Do not use.