Documentation ¶
Index ¶
- Constants
- Variables
- type ClientIdentification
- func (*ClientIdentification) Descriptor() ([]byte, []int)deprecated
- func (x *ClientIdentification) GetClientCapabilities() *ClientIdentification_ClientCapabilities
- func (x *ClientIdentification) GetClientInfo() []*ClientIdentification_NameValue
- func (x *ClientIdentification) GetDeviceCredentials() []*ClientIdentification_ClientCredentials
- func (x *ClientIdentification) GetLicenseCounter() uint32
- func (x *ClientIdentification) GetProviderClientToken() []byte
- func (x *ClientIdentification) GetToken() []byte
- func (x *ClientIdentification) GetType() ClientIdentification_TokenType
- func (x *ClientIdentification) GetVmpData() []byte
- 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) GetAnalogOutputCapabilities() ClientIdentification_ClientCapabilities_AnalogOutputCapabilities
- func (x *ClientIdentification_ClientCapabilities) GetAntiRollbackUsageTable() bool
- func (x *ClientIdentification_ClientCapabilities) GetCanDisableAnalogOutput() bool
- func (x *ClientIdentification_ClientCapabilities) GetCanUpdateSrm() bool
- func (x *ClientIdentification_ClientCapabilities) GetClientToken() bool
- func (x *ClientIdentification_ClientCapabilities) GetMaxHdcpVersion() ClientIdentification_ClientCapabilities_HdcpVersion
- func (x *ClientIdentification_ClientCapabilities) GetOemCryptoApiVersion() uint32
- func (x *ClientIdentification_ClientCapabilities) GetResourceRatingTier() uint32
- func (x *ClientIdentification_ClientCapabilities) GetSessionToken() bool
- func (x *ClientIdentification_ClientCapabilities) GetSrmVersion() uint32
- func (x *ClientIdentification_ClientCapabilities) GetSupportedCertificateKeyType() []ClientIdentification_ClientCapabilities_CertificateKeyType
- func (x *ClientIdentification_ClientCapabilities) GetVideoResolutionConstraints() bool
- 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_AnalogOutputCapabilities
- func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) Descriptor() protoreflect.EnumDescriptor
- func (x ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) Enum() *ClientIdentification_ClientCapabilities_AnalogOutputCapabilities
- func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) Number() protoreflect.EnumNumber
- func (x ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) String() string
- func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) Type() protoreflect.EnumType
- func (x *ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) UnmarshalJSON(b []byte) errordeprecated
- type ClientIdentification_ClientCapabilities_CertificateKeyType
- func (ClientIdentification_ClientCapabilities_CertificateKeyType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientIdentification_ClientCapabilities_CertificateKeyType) Enum() *ClientIdentification_ClientCapabilities_CertificateKeyType
- func (ClientIdentification_ClientCapabilities_CertificateKeyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientIdentification_ClientCapabilities_CertificateKeyType) Number() protoreflect.EnumNumber
- func (x ClientIdentification_ClientCapabilities_CertificateKeyType) String() string
- func (ClientIdentification_ClientCapabilities_CertificateKeyType) Type() protoreflect.EnumType
- func (x *ClientIdentification_ClientCapabilities_CertificateKeyType) UnmarshalJSON(b []byte) errordeprecated
- 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_ClientCredentials
- func (*ClientIdentification_ClientCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *ClientIdentification_ClientCredentials) GetToken() []byte
- func (x *ClientIdentification_ClientCredentials) GetType() ClientIdentification_TokenType
- func (*ClientIdentification_ClientCredentials) ProtoMessage()
- func (x *ClientIdentification_ClientCredentials) ProtoReflect() protoreflect.Message
- func (x *ClientIdentification_ClientCredentials) Reset()
- func (x *ClientIdentification_ClientCredentials) String() string
- 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 DrmCertificate
- func (*DrmCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *DrmCertificate) GetAlgorithm() DrmCertificate_Algorithm
- func (x *DrmCertificate) GetCreationTimeSeconds() uint32
- func (x *DrmCertificate) GetEncryptionKey() *DrmCertificate_EncryptionKey
- func (x *DrmCertificate) GetExpirationTimeSeconds() uint32
- func (x *DrmCertificate) GetProviderId() string
- func (x *DrmCertificate) GetPublicKey() []byte
- func (x *DrmCertificate) GetRotId() []byte
- func (x *DrmCertificate) GetSerialNumber() []byte
- func (x *DrmCertificate) GetServiceTypes() []DrmCertificate_ServiceType
- func (x *DrmCertificate) GetSystemId() uint32
- func (x *DrmCertificate) GetTestDeviceDeprecated() booldeprecated
- func (x *DrmCertificate) GetType() DrmCertificate_Type
- func (*DrmCertificate) ProtoMessage()
- func (x *DrmCertificate) ProtoReflect() protoreflect.Message
- func (x *DrmCertificate) Reset()
- func (x *DrmCertificate) String() string
- type DrmCertificate_Algorithm
- func (DrmCertificate_Algorithm) Descriptor() protoreflect.EnumDescriptor
- func (x DrmCertificate_Algorithm) Enum() *DrmCertificate_Algorithm
- func (DrmCertificate_Algorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x DrmCertificate_Algorithm) Number() protoreflect.EnumNumber
- func (x DrmCertificate_Algorithm) String() string
- func (DrmCertificate_Algorithm) Type() protoreflect.EnumType
- func (x *DrmCertificate_Algorithm) UnmarshalJSON(b []byte) errordeprecated
- type DrmCertificate_EncryptionKey
- func (*DrmCertificate_EncryptionKey) Descriptor() ([]byte, []int)deprecated
- func (x *DrmCertificate_EncryptionKey) GetAlgorithm() DrmCertificate_Algorithm
- func (x *DrmCertificate_EncryptionKey) GetPublicKey() []byte
- func (*DrmCertificate_EncryptionKey) ProtoMessage()
- func (x *DrmCertificate_EncryptionKey) ProtoReflect() protoreflect.Message
- func (x *DrmCertificate_EncryptionKey) Reset()
- func (x *DrmCertificate_EncryptionKey) String() string
- type DrmCertificate_ServiceType
- func (DrmCertificate_ServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x DrmCertificate_ServiceType) Enum() *DrmCertificate_ServiceType
- func (DrmCertificate_ServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DrmCertificate_ServiceType) Number() protoreflect.EnumNumber
- func (x DrmCertificate_ServiceType) String() string
- func (DrmCertificate_ServiceType) Type() protoreflect.EnumType
- func (x *DrmCertificate_ServiceType) UnmarshalJSON(b []byte) errordeprecated
- type DrmCertificate_Type
- func (DrmCertificate_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DrmCertificate_Type) Enum() *DrmCertificate_Type
- func (DrmCertificate_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DrmCertificate_Type) Number() protoreflect.EnumNumber
- func (x DrmCertificate_Type) String() string
- func (DrmCertificate_Type) Type() protoreflect.EnumType
- func (x *DrmCertificate_Type) 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) GetProviderId() string
- func (x *EncryptedClientIdentification) GetServiceCertificateSerialNumber() []byte
- 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 HashAlgorithmProto
- func (HashAlgorithmProto) Descriptor() protoreflect.EnumDescriptor
- func (x HashAlgorithmProto) Enum() *HashAlgorithmProto
- func (HashAlgorithmProto) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashAlgorithmProto) Number() protoreflect.EnumNumber
- func (x HashAlgorithmProto) String() string
- func (HashAlgorithmProto) Type() protoreflect.EnumType
- func (x *HashAlgorithmProto) UnmarshalJSON(b []byte) errordeprecated
- type License
- func (*License) Descriptor() ([]byte, []int)deprecated
- func (x *License) GetGroupIds() [][]byte
- func (x *License) GetId() *LicenseIdentification
- func (x *License) GetKey() []*License_KeyContainer
- func (x *License) GetLicenseStartTime() int64
- func (x *License) GetPlatformVerificationStatus() PlatformVerificationStatus
- func (x *License) GetPolicy() *License_Policy
- func (x *License) GetProtectionScheme() uint32
- func (x *License) GetProviderClientToken() []byte
- func (x *License) GetRemoteAttestationVerified() bool
- func (x *License) GetSrmRequirement() []byte
- func (x *License) GetSrmUpdate() []byte
- func (*License) ProtoMessage()
- func (x *License) ProtoReflect() protoreflect.Message
- func (x *License) Reset()
- func (x *License) String() string
- 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() int32
- 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() int64
- 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 LicenseRequest_ContentIdentification
- func (*LicenseRequest_ContentIdentification) Descriptor() ([]byte, []int)deprecated
- func (m *LicenseRequest_ContentIdentification) GetContentIdVariant() isLicenseRequest_ContentIdentification_ContentIdVariant
- func (x *LicenseRequest_ContentIdentification) GetExistingLicense() *LicenseRequest_ContentIdentification_ExistingLicense
- func (x *LicenseRequest_ContentIdentification) GetInitData() *LicenseRequest_ContentIdentification_InitData
- func (x *LicenseRequest_ContentIdentification) GetWebmKeyId() *LicenseRequest_ContentIdentification_WebmKeyId
- func (x *LicenseRequest_ContentIdentification) GetWidevinePsshData() *LicenseRequest_ContentIdentification_WidevinePsshData
- 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_ExistingLicense
- func (*LicenseRequest_ContentIdentification_ExistingLicense) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetLicenseId() *LicenseIdentification
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceLastPlayed() int64
- func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceStarted() int64
- 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_ExistingLicense_
- type LicenseRequest_ContentIdentification_InitData
- func (*LicenseRequest_ContentIdentification_InitData) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_InitData) GetInitData() []byte
- func (x *LicenseRequest_ContentIdentification_InitData) GetInitDataType() LicenseRequest_ContentIdentification_InitData_InitDataType
- func (x *LicenseRequest_ContentIdentification_InitData) GetLicenseType() LicenseType
- func (x *LicenseRequest_ContentIdentification_InitData) GetRequestId() []byte
- func (*LicenseRequest_ContentIdentification_InitData) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification_InitData) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification_InitData) Reset()
- func (x *LicenseRequest_ContentIdentification_InitData) String() string
- type LicenseRequest_ContentIdentification_InitData_
- type LicenseRequest_ContentIdentification_InitData_InitDataType
- func (LicenseRequest_ContentIdentification_InitData_InitDataType) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseRequest_ContentIdentification_InitData_InitDataType) Enum() *LicenseRequest_ContentIdentification_InitData_InitDataType
- func (LicenseRequest_ContentIdentification_InitData_InitDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseRequest_ContentIdentification_InitData_InitDataType) Number() protoreflect.EnumNumber
- func (x LicenseRequest_ContentIdentification_InitData_InitDataType) String() string
- func (LicenseRequest_ContentIdentification_InitData_InitDataType) Type() protoreflect.EnumType
- func (x *LicenseRequest_ContentIdentification_InitData_InitDataType) UnmarshalJSON(b []byte) errordeprecated
- type LicenseRequest_ContentIdentification_WebmKeyId
- func (*LicenseRequest_ContentIdentification_WebmKeyId) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_WebmKeyId) GetHeader() []byte
- func (x *LicenseRequest_ContentIdentification_WebmKeyId) GetLicenseType() LicenseType
- func (x *LicenseRequest_ContentIdentification_WebmKeyId) GetRequestId() []byte
- func (*LicenseRequest_ContentIdentification_WebmKeyId) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification_WebmKeyId) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification_WebmKeyId) Reset()
- func (x *LicenseRequest_ContentIdentification_WebmKeyId) String() string
- type LicenseRequest_ContentIdentification_WebmKeyId_
- type LicenseRequest_ContentIdentification_WidevinePsshData
- func (*LicenseRequest_ContentIdentification_WidevinePsshData) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseRequest_ContentIdentification_WidevinePsshData) GetLicenseType() LicenseType
- func (x *LicenseRequest_ContentIdentification_WidevinePsshData) GetPsshData() [][]byte
- func (x *LicenseRequest_ContentIdentification_WidevinePsshData) GetRequestId() []byte
- func (*LicenseRequest_ContentIdentification_WidevinePsshData) ProtoMessage()
- func (x *LicenseRequest_ContentIdentification_WidevinePsshData) ProtoReflect() protoreflect.Message
- func (x *LicenseRequest_ContentIdentification_WidevinePsshData) Reset()
- func (x *LicenseRequest_ContentIdentification_WidevinePsshData) String() string
- type LicenseRequest_ContentIdentification_WidevinePsshData_
- 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) GetAntiRollbackUsageTable() bool
- func (x *License_KeyContainer) GetId() []byte
- func (x *License_KeyContainer) GetIv() []byte
- func (x *License_KeyContainer) GetKey() []byte
- func (x *License_KeyContainer) GetKeyControl() *License_KeyContainer_KeyControl
- func (x *License_KeyContainer) GetLevel() License_KeyContainer_SecurityLevel
- func (x *License_KeyContainer) GetOperatorSessionKeyPermissions() *License_KeyContainer_OperatorSessionKeyPermissions
- func (x *License_KeyContainer) GetRequestedProtection() *License_KeyContainer_OutputProtection
- func (x *License_KeyContainer) GetRequiredProtection() *License_KeyContainer_OutputProtection
- func (x *License_KeyContainer) GetTrackLabel() string
- func (x *License_KeyContainer) GetType() License_KeyContainer_KeyType
- func (x *License_KeyContainer) GetVideoResolutionConstraints() []*License_KeyContainer_VideoResolutionConstraint
- 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() bool
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowEncrypt() bool
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSign() bool
- func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSignatureVerify() bool
- 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) GetDisableAnalogOutput() bool
- func (x *License_KeyContainer_OutputProtection) GetDisableDigitalOutput() bool
- func (x *License_KeyContainer_OutputProtection) GetHdcp() License_KeyContainer_OutputProtection_HDCP
- func (x *License_KeyContainer_OutputProtection) GetHdcpSrmRule() License_KeyContainer_OutputProtection_HdcpSrmRule
- 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_OutputProtection_HDCP
- func (License_KeyContainer_OutputProtection_HDCP) Descriptor() protoreflect.EnumDescriptor
- func (x License_KeyContainer_OutputProtection_HDCP) Enum() *License_KeyContainer_OutputProtection_HDCP
- func (License_KeyContainer_OutputProtection_HDCP) EnumDescriptor() ([]byte, []int)deprecated
- func (x License_KeyContainer_OutputProtection_HDCP) Number() protoreflect.EnumNumber
- func (x License_KeyContainer_OutputProtection_HDCP) String() string
- func (License_KeyContainer_OutputProtection_HDCP) Type() protoreflect.EnumType
- func (x *License_KeyContainer_OutputProtection_HDCP) UnmarshalJSON(b []byte) errordeprecated
- type License_KeyContainer_OutputProtection_HdcpSrmRule
- func (License_KeyContainer_OutputProtection_HdcpSrmRule) Descriptor() protoreflect.EnumDescriptor
- func (x License_KeyContainer_OutputProtection_HdcpSrmRule) Enum() *License_KeyContainer_OutputProtection_HdcpSrmRule
- func (License_KeyContainer_OutputProtection_HdcpSrmRule) EnumDescriptor() ([]byte, []int)deprecated
- func (x License_KeyContainer_OutputProtection_HdcpSrmRule) Number() protoreflect.EnumNumber
- func (x License_KeyContainer_OutputProtection_HdcpSrmRule) String() string
- func (License_KeyContainer_OutputProtection_HdcpSrmRule) Type() protoreflect.EnumType
- func (x *License_KeyContainer_OutputProtection_HdcpSrmRule) 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) GetAlwaysIncludeClientId() bool
- func (x *License_Policy) GetCanPersist() bool
- func (x *License_Policy) GetCanPlay() bool
- func (x *License_Policy) GetCanRenew() bool
- func (x *License_Policy) GetLicenseDurationSeconds() int64
- func (x *License_Policy) GetPlayStartGracePeriodSeconds() int64
- func (x *License_Policy) GetPlaybackDurationSeconds() int64
- func (x *License_Policy) GetRenewWithUsage() bool
- func (x *License_Policy) GetRenewalDelaySeconds() int64
- func (x *License_Policy) GetRenewalRecoveryDurationSeconds() int64
- func (x *License_Policy) GetRenewalRetryIntervalSeconds() int64
- func (x *License_Policy) GetRenewalServerUrl() string
- func (x *License_Policy) GetRentalDurationSeconds() int64
- func (x *License_Policy) GetSoftEnforcePlaybackDuration() bool
- func (x *License_Policy) GetSoftEnforceRentalDuration() bool
- func (*License_Policy) ProtoMessage()
- func (x *License_Policy) ProtoReflect() protoreflect.Message
- func (x *License_Policy) Reset()
- func (x *License_Policy) String() string
- type MetricData
- func (*MetricData) Descriptor() ([]byte, []int)deprecated
- func (x *MetricData) GetMetricData() []*MetricData_TypeValue
- func (x *MetricData) GetStageName() string
- func (*MetricData) ProtoMessage()
- func (x *MetricData) ProtoReflect() protoreflect.Message
- func (x *MetricData) Reset()
- func (x *MetricData) String() string
- type MetricData_MetricType
- func (MetricData_MetricType) Descriptor() protoreflect.EnumDescriptor
- func (x MetricData_MetricType) Enum() *MetricData_MetricType
- func (MetricData_MetricType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetricData_MetricType) Number() protoreflect.EnumNumber
- func (x MetricData_MetricType) String() string
- func (MetricData_MetricType) Type() protoreflect.EnumType
- func (x *MetricData_MetricType) UnmarshalJSON(b []byte) errordeprecated
- type MetricData_TypeValue
- func (*MetricData_TypeValue) Descriptor() ([]byte, []int)deprecated
- func (x *MetricData_TypeValue) GetType() MetricData_MetricType
- func (x *MetricData_TypeValue) GetValue() int64
- func (*MetricData_TypeValue) ProtoMessage()
- func (x *MetricData_TypeValue) ProtoReflect() protoreflect.Message
- func (x *MetricData_TypeValue) Reset()
- func (x *MetricData_TypeValue) String() string
- type PlatformVerificationStatus
- func (PlatformVerificationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PlatformVerificationStatus) Enum() *PlatformVerificationStatus
- func (PlatformVerificationStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlatformVerificationStatus) Number() protoreflect.EnumNumber
- func (x PlatformVerificationStatus) String() string
- func (PlatformVerificationStatus) Type() protoreflect.EnumType
- func (x *PlatformVerificationStatus) UnmarshalJSON(b []byte) errordeprecated
- 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 SignedDrmCertificate
- func (*SignedDrmCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *SignedDrmCertificate) GetDrmCertificate() []byte
- func (x *SignedDrmCertificate) GetHashAlgorithm() HashAlgorithmProto
- func (x *SignedDrmCertificate) GetSignature() []byte
- func (x *SignedDrmCertificate) GetSigner() *SignedDrmCertificate
- func (*SignedDrmCertificate) ProtoMessage()
- func (x *SignedDrmCertificate) ProtoReflect() protoreflect.Message
- func (x *SignedDrmCertificate) Reset()
- func (x *SignedDrmCertificate) String() string
- type SignedMessage
- func (*SignedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SignedMessage) GetMetricData() []*MetricData
- func (x *SignedMessage) GetMsg() []byte
- func (x *SignedMessage) GetOemcryptoCoreMessage() []byte
- func (x *SignedMessage) GetRemoteAttestation() []byte
- func (x *SignedMessage) GetServiceVersionInfo() *VersionInfo
- func (x *SignedMessage) GetSessionKey() []byte
- func (x *SignedMessage) GetSessionKeyType() SignedMessage_SessionKeyType
- 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 SignedMessage_SessionKeyType
- func (SignedMessage_SessionKeyType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedMessage_SessionKeyType) Enum() *SignedMessage_SessionKeyType
- func (SignedMessage_SessionKeyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedMessage_SessionKeyType) Number() protoreflect.EnumNumber
- func (x SignedMessage_SessionKeyType) String() string
- func (SignedMessage_SessionKeyType) Type() protoreflect.EnumType
- func (x *SignedMessage_SessionKeyType) UnmarshalJSON(b []byte) errordeprecated
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionInfo) GetLicenseSdkVersion() string
- func (x *VersionInfo) GetLicenseServiceVersion() string
- func (*VersionInfo) ProtoMessage()
- func (x *VersionInfo) ProtoReflect() protoreflect.Message
- func (x *VersionInfo) Reset()
- func (x *VersionInfo) String() string
- type WidevinePsshData
- func (*WidevinePsshData) Descriptor() ([]byte, []int)deprecated
- func (x *WidevinePsshData) GetAlgorithm() WidevinePsshData_Algorithmdeprecated
- func (x *WidevinePsshData) GetContentId() []byte
- func (x *WidevinePsshData) GetCryptoPeriodIndex() uint32
- func (x *WidevinePsshData) GetCryptoPeriodSeconds() uint32
- func (x *WidevinePsshData) GetEntitledKeys() []*WidevinePsshData_EntitledKey
- func (x *WidevinePsshData) GetGroupIds() [][]byte
- func (x *WidevinePsshData) GetGroupedLicense() []bytedeprecated
- func (x *WidevinePsshData) GetKeyIds() [][]byte
- func (x *WidevinePsshData) GetKeySequence() uint32
- func (x *WidevinePsshData) GetPolicy() stringdeprecated
- func (x *WidevinePsshData) GetProtectionScheme() uint32
- func (x *WidevinePsshData) GetProvider() stringdeprecated
- func (x *WidevinePsshData) GetTrackType() stringdeprecated
- func (x *WidevinePsshData) GetType() WidevinePsshData_Type
- func (x *WidevinePsshData) GetVideoFeature() string
- func (*WidevinePsshData) ProtoMessage()
- func (x *WidevinePsshData) ProtoReflect() protoreflect.Message
- func (x *WidevinePsshData) Reset()
- func (x *WidevinePsshData) String() string
- type WidevinePsshData_Algorithm
- func (WidevinePsshData_Algorithm) Descriptor() protoreflect.EnumDescriptor
- func (x WidevinePsshData_Algorithm) Enum() *WidevinePsshData_Algorithm
- func (WidevinePsshData_Algorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x WidevinePsshData_Algorithm) Number() protoreflect.EnumNumber
- func (x WidevinePsshData_Algorithm) String() string
- func (WidevinePsshData_Algorithm) Type() protoreflect.EnumType
- func (x *WidevinePsshData_Algorithm) UnmarshalJSON(b []byte) errordeprecated
- type WidevinePsshData_EntitledKey
- func (*WidevinePsshData_EntitledKey) Descriptor() ([]byte, []int)deprecated
- func (x *WidevinePsshData_EntitledKey) GetEntitlementKeyId() []byte
- func (x *WidevinePsshData_EntitledKey) GetEntitlementKeySizeBytes() uint32
- func (x *WidevinePsshData_EntitledKey) GetIv() []byte
- func (x *WidevinePsshData_EntitledKey) GetKey() []byte
- func (x *WidevinePsshData_EntitledKey) GetKeyId() []byte
- func (*WidevinePsshData_EntitledKey) ProtoMessage()
- func (x *WidevinePsshData_EntitledKey) ProtoReflect() protoreflect.Message
- func (x *WidevinePsshData_EntitledKey) Reset()
- func (x *WidevinePsshData_EntitledKey) String() string
- type WidevinePsshData_Type
- func (WidevinePsshData_Type) Descriptor() protoreflect.EnumDescriptor
- func (x WidevinePsshData_Type) Enum() *WidevinePsshData_Type
- func (WidevinePsshData_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x WidevinePsshData_Type) Number() protoreflect.EnumNumber
- func (x WidevinePsshData_Type) String() string
- func (WidevinePsshData_Type) Type() protoreflect.EnumType
- func (x *WidevinePsshData_Type) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
const ( Default_License_RemoteAttestationVerified = bool(false) Default_License_PlatformVerificationStatus = PlatformVerificationStatus_PLATFORM_NO_VERIFICATION )
Default values for License fields.
const ( Default_License_Policy_CanPlay = bool(false) Default_License_Policy_CanPersist = bool(false) Default_License_Policy_CanRenew = bool(false) Default_License_Policy_RentalDurationSeconds = int64(0) Default_License_Policy_PlaybackDurationSeconds = int64(0) Default_License_Policy_LicenseDurationSeconds = int64(0) Default_License_Policy_RenewalRecoveryDurationSeconds = int64(0) Default_License_Policy_RenewalDelaySeconds = int64(0) Default_License_Policy_RenewalRetryIntervalSeconds = int64(0) Default_License_Policy_RenewWithUsage = bool(false) Default_License_Policy_AlwaysIncludeClientId = bool(false) Default_License_Policy_PlayStartGracePeriodSeconds = int64(0) Default_License_Policy_SoftEnforcePlaybackDuration = bool(false) Default_License_Policy_SoftEnforceRentalDuration = bool(true) )
Default values for License_Policy fields.
const ( Default_License_KeyContainer_Level = License_KeyContainer_SW_SECURE_CRYPTO Default_License_KeyContainer_AntiRollbackUsageTable = bool(false) )
Default values for License_KeyContainer fields.
const ( Default_License_KeyContainer_OutputProtection_Hdcp = License_KeyContainer_OutputProtection_HDCP_NONE Default_License_KeyContainer_OutputProtection_CgmsFlags = License_KeyContainer_OutputProtection_CGMS_NONE Default_License_KeyContainer_OutputProtection_HdcpSrmRule = License_KeyContainer_OutputProtection_HDCP_SRM_RULE_NONE Default_License_KeyContainer_OutputProtection_DisableAnalogOutput = bool(false) Default_License_KeyContainer_OutputProtection_DisableDigitalOutput = bool(false) )
Default values for License_KeyContainer_OutputProtection fields.
const ( Default_License_KeyContainer_OperatorSessionKeyPermissions_AllowEncrypt = bool(false) Default_License_KeyContainer_OperatorSessionKeyPermissions_AllowDecrypt = bool(false) Default_License_KeyContainer_OperatorSessionKeyPermissions_AllowSign = bool(false) Default_License_KeyContainer_OperatorSessionKeyPermissions_AllowSignatureVerify = bool(false) )
Default values for License_KeyContainer_OperatorSessionKeyPermissions fields.
const ( Default_ClientIdentification_ClientCapabilities_ClientToken = bool(false) Default_ClientIdentification_ClientCapabilities_SessionToken = bool(false) Default_ClientIdentification_ClientCapabilities_VideoResolutionConstraints = bool(false) Default_ClientIdentification_ClientCapabilities_MaxHdcpVersion = ClientIdentification_ClientCapabilities_HDCP_NONE Default_ClientIdentification_ClientCapabilities_AntiRollbackUsageTable = bool(false) Default_ClientIdentification_ClientCapabilities_CanUpdateSrm = bool(false) Default_ClientIdentification_ClientCapabilities_AnalogOutputCapabilities = ClientIdentification_ClientCapabilities_ANALOG_OUTPUT_UNKNOWN Default_ClientIdentification_ClientCapabilities_CanDisableAnalogOutput = bool(false) Default_ClientIdentification_ClientCapabilities_ResourceRatingTier = uint32(0) )
Default values for ClientIdentification_ClientCapabilities fields.
const (
Default_ClientIdentification_ClientCredentials_Type = ClientIdentification_KEYBOX
)
Default values for ClientIdentification_ClientCredentials fields.
const (
Default_ClientIdentification_Type = ClientIdentification_KEYBOX
)
Default values for ClientIdentification fields.
const (
Default_DrmCertificate_Algorithm = DrmCertificate_RSA
)
Default values for DrmCertificate fields.
const (
Default_DrmCertificate_EncryptionKey_Algorithm = DrmCertificate_RSA
)
Default values for DrmCertificate_EncryptionKey fields.
const (
Default_LicenseRequest_ContentIdentification_InitData_InitDataType = LicenseRequest_ContentIdentification_InitData_CENC
)
Default values for LicenseRequest_ContentIdentification_InitData fields.
const (
Default_LicenseRequest_ProtocolVersion = ProtocolVersion_VERSION_2_0
)
Default values for LicenseRequest fields.
const (
Default_MetricData_TypeValue_Value = int64(0)
)
Default values for MetricData_TypeValue fields.
const (
Default_SignedMessage_SessionKeyType = SignedMessage_WRAPPED_AES_KEY
)
Default values for SignedMessage fields.
const (
Default_WidevinePsshData_EntitledKey_EntitlementKeySizeBytes = uint32(32)
)
Default values for WidevinePsshData_EntitledKey fields.
const (
Default_WidevinePsshData_Type = WidevinePsshData_SINGLE
)
Default values for WidevinePsshData fields.
Variables ¶
var ( LicenseType_name = map[int32]string{ 1: "STREAMING", 2: "OFFLINE", 3: "AUTOMATIC", } LicenseType_value = map[string]int32{ "STREAMING": 1, "OFFLINE": 2, "AUTOMATIC": 3, } )
Enum value maps for LicenseType.
var ( PlatformVerificationStatus_name = map[int32]string{ 0: "PLATFORM_UNVERIFIED", 1: "PLATFORM_TAMPERED", 2: "PLATFORM_SOFTWARE_VERIFIED", 3: "PLATFORM_HARDWARE_VERIFIED", 4: "PLATFORM_NO_VERIFICATION", 5: "PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED", } PlatformVerificationStatus_value = map[string]int32{ "PLATFORM_UNVERIFIED": 0, "PLATFORM_TAMPERED": 1, "PLATFORM_SOFTWARE_VERIFIED": 2, "PLATFORM_HARDWARE_VERIFIED": 3, "PLATFORM_NO_VERIFICATION": 4, "PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED": 5, } )
Enum value maps for PlatformVerificationStatus.
var ( ProtocolVersion_name = map[int32]string{ 20: "VERSION_2_0", 21: "VERSION_2_1", 22: "VERSION_2_2", } ProtocolVersion_value = map[string]int32{ "VERSION_2_0": 20, "VERSION_2_1": 21, "VERSION_2_2": 22, } )
Enum value maps for ProtocolVersion.
var ( HashAlgorithmProto_name = map[int32]string{ 0: "HASH_ALGORITHM_UNSPECIFIED", 1: "HASH_ALGORITHM_SHA_1", 2: "HASH_ALGORITHM_SHA_256", 3: "HASH_ALGORITHM_SHA_384", } HashAlgorithmProto_value = map[string]int32{ "HASH_ALGORITHM_UNSPECIFIED": 0, "HASH_ALGORITHM_SHA_1": 1, "HASH_ALGORITHM_SHA_256": 2, "HASH_ALGORITHM_SHA_384": 3, } )
Enum value maps for HashAlgorithmProto.
var ( License_KeyContainer_KeyType_name = map[int32]string{ 1: "SIGNING", 2: "CONTENT", 3: "KEY_CONTROL", 4: "OPERATOR_SESSION", 5: "ENTITLEMENT", 6: "OEM_CONTENT", } License_KeyContainer_KeyType_value = map[string]int32{ "SIGNING": 1, "CONTENT": 2, "KEY_CONTROL": 3, "OPERATOR_SESSION": 4, "ENTITLEMENT": 5, "OEM_CONTENT": 6, } )
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_HDCP_name = map[int32]string{ 0: "HDCP_NONE", 1: "HDCP_V1", 2: "HDCP_V2", 3: "HDCP_V2_1", 4: "HDCP_V2_2", 5: "HDCP_V2_3", 255: "HDCP_NO_DIGITAL_OUTPUT", } License_KeyContainer_OutputProtection_HDCP_value = map[string]int32{ "HDCP_NONE": 0, "HDCP_V1": 1, "HDCP_V2": 2, "HDCP_V2_1": 3, "HDCP_V2_2": 4, "HDCP_V2_3": 5, "HDCP_NO_DIGITAL_OUTPUT": 255, } )
Enum value maps for License_KeyContainer_OutputProtection_HDCP.
var ( License_KeyContainer_OutputProtection_CGMS_name = map[int32]string{ 42: "CGMS_NONE", 0: "COPY_FREE", 2: "COPY_ONCE", 3: "COPY_NEVER", } License_KeyContainer_OutputProtection_CGMS_value = map[string]int32{ "CGMS_NONE": 42, "COPY_FREE": 0, "COPY_ONCE": 2, "COPY_NEVER": 3, } )
Enum value maps for License_KeyContainer_OutputProtection_CGMS.
var ( License_KeyContainer_OutputProtection_HdcpSrmRule_name = map[int32]string{ 0: "HDCP_SRM_RULE_NONE", 1: "CURRENT_SRM", } License_KeyContainer_OutputProtection_HdcpSrmRule_value = map[string]int32{ "HDCP_SRM_RULE_NONE": 0, "CURRENT_SRM": 1, } )
Enum value maps for License_KeyContainer_OutputProtection_HdcpSrmRule.
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 ( LicenseRequest_ContentIdentification_InitData_InitDataType_name = map[int32]string{ 1: "CENC", 2: "WEBM", } LicenseRequest_ContentIdentification_InitData_InitDataType_value = map[string]int32{ "CENC": 1, "WEBM": 2, } )
Enum value maps for LicenseRequest_ContentIdentification_InitData_InitDataType.
var ( MetricData_MetricType_name = map[int32]string{ 1: "LATENCY", 2: "TIMESTAMP", } MetricData_MetricType_value = map[string]int32{ "LATENCY": 1, "TIMESTAMP": 2, } )
Enum value maps for MetricData_MetricType.
var ( SignedMessage_MessageType_name = map[int32]string{ 1: "LICENSE_REQUEST", 2: "LICENSE", 3: "ERROR_RESPONSE", 4: "SERVICE_CERTIFICATE_REQUEST", 5: "SERVICE_CERTIFICATE", 6: "SUB_LICENSE", 7: "CAS_LICENSE_REQUEST", 8: "CAS_LICENSE", 9: "EXTERNAL_LICENSE_REQUEST", 10: "EXTERNAL_LICENSE", } SignedMessage_MessageType_value = map[string]int32{ "LICENSE_REQUEST": 1, "LICENSE": 2, "ERROR_RESPONSE": 3, "SERVICE_CERTIFICATE_REQUEST": 4, "SERVICE_CERTIFICATE": 5, "SUB_LICENSE": 6, "CAS_LICENSE_REQUEST": 7, "CAS_LICENSE": 8, "EXTERNAL_LICENSE_REQUEST": 9, "EXTERNAL_LICENSE": 10, } )
Enum value maps for SignedMessage_MessageType.
var ( SignedMessage_SessionKeyType_name = map[int32]string{ 0: "UNDEFINED", 1: "WRAPPED_AES_KEY", 2: "EPHERMERAL_ECC_PUBLIC_KEY", } SignedMessage_SessionKeyType_value = map[string]int32{ "UNDEFINED": 0, "WRAPPED_AES_KEY": 1, "EPHERMERAL_ECC_PUBLIC_KEY": 2, } )
Enum value maps for SignedMessage_SessionKeyType.
var ( ClientIdentification_TokenType_name = map[int32]string{ 0: "KEYBOX", 1: "DRM_DEVICE_CERTIFICATE", 2: "REMOTE_ATTESTATION_CERTIFICATE", 3: "OEM_DEVICE_CERTIFICATE", } ClientIdentification_TokenType_value = map[string]int32{ "KEYBOX": 0, "DRM_DEVICE_CERTIFICATE": 1, "REMOTE_ATTESTATION_CERTIFICATE": 2, "OEM_DEVICE_CERTIFICATE": 3, } )
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", 5: "HDCP_V2_3", 255: "HDCP_NO_DIGITAL_OUTPUT", } ClientIdentification_ClientCapabilities_HdcpVersion_value = map[string]int32{ "HDCP_NONE": 0, "HDCP_V1": 1, "HDCP_V2": 2, "HDCP_V2_1": 3, "HDCP_V2_2": 4, "HDCP_V2_3": 5, "HDCP_NO_DIGITAL_OUTPUT": 255, } )
Enum value maps for ClientIdentification_ClientCapabilities_HdcpVersion.
var ( ClientIdentification_ClientCapabilities_CertificateKeyType_name = map[int32]string{ 0: "RSA_2048", 1: "RSA_3072", 2: "ECC_SECP256R1", 3: "ECC_SECP384R1", 4: "ECC_SECP521R1", } ClientIdentification_ClientCapabilities_CertificateKeyType_value = map[string]int32{ "RSA_2048": 0, "RSA_3072": 1, "ECC_SECP256R1": 2, "ECC_SECP384R1": 3, "ECC_SECP521R1": 4, } )
Enum value maps for ClientIdentification_ClientCapabilities_CertificateKeyType.
var ( ClientIdentification_ClientCapabilities_AnalogOutputCapabilities_name = map[int32]string{ 0: "ANALOG_OUTPUT_UNKNOWN", 1: "ANALOG_OUTPUT_NONE", 2: "ANALOG_OUTPUT_SUPPORTED", 3: "ANALOG_OUTPUT_SUPPORTS_CGMS_A", } ClientIdentification_ClientCapabilities_AnalogOutputCapabilities_value = map[string]int32{ "ANALOG_OUTPUT_UNKNOWN": 0, "ANALOG_OUTPUT_NONE": 1, "ANALOG_OUTPUT_SUPPORTED": 2, "ANALOG_OUTPUT_SUPPORTS_CGMS_A": 3, } )
Enum value maps for ClientIdentification_ClientCapabilities_AnalogOutputCapabilities.
var ( DrmCertificate_Type_name = map[int32]string{ 0: "ROOT", 1: "DEVICE_MODEL", 2: "DEVICE", 3: "SERVICE", 4: "PROVISIONER", } DrmCertificate_Type_value = map[string]int32{ "ROOT": 0, "DEVICE_MODEL": 1, "DEVICE": 2, "SERVICE": 3, "PROVISIONER": 4, } )
Enum value maps for DrmCertificate_Type.
var ( DrmCertificate_ServiceType_name = map[int32]string{ 0: "UNKNOWN_SERVICE_TYPE", 1: "LICENSE_SERVER_SDK", 2: "LICENSE_SERVER_PROXY_SDK", 3: "PROVISIONING_SDK", 4: "CAS_PROXY_SDK", } DrmCertificate_ServiceType_value = map[string]int32{ "UNKNOWN_SERVICE_TYPE": 0, "LICENSE_SERVER_SDK": 1, "LICENSE_SERVER_PROXY_SDK": 2, "PROVISIONING_SDK": 3, "CAS_PROXY_SDK": 4, } )
Enum value maps for DrmCertificate_ServiceType.
var ( DrmCertificate_Algorithm_name = map[int32]string{ 0: "UNKNOWN_ALGORITHM", 1: "RSA", 2: "ECC_SECP256R1", 3: "ECC_SECP384R1", 4: "ECC_SECP521R1", } DrmCertificate_Algorithm_value = map[string]int32{ "UNKNOWN_ALGORITHM": 0, "RSA": 1, "ECC_SECP256R1": 2, "ECC_SECP384R1": 3, "ECC_SECP521R1": 4, } )
Enum value maps for DrmCertificate_Algorithm.
var ( WidevinePsshData_Type_name = map[int32]string{ 0: "SINGLE", 1: "ENTITLEMENT", 2: "ENTITLED_KEY", } WidevinePsshData_Type_value = map[string]int32{ "SINGLE": 0, "ENTITLEMENT": 1, "ENTITLED_KEY": 2, } )
Enum value maps for WidevinePsshData_Type.
var ( WidevinePsshData_Algorithm_name = map[int32]string{ 0: "UNENCRYPTED", 1: "AESCTR", } WidevinePsshData_Algorithm_value = map[string]int32{ "UNENCRYPTED": 0, "AESCTR": 1, } )
Enum value maps for WidevinePsshData_Algorithm.
var File_license_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientIdentification ¶
type ClientIdentification struct { // Type of factory-provisioned device root of trust. Optional. Type *ClientIdentification_TokenType `protobuf:"varint,1,opt,name=type,enum=license.ClientIdentification_TokenType,def=0" json:"type,omitempty"` // Factory-provisioned device root of trust. Required. Token []byte `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` // Optional client information name/value pairs. ClientInfo []*ClientIdentification_NameValue `protobuf:"bytes,3,rep,name=client_info,json=clientInfo" json:"client_info,omitempty"` // Client token generated by the content provider. Optional. ProviderClientToken []byte `protobuf:"bytes,4,opt,name=provider_client_token,json=providerClientToken" json:"provider_client_token,omitempty"` // Number of licenses received by the client to which the token above belongs. // Only present if client_token is specified. LicenseCounter *uint32 `protobuf:"varint,5,opt,name=license_counter,json=licenseCounter" json:"license_counter,omitempty"` // List of non-baseline client capabilities. ClientCapabilities *ClientIdentification_ClientCapabilities `protobuf:"bytes,6,opt,name=client_capabilities,json=clientCapabilities" json:"client_capabilities,omitempty"` // Serialized VmpData message. Optional. VmpData []byte `protobuf:"bytes,7,opt,name=vmp_data,json=vmpData" json:"vmp_data,omitempty"` // Optional field that may contain additional provisioning credentials. DeviceCredentials []*ClientIdentification_ClientCredentials `protobuf:"bytes,8,rep,name=device_credentials,json=deviceCredentials" json:"device_credentials,omitempty"` // contains filtered or unexported fields }
ClientIdentification message used to authenticate the client device.
func (*ClientIdentification) Descriptor
deprecated
func (*ClientIdentification) Descriptor() ([]byte, []int)
Deprecated: Use ClientIdentification.ProtoReflect.Descriptor instead.
func (*ClientIdentification) GetClientCapabilities ¶
func (x *ClientIdentification) GetClientCapabilities() *ClientIdentification_ClientCapabilities
func (*ClientIdentification) GetClientInfo ¶
func (x *ClientIdentification) GetClientInfo() []*ClientIdentification_NameValue
func (*ClientIdentification) GetDeviceCredentials ¶
func (x *ClientIdentification) GetDeviceCredentials() []*ClientIdentification_ClientCredentials
func (*ClientIdentification) GetLicenseCounter ¶
func (x *ClientIdentification) GetLicenseCounter() uint32
func (*ClientIdentification) GetProviderClientToken ¶
func (x *ClientIdentification) GetProviderClientToken() []byte
func (*ClientIdentification) GetToken ¶
func (x *ClientIdentification) GetToken() []byte
func (*ClientIdentification) GetType ¶
func (x *ClientIdentification) GetType() ClientIdentification_TokenType
func (*ClientIdentification) GetVmpData ¶
func (x *ClientIdentification) GetVmpData() []byte
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 *bool `protobuf:"varint,1,opt,name=client_token,json=clientToken,def=0" json:"client_token,omitempty"` SessionToken *bool `protobuf:"varint,2,opt,name=session_token,json=sessionToken,def=0" json:"session_token,omitempty"` VideoResolutionConstraints *bool `` /* 141-byte string literal not displayed */ MaxHdcpVersion *ClientIdentification_ClientCapabilities_HdcpVersion `` /* 170-byte string literal not displayed */ OemCryptoApiVersion *uint32 `protobuf:"varint,5,opt,name=oem_crypto_api_version,json=oemCryptoApiVersion" json:"oem_crypto_api_version,omitempty"` // Client has hardware support for protecting the usage table, such as // storing the generation number in secure memory. For Details, see: // Widevine Modular DRM Security Integration Guide for CENC AntiRollbackUsageTable *bool `` /* 131-byte string literal not displayed */ // The client shall report |srm_version| if available. SrmVersion *uint32 `protobuf:"varint,7,opt,name=srm_version,json=srmVersion" json:"srm_version,omitempty"` // A device may have SRM data, and report a version, but may not be capable // of updating SRM data. CanUpdateSrm *bool `protobuf:"varint,8,opt,name=can_update_srm,json=canUpdateSrm,def=0" json:"can_update_srm,omitempty"` SupportedCertificateKeyType []ClientIdentification_ClientCapabilities_CertificateKeyType `` /* 212-byte string literal not displayed */ AnalogOutputCapabilities *ClientIdentification_ClientCapabilities_AnalogOutputCapabilities `` /* 214-byte string literal not displayed */ CanDisableAnalogOutput *bool `` /* 132-byte string literal not displayed */ // Clients can indicate a performance level supported by OEMCrypto. // This will allow applications and providers to choose an appropriate // quality of content to serve. Currently defined tiers are // 1 (low), 2 (medium) and 3 (high). Any other value indicates that // the resource rating is unavailable or reporting erroneous values // for that device. For details see, // Widevine Modular DRM Security Integration Guide for CENC ResourceRatingTier *uint32 `protobuf:"varint,12,opt,name=resource_rating_tier,json=resourceRatingTier,def=0" json:"resource_rating_tier,omitempty"` // contains filtered or unexported fields }
Capabilities which not all clients may support. Used for the license exchange protocol only.
func (*ClientIdentification_ClientCapabilities) Descriptor
deprecated
func (*ClientIdentification_ClientCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_ClientCapabilities.ProtoReflect.Descriptor instead.
func (*ClientIdentification_ClientCapabilities) GetAnalogOutputCapabilities ¶
func (x *ClientIdentification_ClientCapabilities) GetAnalogOutputCapabilities() ClientIdentification_ClientCapabilities_AnalogOutputCapabilities
func (*ClientIdentification_ClientCapabilities) GetAntiRollbackUsageTable ¶
func (x *ClientIdentification_ClientCapabilities) GetAntiRollbackUsageTable() bool
func (*ClientIdentification_ClientCapabilities) GetCanDisableAnalogOutput ¶
func (x *ClientIdentification_ClientCapabilities) GetCanDisableAnalogOutput() bool
func (*ClientIdentification_ClientCapabilities) GetCanUpdateSrm ¶
func (x *ClientIdentification_ClientCapabilities) GetCanUpdateSrm() bool
func (*ClientIdentification_ClientCapabilities) GetClientToken ¶
func (x *ClientIdentification_ClientCapabilities) GetClientToken() bool
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) GetResourceRatingTier ¶
func (x *ClientIdentification_ClientCapabilities) GetResourceRatingTier() uint32
func (*ClientIdentification_ClientCapabilities) GetSessionToken ¶
func (x *ClientIdentification_ClientCapabilities) GetSessionToken() bool
func (*ClientIdentification_ClientCapabilities) GetSrmVersion ¶
func (x *ClientIdentification_ClientCapabilities) GetSrmVersion() uint32
func (*ClientIdentification_ClientCapabilities) GetSupportedCertificateKeyType ¶
func (x *ClientIdentification_ClientCapabilities) GetSupportedCertificateKeyType() []ClientIdentification_ClientCapabilities_CertificateKeyType
func (*ClientIdentification_ClientCapabilities) GetVideoResolutionConstraints ¶
func (x *ClientIdentification_ClientCapabilities) GetVideoResolutionConstraints() bool
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_AnalogOutputCapabilities ¶
type ClientIdentification_ClientCapabilities_AnalogOutputCapabilities int32
const ( ClientIdentification_ClientCapabilities_ANALOG_OUTPUT_UNKNOWN ClientIdentification_ClientCapabilities_AnalogOutputCapabilities = 0 ClientIdentification_ClientCapabilities_ANALOG_OUTPUT_NONE ClientIdentification_ClientCapabilities_AnalogOutputCapabilities = 1 ClientIdentification_ClientCapabilities_ANALOG_OUTPUT_SUPPORTED ClientIdentification_ClientCapabilities_AnalogOutputCapabilities = 2 ClientIdentification_ClientCapabilities_ANALOG_OUTPUT_SUPPORTS_CGMS_A ClientIdentification_ClientCapabilities_AnalogOutputCapabilities = 3 )
func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) Descriptor ¶
func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) EnumDescriptor
deprecated
func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_ClientCapabilities_AnalogOutputCapabilities.Descriptor instead.
func (ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) String ¶
func (x ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) String() string
func (*ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) UnmarshalJSON
deprecated
func (x *ClientIdentification_ClientCapabilities_AnalogOutputCapabilities) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ClientIdentification_ClientCapabilities_CertificateKeyType ¶
type ClientIdentification_ClientCapabilities_CertificateKeyType int32
const ( ClientIdentification_ClientCapabilities_RSA_2048 ClientIdentification_ClientCapabilities_CertificateKeyType = 0 ClientIdentification_ClientCapabilities_RSA_3072 ClientIdentification_ClientCapabilities_CertificateKeyType = 1 ClientIdentification_ClientCapabilities_ECC_SECP256R1 ClientIdentification_ClientCapabilities_CertificateKeyType = 2 ClientIdentification_ClientCapabilities_ECC_SECP384R1 ClientIdentification_ClientCapabilities_CertificateKeyType = 3 ClientIdentification_ClientCapabilities_ECC_SECP521R1 ClientIdentification_ClientCapabilities_CertificateKeyType = 4 )
func (ClientIdentification_ClientCapabilities_CertificateKeyType) Descriptor ¶
func (ClientIdentification_ClientCapabilities_CertificateKeyType) Descriptor() protoreflect.EnumDescriptor
func (ClientIdentification_ClientCapabilities_CertificateKeyType) EnumDescriptor
deprecated
func (ClientIdentification_ClientCapabilities_CertificateKeyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_ClientCapabilities_CertificateKeyType.Descriptor instead.
func (ClientIdentification_ClientCapabilities_CertificateKeyType) Number ¶
func (x ClientIdentification_ClientCapabilities_CertificateKeyType) Number() protoreflect.EnumNumber
func (ClientIdentification_ClientCapabilities_CertificateKeyType) String ¶
func (x ClientIdentification_ClientCapabilities_CertificateKeyType) String() string
func (*ClientIdentification_ClientCapabilities_CertificateKeyType) UnmarshalJSON
deprecated
func (x *ClientIdentification_ClientCapabilities_CertificateKeyType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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 ClientIdentification_ClientCapabilities_HDCP_V2_3 ClientIdentification_ClientCapabilities_HdcpVersion = 5 ClientIdentification_ClientCapabilities_HDCP_NO_DIGITAL_OUTPUT ClientIdentification_ClientCapabilities_HdcpVersion = 255 )
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_ClientCredentials ¶
type ClientIdentification_ClientCredentials struct { Type *ClientIdentification_TokenType `protobuf:"varint,1,opt,name=type,enum=license.ClientIdentification_TokenType,def=0" json:"type,omitempty"` Token []byte `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ClientIdentification_ClientCredentials) Descriptor
deprecated
func (*ClientIdentification_ClientCredentials) Descriptor() ([]byte, []int)
Deprecated: Use ClientIdentification_ClientCredentials.ProtoReflect.Descriptor instead.
func (*ClientIdentification_ClientCredentials) GetToken ¶
func (x *ClientIdentification_ClientCredentials) GetToken() []byte
func (*ClientIdentification_ClientCredentials) GetType ¶
func (x *ClientIdentification_ClientCredentials) GetType() ClientIdentification_TokenType
func (*ClientIdentification_ClientCredentials) ProtoMessage ¶
func (*ClientIdentification_ClientCredentials) ProtoMessage()
func (*ClientIdentification_ClientCredentials) ProtoReflect ¶
func (x *ClientIdentification_ClientCredentials) ProtoReflect() protoreflect.Message
func (*ClientIdentification_ClientCredentials) Reset ¶
func (x *ClientIdentification_ClientCredentials) Reset()
func (*ClientIdentification_ClientCredentials) String ¶
func (x *ClientIdentification_ClientCredentials) String() string
type ClientIdentification_NameValue ¶
type ClientIdentification_NameValue struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,opt,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_DRM_DEVICE_CERTIFICATE ClientIdentification_TokenType = 1 ClientIdentification_REMOTE_ATTESTATION_CERTIFICATE ClientIdentification_TokenType = 2 ClientIdentification_OEM_DEVICE_CERTIFICATE ClientIdentification_TokenType = 3 )
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 DrmCertificate ¶
type DrmCertificate struct { // Type of certificate. Required. Type *DrmCertificate_Type `protobuf:"varint,1,opt,name=type,enum=license.DrmCertificate_Type" json:"type,omitempty"` // 128-bit globally unique serial number of certificate. // Value is 0 for root certificate. Required. SerialNumber []byte `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"` // POSIX time, in seconds, when the certificate was created. Required. CreationTimeSeconds *uint32 `protobuf:"varint,3,opt,name=creation_time_seconds,json=creationTimeSeconds" json:"creation_time_seconds,omitempty"` // POSIX time, in seconds, when the certificate should expire. Value of zero // denotes indefinite expiry time. For more information on limited lifespan // DRM certificates see (go/limited-lifespan-drm-certificates). ExpirationTimeSeconds *uint32 `protobuf:"varint,12,opt,name=expiration_time_seconds,json=expirationTimeSeconds" json:"expiration_time_seconds,omitempty"` // Device public key. PKCS#1 ASN.1 DER-encoded. Required. PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // Widevine system ID for the device. Required for intermediate and // user device certificates. SystemId *uint32 `protobuf:"varint,5,opt,name=system_id,json=systemId" json:"system_id,omitempty"` // Deprecated field, which used to indicate whether the device was a test // (non-production) device. The test_device field in ProvisionedDeviceInfo // below should be observed instead. // // Deprecated: Marked as deprecated in license.proto. TestDeviceDeprecated *bool `protobuf:"varint,6,opt,name=test_device_deprecated,json=testDeviceDeprecated" json:"test_device_deprecated,omitempty"` // Service identifier (web origin) for the provider which owns the // certificate. Required for service and provisioner certificates. ProviderId *string `protobuf:"bytes,7,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"` // This field is used only when type = SERVICE to specify which SDK uses // service certificate. This repeated field is treated as a set. A certificate // may be used for the specified service SDK if the appropriate ServiceType // is specified in this field. ServiceTypes []DrmCertificate_ServiceType `` /* 131-byte string literal not displayed */ // Required. The algorithm field contains the curve used to create the // |public_key| if algorithm is one of the ECC types. // The |algorithm| is used for both to determine the if the certificate is ECC // or RSA. The |algorithm| also specifies the parameters that were used to // create |public_key| and are used to create an ephemeral session key. Algorithm *DrmCertificate_Algorithm `protobuf:"varint,9,opt,name=algorithm,enum=license.DrmCertificate_Algorithm,def=1" json:"algorithm,omitempty"` // Optional. May be present in DEVICE certificate types. This is the root // of trust identifier that holds an encrypted value that identifies the // keybox or other root of trust that was used to provision a DEVICE drm // certificate. RotId []byte `protobuf:"bytes,10,opt,name=rot_id,json=rotId" json:"rot_id,omitempty"` // Optional. May be present in devices that explicitly support dual keys. When // present the |public_key| is used for verification of received license // request messages. EncryptionKey *DrmCertificate_EncryptionKey `protobuf:"bytes,11,opt,name=encryption_key,json=encryptionKey" json:"encryption_key,omitempty"` // contains filtered or unexported fields }
DRM certificate definition for user devices, intermediate, service, and root certificates.
func (*DrmCertificate) Descriptor
deprecated
func (*DrmCertificate) Descriptor() ([]byte, []int)
Deprecated: Use DrmCertificate.ProtoReflect.Descriptor instead.
func (*DrmCertificate) GetAlgorithm ¶
func (x *DrmCertificate) GetAlgorithm() DrmCertificate_Algorithm
func (*DrmCertificate) GetCreationTimeSeconds ¶
func (x *DrmCertificate) GetCreationTimeSeconds() uint32
func (*DrmCertificate) GetEncryptionKey ¶
func (x *DrmCertificate) GetEncryptionKey() *DrmCertificate_EncryptionKey
func (*DrmCertificate) GetExpirationTimeSeconds ¶
func (x *DrmCertificate) GetExpirationTimeSeconds() uint32
func (*DrmCertificate) GetProviderId ¶
func (x *DrmCertificate) GetProviderId() string
func (*DrmCertificate) GetPublicKey ¶
func (x *DrmCertificate) GetPublicKey() []byte
func (*DrmCertificate) GetRotId ¶
func (x *DrmCertificate) GetRotId() []byte
func (*DrmCertificate) GetSerialNumber ¶
func (x *DrmCertificate) GetSerialNumber() []byte
func (*DrmCertificate) GetServiceTypes ¶
func (x *DrmCertificate) GetServiceTypes() []DrmCertificate_ServiceType
func (*DrmCertificate) GetSystemId ¶
func (x *DrmCertificate) GetSystemId() uint32
func (*DrmCertificate) GetTestDeviceDeprecated
deprecated
func (x *DrmCertificate) GetTestDeviceDeprecated() bool
Deprecated: Marked as deprecated in license.proto.
func (*DrmCertificate) GetType ¶
func (x *DrmCertificate) GetType() DrmCertificate_Type
func (*DrmCertificate) ProtoMessage ¶
func (*DrmCertificate) ProtoMessage()
func (*DrmCertificate) ProtoReflect ¶
func (x *DrmCertificate) ProtoReflect() protoreflect.Message
func (*DrmCertificate) Reset ¶
func (x *DrmCertificate) Reset()
func (*DrmCertificate) String ¶
func (x *DrmCertificate) String() string
type DrmCertificate_Algorithm ¶
type DrmCertificate_Algorithm int32
const ( DrmCertificate_UNKNOWN_ALGORITHM DrmCertificate_Algorithm = 0 DrmCertificate_RSA DrmCertificate_Algorithm = 1 DrmCertificate_ECC_SECP256R1 DrmCertificate_Algorithm = 2 DrmCertificate_ECC_SECP384R1 DrmCertificate_Algorithm = 3 DrmCertificate_ECC_SECP521R1 DrmCertificate_Algorithm = 4 )
func (DrmCertificate_Algorithm) Descriptor ¶
func (DrmCertificate_Algorithm) Descriptor() protoreflect.EnumDescriptor
func (DrmCertificate_Algorithm) Enum ¶
func (x DrmCertificate_Algorithm) Enum() *DrmCertificate_Algorithm
func (DrmCertificate_Algorithm) EnumDescriptor
deprecated
func (DrmCertificate_Algorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use DrmCertificate_Algorithm.Descriptor instead.
func (DrmCertificate_Algorithm) Number ¶
func (x DrmCertificate_Algorithm) Number() protoreflect.EnumNumber
func (DrmCertificate_Algorithm) String ¶
func (x DrmCertificate_Algorithm) String() string
func (DrmCertificate_Algorithm) Type ¶
func (DrmCertificate_Algorithm) Type() protoreflect.EnumType
func (*DrmCertificate_Algorithm) UnmarshalJSON
deprecated
func (x *DrmCertificate_Algorithm) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DrmCertificate_EncryptionKey ¶
type DrmCertificate_EncryptionKey struct { // Device public key. PKCS#1 ASN.1 DER-encoded. Required. PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // Required. The algorithm field contains the curve used to create the // |public_key| if algorithm is one of the ECC types. // The |algorithm| is used for both to determine the if the certificate is // ECC or RSA. The |algorithm| also specifies the parameters that were used // to create |public_key| and are used to create an ephemeral session key. Algorithm *DrmCertificate_Algorithm `protobuf:"varint,2,opt,name=algorithm,enum=license.DrmCertificate_Algorithm,def=1" json:"algorithm,omitempty"` // contains filtered or unexported fields }
func (*DrmCertificate_EncryptionKey) Descriptor
deprecated
func (*DrmCertificate_EncryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use DrmCertificate_EncryptionKey.ProtoReflect.Descriptor instead.
func (*DrmCertificate_EncryptionKey) GetAlgorithm ¶
func (x *DrmCertificate_EncryptionKey) GetAlgorithm() DrmCertificate_Algorithm
func (*DrmCertificate_EncryptionKey) GetPublicKey ¶
func (x *DrmCertificate_EncryptionKey) GetPublicKey() []byte
func (*DrmCertificate_EncryptionKey) ProtoMessage ¶
func (*DrmCertificate_EncryptionKey) ProtoMessage()
func (*DrmCertificate_EncryptionKey) ProtoReflect ¶
func (x *DrmCertificate_EncryptionKey) ProtoReflect() protoreflect.Message
func (*DrmCertificate_EncryptionKey) Reset ¶
func (x *DrmCertificate_EncryptionKey) Reset()
func (*DrmCertificate_EncryptionKey) String ¶
func (x *DrmCertificate_EncryptionKey) String() string
type DrmCertificate_ServiceType ¶
type DrmCertificate_ServiceType int32
const ( DrmCertificate_UNKNOWN_SERVICE_TYPE DrmCertificate_ServiceType = 0 DrmCertificate_LICENSE_SERVER_SDK DrmCertificate_ServiceType = 1 DrmCertificate_LICENSE_SERVER_PROXY_SDK DrmCertificate_ServiceType = 2 DrmCertificate_PROVISIONING_SDK DrmCertificate_ServiceType = 3 DrmCertificate_CAS_PROXY_SDK DrmCertificate_ServiceType = 4 )
func (DrmCertificate_ServiceType) Descriptor ¶
func (DrmCertificate_ServiceType) Descriptor() protoreflect.EnumDescriptor
func (DrmCertificate_ServiceType) Enum ¶
func (x DrmCertificate_ServiceType) Enum() *DrmCertificate_ServiceType
func (DrmCertificate_ServiceType) EnumDescriptor
deprecated
func (DrmCertificate_ServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DrmCertificate_ServiceType.Descriptor instead.
func (DrmCertificate_ServiceType) Number ¶
func (x DrmCertificate_ServiceType) Number() protoreflect.EnumNumber
func (DrmCertificate_ServiceType) String ¶
func (x DrmCertificate_ServiceType) String() string
func (DrmCertificate_ServiceType) Type ¶
func (DrmCertificate_ServiceType) Type() protoreflect.EnumType
func (*DrmCertificate_ServiceType) UnmarshalJSON
deprecated
func (x *DrmCertificate_ServiceType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type DrmCertificate_Type ¶
type DrmCertificate_Type int32
const ( DrmCertificate_ROOT DrmCertificate_Type = 0 // ProtoBestPractices: ignore. DrmCertificate_DEVICE_MODEL DrmCertificate_Type = 1 DrmCertificate_DEVICE DrmCertificate_Type = 2 DrmCertificate_SERVICE DrmCertificate_Type = 3 DrmCertificate_PROVISIONER DrmCertificate_Type = 4 )
func (DrmCertificate_Type) Descriptor ¶
func (DrmCertificate_Type) Descriptor() protoreflect.EnumDescriptor
func (DrmCertificate_Type) Enum ¶
func (x DrmCertificate_Type) Enum() *DrmCertificate_Type
func (DrmCertificate_Type) EnumDescriptor
deprecated
func (DrmCertificate_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DrmCertificate_Type.Descriptor instead.
func (DrmCertificate_Type) Number ¶
func (x DrmCertificate_Type) Number() protoreflect.EnumNumber
func (DrmCertificate_Type) String ¶
func (x DrmCertificate_Type) String() string
func (DrmCertificate_Type) Type ¶
func (DrmCertificate_Type) Type() protoreflect.EnumType
func (*DrmCertificate_Type) UnmarshalJSON
deprecated
func (x *DrmCertificate_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type EncryptedClientIdentification ¶
type EncryptedClientIdentification struct { // Provider ID for which the ClientIdentifcation is encrypted (owner of // service certificate). ProviderId *string `protobuf:"bytes,1,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"` // Serial number for the service certificate for which ClientIdentification is // encrypted. ServiceCertificateSerialNumber []byte `` /* 148-byte string literal not displayed */ // Serialized ClientIdentification message, encrypted with the privacy key // using AES-128-CBC with PKCS#5 padding. EncryptedClientId []byte `protobuf:"bytes,3,opt,name=encrypted_client_id,json=encryptedClientId" json:"encrypted_client_id,omitempty"` // Initialization vector needed to decrypt encrypted_client_id. EncryptedClientIdIv []byte `protobuf:"bytes,4,opt,name=encrypted_client_id_iv,json=encryptedClientIdIv" json:"encrypted_client_id_iv,omitempty"` // AES-128 privacy key, encrypted with the service public key using RSA-OAEP. EncryptedPrivacyKey []byte `protobuf:"bytes,5,opt,name=encrypted_privacy_key,json=encryptedPrivacyKey" json:"encrypted_privacy_key,omitempty"` // contains filtered or unexported fields }
EncryptedClientIdentification message used to hold ClientIdentification messages encrypted for privacy purposes.
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) GetProviderId ¶
func (x *EncryptedClientIdentification) GetProviderId() string
func (*EncryptedClientIdentification) GetServiceCertificateSerialNumber ¶
func (x *EncryptedClientIdentification) GetServiceCertificateSerialNumber() []byte
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 }
File Hashes for Verified Media Path (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 HashAlgorithmProto ¶
type HashAlgorithmProto int32
const ( // Unspecified hash algorithm: SHA_256 shall be used for ECC based algorithms // and SHA_1 shall be used otherwise. HashAlgorithmProto_HASH_ALGORITHM_UNSPECIFIED HashAlgorithmProto = 0 HashAlgorithmProto_HASH_ALGORITHM_SHA_1 HashAlgorithmProto = 1 HashAlgorithmProto_HASH_ALGORITHM_SHA_256 HashAlgorithmProto = 2 HashAlgorithmProto_HASH_ALGORITHM_SHA_384 HashAlgorithmProto = 3 )
func (HashAlgorithmProto) Descriptor ¶
func (HashAlgorithmProto) Descriptor() protoreflect.EnumDescriptor
func (HashAlgorithmProto) Enum ¶
func (x HashAlgorithmProto) Enum() *HashAlgorithmProto
func (HashAlgorithmProto) EnumDescriptor
deprecated
func (HashAlgorithmProto) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashAlgorithmProto.Descriptor instead.
func (HashAlgorithmProto) Number ¶
func (x HashAlgorithmProto) Number() protoreflect.EnumNumber
func (HashAlgorithmProto) String ¶
func (x HashAlgorithmProto) String() string
func (HashAlgorithmProto) Type ¶
func (HashAlgorithmProto) Type() protoreflect.EnumType
func (*HashAlgorithmProto) UnmarshalJSON
deprecated
func (x *HashAlgorithmProto) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License ¶
type License struct { Id *LicenseIdentification `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Policy *License_Policy `protobuf:"bytes,2,opt,name=policy" json:"policy,omitempty"` Key []*License_KeyContainer `protobuf:"bytes,3,rep,name=key" json:"key,omitempty"` // Time of the request in seconds (UTC) as set in // LicenseRequest.request_time. If this time is not set in the request, // the local time at the license service is used in this field. LicenseStartTime *int64 `protobuf:"varint,4,opt,name=license_start_time,json=licenseStartTime" json:"license_start_time,omitempty"` RemoteAttestationVerified *bool `` /* 138-byte string literal not displayed */ // Client token generated by the content provider. Optional. ProviderClientToken []byte `protobuf:"bytes,6,opt,name=provider_client_token,json=providerClientToken" json:"provider_client_token,omitempty"` // 4cc code specifying the CENC protection scheme as defined in the CENC 3.0 // specification. Propagated from Widevine PSSH box. Optional. ProtectionScheme *uint32 `protobuf:"varint,7,opt,name=protection_scheme,json=protectionScheme" json:"protection_scheme,omitempty"` // 8 byte verification field "HDCPDATA" followed by unsigned 32 bit minimum // HDCP SRM version (whether the version is for HDCP1 SRM or HDCP2 SRM // depends on client max_hdcp_version). // Additional details can be found in Widevine Modular DRM Security // Integration Guide for CENC. SrmRequirement []byte `protobuf:"bytes,8,opt,name=srm_requirement,json=srmRequirement" json:"srm_requirement,omitempty"` // If present this contains a signed SRM file (either HDCP1 SRM or HDCP2 SRM // depending on client max_hdcp_version) that should be installed on the // client device. SrmUpdate []byte `protobuf:"bytes,9,opt,name=srm_update,json=srmUpdate" json:"srm_update,omitempty"` // Indicates the status of any type of platform verification performed by the // server. PlatformVerificationStatus *PlatformVerificationStatus `` /* 182-byte string literal not displayed */ // IDs of the groups for which keys are delivered in this license, if any. GroupIds [][]byte `protobuf:"bytes,11,rep,name=group_ids,json=groupIds" json:"group_ids,omitempty"` // contains filtered or unexported fields }
func (*License) Descriptor
deprecated
func (*License) GetGroupIds ¶
func (*License) GetId ¶
func (x *License) GetId() *LicenseIdentification
func (*License) GetKey ¶
func (x *License) GetKey() []*License_KeyContainer
func (*License) GetLicenseStartTime ¶
func (*License) GetPlatformVerificationStatus ¶
func (x *License) GetPlatformVerificationStatus() PlatformVerificationStatus
func (*License) GetPolicy ¶
func (x *License) GetPolicy() *License_Policy
func (*License) GetProtectionScheme ¶
func (*License) GetProviderClientToken ¶
func (*License) GetRemoteAttestationVerified ¶
func (*License) GetSrmRequirement ¶
func (*License) GetSrmUpdate ¶
func (*License) ProtoMessage ¶
func (*License) ProtoMessage()
func (*License) ProtoReflect ¶
func (x *License) ProtoReflect() protoreflect.Message
type LicenseIdentification ¶
type LicenseIdentification struct { RequestId []byte `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"` SessionId []byte `protobuf:"bytes,2,opt,name=session_id,json=sessionId" json:"session_id,omitempty"` PurchaseId []byte `protobuf:"bytes,3,opt,name=purchase_id,json=purchaseId" json:"purchase_id,omitempty"` Type *LicenseType `protobuf:"varint,4,opt,name=type,enum=license.LicenseType" json:"type,omitempty"` Version *int32 `protobuf:"varint,5,opt,name=version" json:"version,omitempty"` ProviderSessionToken []byte `protobuf:"bytes,6,opt,name=provider_session_token,json=providerSessionToken" json:"provider_session_token,omitempty"` // contains filtered or unexported fields }
LicenseIdentification is propagated from LicenseRequest to License, incrementing version with each iteration.
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() int32
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 { // The client_id provides information authenticating the calling device. It // contains the Widevine keybox token that was installed on the device at the // factory. This field or encrypted_client_id below is required for a valid // license request, but both should never be present in the same request. ClientId *ClientIdentification `protobuf:"bytes,1,opt,name=client_id,json=clientId" json:"client_id,omitempty"` ContentId *LicenseRequest_ContentIdentification `protobuf:"bytes,2,opt,name=content_id,json=contentId" json:"content_id,omitempty"` Type *LicenseRequest_RequestType `protobuf:"varint,3,opt,name=type,enum=license.LicenseRequest_RequestType" json:"type,omitempty"` // Time of the request in seconds (UTC) as set by the client. RequestTime *int64 `protobuf:"varint,4,opt,name=request_time,json=requestTime" json:"request_time,omitempty"` // Old-style decimal-encoded string key control nonce. KeyControlNonceDeprecated []byte `` /* 133-byte string literal not displayed */ ProtocolVersion *ProtocolVersion `` /* 136-byte string literal not displayed */ // New-style uint32 key control nonce, please use instead of // key_control_nonce_deprecated. KeyControlNonce *uint32 `protobuf:"varint,7,opt,name=key_control_nonce,json=keyControlNonce" json:"key_control_nonce,omitempty"` // Encrypted ClientIdentification message, used for privacy purposes. EncryptedClientId *EncryptedClientIdentification `protobuf:"bytes,8,opt,name=encrypted_client_id,json=encryptedClientId" json:"encrypted_client_id,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() int64
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 LicenseRequest_ContentIdentification ¶
type LicenseRequest_ContentIdentification struct { // Types that are assignable to ContentIdVariant: // // *LicenseRequest_ContentIdentification_WidevinePsshData_ // *LicenseRequest_ContentIdentification_WebmKeyId_ // *LicenseRequest_ContentIdentification_ExistingLicense_ // *LicenseRequest_ContentIdentification_InitData_ ContentIdVariant isLicenseRequest_ContentIdentification_ContentIdVariant `protobuf_oneof:"content_id_variant"` // 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) GetContentIdVariant ¶
func (m *LicenseRequest_ContentIdentification) GetContentIdVariant() isLicenseRequest_ContentIdentification_ContentIdVariant
func (*LicenseRequest_ContentIdentification) GetExistingLicense ¶
func (x *LicenseRequest_ContentIdentification) GetExistingLicense() *LicenseRequest_ContentIdentification_ExistingLicense
func (*LicenseRequest_ContentIdentification) GetInitData ¶
func (x *LicenseRequest_ContentIdentification) GetInitData() *LicenseRequest_ContentIdentification_InitData
func (*LicenseRequest_ContentIdentification) GetWebmKeyId ¶
func (x *LicenseRequest_ContentIdentification) GetWebmKeyId() *LicenseRequest_ContentIdentification_WebmKeyId
func (*LicenseRequest_ContentIdentification) GetWidevinePsshData ¶
func (x *LicenseRequest_ContentIdentification) GetWidevinePsshData() *LicenseRequest_ContentIdentification_WidevinePsshData
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_ExistingLicense ¶
type LicenseRequest_ContentIdentification_ExistingLicense struct { LicenseId *LicenseIdentification `protobuf:"bytes,1,opt,name=license_id,json=licenseId" json:"license_id,omitempty"` SecondsSinceStarted *int64 `protobuf:"varint,2,opt,name=seconds_since_started,json=secondsSinceStarted" json:"seconds_since_started,omitempty"` SecondsSinceLastPlayed *int64 `protobuf:"varint,3,opt,name=seconds_since_last_played,json=secondsSinceLastPlayed" json:"seconds_since_last_played,omitempty"` SessionUsageTableEntry []byte `protobuf:"bytes,4,opt,name=session_usage_table_entry,json=sessionUsageTableEntry" json:"session_usage_table_entry,omitempty"` // 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() int64
func (*LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceStarted ¶
func (x *LicenseRequest_ContentIdentification_ExistingLicense) GetSecondsSinceStarted() int64
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_ExistingLicense_ ¶
type LicenseRequest_ContentIdentification_ExistingLicense_ struct {
ExistingLicense *LicenseRequest_ContentIdentification_ExistingLicense `protobuf:"bytes,3,opt,name=existing_license,json=existingLicense,oneof"`
}
type LicenseRequest_ContentIdentification_InitData ¶
type LicenseRequest_ContentIdentification_InitData struct { InitDataType *LicenseRequest_ContentIdentification_InitData_InitDataType `` /* 171-byte string literal not displayed */ InitData []byte `protobuf:"bytes,2,opt,name=init_data,json=initData" json:"init_data,omitempty"` LicenseType *LicenseType `protobuf:"varint,3,opt,name=license_type,json=licenseType,enum=license.LicenseType" json:"license_type,omitempty"` RequestId []byte `protobuf:"bytes,4,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification_InitData) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification_InitData) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_InitData.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification_InitData) GetInitData ¶
func (x *LicenseRequest_ContentIdentification_InitData) GetInitData() []byte
func (*LicenseRequest_ContentIdentification_InitData) GetInitDataType ¶
func (x *LicenseRequest_ContentIdentification_InitData) GetInitDataType() LicenseRequest_ContentIdentification_InitData_InitDataType
func (*LicenseRequest_ContentIdentification_InitData) GetLicenseType ¶
func (x *LicenseRequest_ContentIdentification_InitData) GetLicenseType() LicenseType
func (*LicenseRequest_ContentIdentification_InitData) GetRequestId ¶
func (x *LicenseRequest_ContentIdentification_InitData) GetRequestId() []byte
func (*LicenseRequest_ContentIdentification_InitData) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification_InitData) ProtoMessage()
func (*LicenseRequest_ContentIdentification_InitData) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification_InitData) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification_InitData) Reset ¶
func (x *LicenseRequest_ContentIdentification_InitData) Reset()
func (*LicenseRequest_ContentIdentification_InitData) String ¶
func (x *LicenseRequest_ContentIdentification_InitData) String() string
type LicenseRequest_ContentIdentification_InitData_ ¶
type LicenseRequest_ContentIdentification_InitData_ struct {
InitData *LicenseRequest_ContentIdentification_InitData `protobuf:"bytes,4,opt,name=init_data,json=initData,oneof"`
}
type LicenseRequest_ContentIdentification_InitData_InitDataType ¶
type LicenseRequest_ContentIdentification_InitData_InitDataType int32
const ( LicenseRequest_ContentIdentification_InitData_CENC LicenseRequest_ContentIdentification_InitData_InitDataType = 1 LicenseRequest_ContentIdentification_InitData_WEBM LicenseRequest_ContentIdentification_InitData_InitDataType = 2 )
func (LicenseRequest_ContentIdentification_InitData_InitDataType) Descriptor ¶
func (LicenseRequest_ContentIdentification_InitData_InitDataType) Descriptor() protoreflect.EnumDescriptor
func (LicenseRequest_ContentIdentification_InitData_InitDataType) EnumDescriptor
deprecated
func (LicenseRequest_ContentIdentification_InitData_InitDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_InitData_InitDataType.Descriptor instead.
func (LicenseRequest_ContentIdentification_InitData_InitDataType) Number ¶
func (x LicenseRequest_ContentIdentification_InitData_InitDataType) Number() protoreflect.EnumNumber
func (LicenseRequest_ContentIdentification_InitData_InitDataType) String ¶
func (x LicenseRequest_ContentIdentification_InitData_InitDataType) String() string
func (*LicenseRequest_ContentIdentification_InitData_InitDataType) UnmarshalJSON
deprecated
func (x *LicenseRequest_ContentIdentification_InitData_InitDataType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LicenseRequest_ContentIdentification_WebmKeyId ¶
type LicenseRequest_ContentIdentification_WebmKeyId struct { Header []byte `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` LicenseType *LicenseType `protobuf:"varint,2,opt,name=license_type,json=licenseType,enum=license.LicenseType" json:"license_type,omitempty"` RequestId []byte `protobuf:"bytes,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // Opaque, client-specified. // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification_WebmKeyId) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification_WebmKeyId) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_WebmKeyId.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification_WebmKeyId) GetHeader ¶
func (x *LicenseRequest_ContentIdentification_WebmKeyId) GetHeader() []byte
func (*LicenseRequest_ContentIdentification_WebmKeyId) GetLicenseType ¶
func (x *LicenseRequest_ContentIdentification_WebmKeyId) GetLicenseType() LicenseType
func (*LicenseRequest_ContentIdentification_WebmKeyId) GetRequestId ¶
func (x *LicenseRequest_ContentIdentification_WebmKeyId) GetRequestId() []byte
func (*LicenseRequest_ContentIdentification_WebmKeyId) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification_WebmKeyId) ProtoMessage()
func (*LicenseRequest_ContentIdentification_WebmKeyId) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification_WebmKeyId) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification_WebmKeyId) Reset ¶
func (x *LicenseRequest_ContentIdentification_WebmKeyId) Reset()
func (*LicenseRequest_ContentIdentification_WebmKeyId) String ¶
func (x *LicenseRequest_ContentIdentification_WebmKeyId) String() string
type LicenseRequest_ContentIdentification_WebmKeyId_ ¶
type LicenseRequest_ContentIdentification_WebmKeyId_ struct {
WebmKeyId *LicenseRequest_ContentIdentification_WebmKeyId `protobuf:"bytes,2,opt,name=webm_key_id,json=webmKeyId,oneof"`
}
type LicenseRequest_ContentIdentification_WidevinePsshData ¶
type LicenseRequest_ContentIdentification_WidevinePsshData struct { PsshData [][]byte `protobuf:"bytes,1,rep,name=pssh_data,json=psshData" json:"pssh_data,omitempty"` LicenseType *LicenseType `protobuf:"varint,2,opt,name=license_type,json=licenseType,enum=license.LicenseType" json:"license_type,omitempty"` RequestId []byte `protobuf:"bytes,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // Opaque, client-specified. // contains filtered or unexported fields }
func (*LicenseRequest_ContentIdentification_WidevinePsshData) Descriptor
deprecated
func (*LicenseRequest_ContentIdentification_WidevinePsshData) Descriptor() ([]byte, []int)
Deprecated: Use LicenseRequest_ContentIdentification_WidevinePsshData.ProtoReflect.Descriptor instead.
func (*LicenseRequest_ContentIdentification_WidevinePsshData) GetLicenseType ¶
func (x *LicenseRequest_ContentIdentification_WidevinePsshData) GetLicenseType() LicenseType
func (*LicenseRequest_ContentIdentification_WidevinePsshData) GetPsshData ¶
func (x *LicenseRequest_ContentIdentification_WidevinePsshData) GetPsshData() [][]byte
func (*LicenseRequest_ContentIdentification_WidevinePsshData) GetRequestId ¶
func (x *LicenseRequest_ContentIdentification_WidevinePsshData) GetRequestId() []byte
func (*LicenseRequest_ContentIdentification_WidevinePsshData) ProtoMessage ¶
func (*LicenseRequest_ContentIdentification_WidevinePsshData) ProtoMessage()
func (*LicenseRequest_ContentIdentification_WidevinePsshData) ProtoReflect ¶
func (x *LicenseRequest_ContentIdentification_WidevinePsshData) ProtoReflect() protoreflect.Message
func (*LicenseRequest_ContentIdentification_WidevinePsshData) Reset ¶
func (x *LicenseRequest_ContentIdentification_WidevinePsshData) Reset()
func (*LicenseRequest_ContentIdentification_WidevinePsshData) String ¶
func (x *LicenseRequest_ContentIdentification_WidevinePsshData) String() string
type LicenseRequest_ContentIdentification_WidevinePsshData_ ¶
type LicenseRequest_ContentIdentification_WidevinePsshData_ struct { // Exactly one of these must be present. WidevinePsshData *LicenseRequest_ContentIdentification_WidevinePsshData `protobuf:"bytes,1,opt,name=widevine_pssh_data,json=widevinePsshData,oneof"` }
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
const ( LicenseType_STREAMING LicenseType = 1 LicenseType_OFFLINE LicenseType = 2 // License type decision is left to provider. LicenseType_AUTOMATIC LicenseType = 3 )
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.License_KeyContainer_KeyType" json:"type,omitempty"` Level *License_KeyContainer_SecurityLevel `protobuf:"varint,5,opt,name=level,enum=license.License_KeyContainer_SecurityLevel,def=1" json:"level,omitempty"` RequiredProtection *License_KeyContainer_OutputProtection `protobuf:"bytes,6,opt,name=required_protection,json=requiredProtection" json:"required_protection,omitempty"` // NOTE: Use of requested_protection is not recommended as it is only // supported on a small number of platforms. RequestedProtection *License_KeyContainer_OutputProtection `protobuf:"bytes,7,opt,name=requested_protection,json=requestedProtection" json:"requested_protection,omitempty"` KeyControl *License_KeyContainer_KeyControl `protobuf:"bytes,8,opt,name=key_control,json=keyControl" json:"key_control,omitempty"` OperatorSessionKeyPermissions *License_KeyContainer_OperatorSessionKeyPermissions `` /* 145-byte string literal not displayed */ // Optional video resolution constraints. If the video resolution of the // content being decrypted/decoded falls within one of the specified ranges, // the optional required_protections may be applied. Otherwise an error will // be reported. // NOTE: Use of this feature is not recommended, as it is only supported on // a small number of platforms. VideoResolutionConstraints []*License_KeyContainer_VideoResolutionConstraint `` /* 135-byte string literal not displayed */ // Optional flag to indicate the key must only be used if the client // supports anti rollback of the user table. Content provider can query the // client capabilities to determine if the client support this feature. AntiRollbackUsageTable *bool `` /* 132-byte string literal not displayed */ // Optional not limited to commonly known track types such as SD, HD. // It can be some provider defined label to identify the track. TrackLabel *string `protobuf:"bytes,12,opt,name=track_label,json=trackLabel" json:"track_label,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) GetAntiRollbackUsageTable ¶
func (x *License_KeyContainer) GetAntiRollbackUsageTable() bool
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) GetKeyControl ¶
func (x *License_KeyContainer) GetKeyControl() *License_KeyContainer_KeyControl
func (*License_KeyContainer) GetLevel ¶
func (x *License_KeyContainer) GetLevel() License_KeyContainer_SecurityLevel
func (*License_KeyContainer) GetOperatorSessionKeyPermissions ¶
func (x *License_KeyContainer) GetOperatorSessionKeyPermissions() *License_KeyContainer_OperatorSessionKeyPermissions
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) GetTrackLabel ¶
func (x *License_KeyContainer) GetTrackLabel() string
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) 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 { // |key_control| is documented in: // Widevine Modular DRM Security Integration Guide for CENC // If present, the key control must be communicated to the secure // environment prior to any usage. This message is automatically generated // by the Widevine License Server SDK. KeyControlBlock []byte `protobuf:"bytes,1,opt,name=key_control_block,json=keyControlBlock" json:"key_control_block,omitempty"` Iv []byte `protobuf:"bytes,2,opt,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 // Exactly one key of this type must appear. License_KeyContainer_CONTENT License_KeyContainer_KeyType = 2 // Content key. License_KeyContainer_KEY_CONTROL License_KeyContainer_KeyType = 3 // Key control block for license renewals. No key. License_KeyContainer_OPERATOR_SESSION License_KeyContainer_KeyType = 4 // wrapped keys for auxiliary crypto operations. License_KeyContainer_ENTITLEMENT License_KeyContainer_KeyType = 5 // Entitlement keys. License_KeyContainer_OEM_CONTENT License_KeyContainer_KeyType = 6 // Partner-specific content key. )
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 { // Permissions/key usage flags for operator service keys // (type = OPERATOR_SESSION). AllowEncrypt *bool `protobuf:"varint,1,opt,name=allow_encrypt,json=allowEncrypt,def=0" json:"allow_encrypt,omitempty"` AllowDecrypt *bool `protobuf:"varint,2,opt,name=allow_decrypt,json=allowDecrypt,def=0" json:"allow_decrypt,omitempty"` AllowSign *bool `protobuf:"varint,3,opt,name=allow_sign,json=allowSign,def=0" json:"allow_sign,omitempty"` AllowSignatureVerify *bool `protobuf:"varint,4,opt,name=allow_signature_verify,json=allowSignatureVerify,def=0" json:"allow_signature_verify,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() bool
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowEncrypt ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowEncrypt() bool
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSign ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSign() bool
func (*License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSignatureVerify ¶
func (x *License_KeyContainer_OperatorSessionKeyPermissions) GetAllowSignatureVerify() bool
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 *License_KeyContainer_OutputProtection_HDCP `protobuf:"varint,1,opt,name=hdcp,enum=license.License_KeyContainer_OutputProtection_HDCP,def=0" json:"hdcp,omitempty"` CgmsFlags *License_KeyContainer_OutputProtection_CGMS `` /* 145-byte string literal not displayed */ HdcpSrmRule *License_KeyContainer_OutputProtection_HdcpSrmRule `` /* 159-byte string literal not displayed */ // Optional requirement to indicate analog output is not allowed. DisableAnalogOutput *bool `protobuf:"varint,4,opt,name=disable_analog_output,json=disableAnalogOutput,def=0" json:"disable_analog_output,omitempty"` // Optional requirement to indicate digital output is not allowed. DisableDigitalOutput *bool `protobuf:"varint,5,opt,name=disable_digital_output,json=disableDigitalOutput,def=0" json:"disable_digital_output,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) GetDisableAnalogOutput ¶
func (x *License_KeyContainer_OutputProtection) GetDisableAnalogOutput() bool
func (*License_KeyContainer_OutputProtection) GetDisableDigitalOutput ¶
func (x *License_KeyContainer_OutputProtection) GetDisableDigitalOutput() bool
func (*License_KeyContainer_OutputProtection) GetHdcp ¶
func (x *License_KeyContainer_OutputProtection) GetHdcp() License_KeyContainer_OutputProtection_HDCP
func (*License_KeyContainer_OutputProtection) GetHdcpSrmRule ¶
func (x *License_KeyContainer_OutputProtection) GetHdcpSrmRule() License_KeyContainer_OutputProtection_HdcpSrmRule
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
Indicate the CGMS setting to be inserted on analog output.
const ( License_KeyContainer_OutputProtection_CGMS_NONE License_KeyContainer_OutputProtection_CGMS = 42 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 )
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_OutputProtection_HDCP ¶
type License_KeyContainer_OutputProtection_HDCP int32
Indicates whether HDCP is required on digital outputs, and which version should be used.
const ( License_KeyContainer_OutputProtection_HDCP_NONE License_KeyContainer_OutputProtection_HDCP = 0 License_KeyContainer_OutputProtection_HDCP_V1 License_KeyContainer_OutputProtection_HDCP = 1 License_KeyContainer_OutputProtection_HDCP_V2 License_KeyContainer_OutputProtection_HDCP = 2 License_KeyContainer_OutputProtection_HDCP_V2_1 License_KeyContainer_OutputProtection_HDCP = 3 License_KeyContainer_OutputProtection_HDCP_V2_2 License_KeyContainer_OutputProtection_HDCP = 4 License_KeyContainer_OutputProtection_HDCP_V2_3 License_KeyContainer_OutputProtection_HDCP = 5 License_KeyContainer_OutputProtection_HDCP_NO_DIGITAL_OUTPUT License_KeyContainer_OutputProtection_HDCP = 255 )
func (License_KeyContainer_OutputProtection_HDCP) Descriptor ¶
func (License_KeyContainer_OutputProtection_HDCP) Descriptor() protoreflect.EnumDescriptor
func (License_KeyContainer_OutputProtection_HDCP) EnumDescriptor
deprecated
func (License_KeyContainer_OutputProtection_HDCP) EnumDescriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_OutputProtection_HDCP.Descriptor instead.
func (License_KeyContainer_OutputProtection_HDCP) Number ¶
func (x License_KeyContainer_OutputProtection_HDCP) Number() protoreflect.EnumNumber
func (License_KeyContainer_OutputProtection_HDCP) String ¶
func (x License_KeyContainer_OutputProtection_HDCP) String() string
func (License_KeyContainer_OutputProtection_HDCP) Type ¶
func (License_KeyContainer_OutputProtection_HDCP) Type() protoreflect.EnumType
func (*License_KeyContainer_OutputProtection_HDCP) UnmarshalJSON
deprecated
func (x *License_KeyContainer_OutputProtection_HDCP) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License_KeyContainer_OutputProtection_HdcpSrmRule ¶
type License_KeyContainer_OutputProtection_HdcpSrmRule int32
const ( License_KeyContainer_OutputProtection_HDCP_SRM_RULE_NONE License_KeyContainer_OutputProtection_HdcpSrmRule = 0 // In 'required_protection', this means most current SRM is required. // Update the SRM on the device. If update cannot happen, // do not allow the key. // In 'requested_protection', this means most current SRM is requested. // Update the SRM on the device. If update cannot happen, // allow use of the key anyway. License_KeyContainer_OutputProtection_CURRENT_SRM License_KeyContainer_OutputProtection_HdcpSrmRule = 1 )
func (License_KeyContainer_OutputProtection_HdcpSrmRule) Descriptor ¶
func (License_KeyContainer_OutputProtection_HdcpSrmRule) Descriptor() protoreflect.EnumDescriptor
func (License_KeyContainer_OutputProtection_HdcpSrmRule) EnumDescriptor
deprecated
func (License_KeyContainer_OutputProtection_HdcpSrmRule) EnumDescriptor() ([]byte, []int)
Deprecated: Use License_KeyContainer_OutputProtection_HdcpSrmRule.Descriptor instead.
func (License_KeyContainer_OutputProtection_HdcpSrmRule) Number ¶
func (x License_KeyContainer_OutputProtection_HdcpSrmRule) Number() protoreflect.EnumNumber
func (License_KeyContainer_OutputProtection_HdcpSrmRule) String ¶
func (x License_KeyContainer_OutputProtection_HdcpSrmRule) String() string
func (*License_KeyContainer_OutputProtection_HdcpSrmRule) UnmarshalJSON
deprecated
func (x *License_KeyContainer_OutputProtection_HdcpSrmRule) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type License_KeyContainer_SecurityLevel ¶
type License_KeyContainer_SecurityLevel int32
The SecurityLevel enumeration allows the server to communicate the level of robustness required by the client, in order to use the key.
const ( // Software-based whitebox crypto is required. License_KeyContainer_SW_SECURE_CRYPTO License_KeyContainer_SecurityLevel = 1 // Software crypto and an obfuscated decoder is required. License_KeyContainer_SW_SECURE_DECODE License_KeyContainer_SecurityLevel = 2 // The key material and crypto operations must be performed within a // hardware backed trusted execution environment. License_KeyContainer_HW_SECURE_CRYPTO License_KeyContainer_SecurityLevel = 3 // The crypto and decoding of content must be performed within a hardware // backed trusted execution environment. License_KeyContainer_HW_SECURE_DECODE License_KeyContainer_SecurityLevel = 4 // The crypto, decoding and all handling of the media (compressed and // uncompressed) must be handled within a hardware backed trusted // execution environment. 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 { // Minimum and maximum video resolutions in the range (height x width). MinResolutionPixels *uint32 `protobuf:"varint,1,opt,name=min_resolution_pixels,json=minResolutionPixels" json:"min_resolution_pixels,omitempty"` MaxResolutionPixels *uint32 `protobuf:"varint,2,opt,name=max_resolution_pixels,json=maxResolutionPixels" json:"max_resolution_pixels,omitempty"` // Optional output protection requirements for this range. If not // specified, the OutputProtection in the KeyContainer applies. RequiredProtection *License_KeyContainer_OutputProtection `protobuf:"bytes,3,opt,name=required_protection,json=requiredProtection" json:"required_protection,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 { // Indicates that playback of the content is allowed. CanPlay *bool `protobuf:"varint,1,opt,name=can_play,json=canPlay,def=0" json:"can_play,omitempty"` // Indicates that the license may be persisted to non-volatile // storage for offline use. CanPersist *bool `protobuf:"varint,2,opt,name=can_persist,json=canPersist,def=0" json:"can_persist,omitempty"` // Indicates that renewal of this license is allowed. CanRenew *bool `protobuf:"varint,3,opt,name=can_renew,json=canRenew,def=0" json:"can_renew,omitempty"` // Indicates the rental window. RentalDurationSeconds *int64 `` /* 126-byte string literal not displayed */ // Indicates the viewing window, once playback has begun. PlaybackDurationSeconds *int64 `` /* 132-byte string literal not displayed */ // Indicates the time window for this specific license. LicenseDurationSeconds *int64 `` /* 129-byte string literal not displayed */ // The window of time, in which playback is allowed to continue while // renewal is attempted, yet unsuccessful due to backend problems with // the license server. RenewalRecoveryDurationSeconds *int64 `` /* 155-byte string literal not displayed */ // All renewal requests for this license shall be directed to the // specified URL. RenewalServerUrl *string `protobuf:"bytes,8,opt,name=renewal_server_url,json=renewalServerUrl" json:"renewal_server_url,omitempty"` // How many seconds after license_start_time, before renewal is first // attempted. RenewalDelaySeconds *int64 `protobuf:"varint,9,opt,name=renewal_delay_seconds,json=renewalDelaySeconds,def=0" json:"renewal_delay_seconds,omitempty"` // Specifies the delay in seconds between subsequent license // renewal requests, in case of failure. RenewalRetryIntervalSeconds *int64 `` /* 147-byte string literal not displayed */ // Indicates that the license shall be sent for renewal when usage is // started. RenewWithUsage *bool `protobuf:"varint,11,opt,name=renew_with_usage,json=renewWithUsage,def=0" json:"renew_with_usage,omitempty"` // Indicates to client that license renewal and release requests ought to // include ClientIdentification (client_id). AlwaysIncludeClientId *bool `` /* 129-byte string literal not displayed */ // Duration of grace period before playback_duration_seconds (short window) // goes into effect. Optional. PlayStartGracePeriodSeconds *int64 `` /* 149-byte string literal not displayed */ // Enables "soft enforcement" of playback_duration_seconds, letting the user // finish playback even if short window expires. Optional. SoftEnforcePlaybackDuration *bool `` /* 147-byte string literal not displayed */ // Enables "soft enforcement" of rental_duration_seconds. Initial playback // must always start before rental duration expires. In order to allow // subsequent playbacks to start after the rental duration expires, // soft_enforce_playback_duration must be true. Otherwise, subsequent // playbacks will not be allowed once rental duration expires. Optional. SoftEnforceRentalDuration *bool `` /* 141-byte string literal not displayed */ // 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) GetAlwaysIncludeClientId ¶
func (x *License_Policy) GetAlwaysIncludeClientId() bool
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() int64
func (*License_Policy) GetPlayStartGracePeriodSeconds ¶
func (x *License_Policy) GetPlayStartGracePeriodSeconds() int64
func (*License_Policy) GetPlaybackDurationSeconds ¶
func (x *License_Policy) GetPlaybackDurationSeconds() int64
func (*License_Policy) GetRenewWithUsage ¶
func (x *License_Policy) GetRenewWithUsage() bool
func (*License_Policy) GetRenewalDelaySeconds ¶
func (x *License_Policy) GetRenewalDelaySeconds() int64
func (*License_Policy) GetRenewalRecoveryDurationSeconds ¶
func (x *License_Policy) GetRenewalRecoveryDurationSeconds() int64
func (*License_Policy) GetRenewalRetryIntervalSeconds ¶
func (x *License_Policy) GetRenewalRetryIntervalSeconds() int64
func (*License_Policy) GetRenewalServerUrl ¶
func (x *License_Policy) GetRenewalServerUrl() string
func (*License_Policy) GetRentalDurationSeconds ¶
func (x *License_Policy) GetRentalDurationSeconds() int64
func (*License_Policy) GetSoftEnforcePlaybackDuration ¶
func (x *License_Policy) GetSoftEnforcePlaybackDuration() bool
func (*License_Policy) GetSoftEnforceRentalDuration ¶
func (x *License_Policy) GetSoftEnforceRentalDuration() bool
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 MetricData ¶
type MetricData struct { // 'stage' that is currently processing the SignedMessage. Required. StageName *string `protobuf:"bytes,1,opt,name=stage_name,json=stageName" json:"stage_name,omitempty"` // metric and associated value. MetricData []*MetricData_TypeValue `protobuf:"bytes,2,rep,name=metric_data,json=metricData" json:"metric_data,omitempty"` // contains filtered or unexported fields }
func (*MetricData) Descriptor
deprecated
func (*MetricData) Descriptor() ([]byte, []int)
Deprecated: Use MetricData.ProtoReflect.Descriptor instead.
func (*MetricData) GetMetricData ¶
func (x *MetricData) GetMetricData() []*MetricData_TypeValue
func (*MetricData) GetStageName ¶
func (x *MetricData) GetStageName() string
func (*MetricData) ProtoMessage ¶
func (*MetricData) ProtoMessage()
func (*MetricData) ProtoReflect ¶
func (x *MetricData) ProtoReflect() protoreflect.Message
func (*MetricData) Reset ¶
func (x *MetricData) Reset()
func (*MetricData) String ¶
func (x *MetricData) String() string
type MetricData_MetricType ¶
type MetricData_MetricType int32
const ( // The time spent in the 'stage', specified in microseconds. MetricData_LATENCY MetricData_MetricType = 1 // The UNIX epoch timestamp at which the 'stage' was first accessed in // microseconds. MetricData_TIMESTAMP MetricData_MetricType = 2 )
func (MetricData_MetricType) Descriptor ¶
func (MetricData_MetricType) Descriptor() protoreflect.EnumDescriptor
func (MetricData_MetricType) Enum ¶
func (x MetricData_MetricType) Enum() *MetricData_MetricType
func (MetricData_MetricType) EnumDescriptor
deprecated
func (MetricData_MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricData_MetricType.Descriptor instead.
func (MetricData_MetricType) Number ¶
func (x MetricData_MetricType) Number() protoreflect.EnumNumber
func (MetricData_MetricType) String ¶
func (x MetricData_MetricType) String() string
func (MetricData_MetricType) Type ¶
func (MetricData_MetricType) Type() protoreflect.EnumType
func (*MetricData_MetricType) UnmarshalJSON
deprecated
func (x *MetricData_MetricType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type MetricData_TypeValue ¶
type MetricData_TypeValue struct { Type *MetricData_MetricType `protobuf:"varint,1,opt,name=type,enum=license.MetricData_MetricType" json:"type,omitempty"` // The value associated with 'type'. For example if type == LATENCY, the // value would be the time in microseconds spent in this 'stage'. Value *int64 `protobuf:"varint,2,opt,name=value,def=0" json:"value,omitempty"` // contains filtered or unexported fields }
func (*MetricData_TypeValue) Descriptor
deprecated
func (*MetricData_TypeValue) Descriptor() ([]byte, []int)
Deprecated: Use MetricData_TypeValue.ProtoReflect.Descriptor instead.
func (*MetricData_TypeValue) GetType ¶
func (x *MetricData_TypeValue) GetType() MetricData_MetricType
func (*MetricData_TypeValue) GetValue ¶
func (x *MetricData_TypeValue) GetValue() int64
func (*MetricData_TypeValue) ProtoMessage ¶
func (*MetricData_TypeValue) ProtoMessage()
func (*MetricData_TypeValue) ProtoReflect ¶
func (x *MetricData_TypeValue) ProtoReflect() protoreflect.Message
func (*MetricData_TypeValue) Reset ¶
func (x *MetricData_TypeValue) Reset()
func (*MetricData_TypeValue) String ¶
func (x *MetricData_TypeValue) String() string
type PlatformVerificationStatus ¶
type PlatformVerificationStatus int32
const ( // The platform is not verified. PlatformVerificationStatus_PLATFORM_UNVERIFIED PlatformVerificationStatus = 0 // Tampering detected on the platform. PlatformVerificationStatus_PLATFORM_TAMPERED PlatformVerificationStatus = 1 // The platform has been verified by means of software. PlatformVerificationStatus_PLATFORM_SOFTWARE_VERIFIED PlatformVerificationStatus = 2 // The platform has been verified by means of hardware (e.g. secure boot). PlatformVerificationStatus_PLATFORM_HARDWARE_VERIFIED PlatformVerificationStatus = 3 // Platform verification was not performed. PlatformVerificationStatus_PLATFORM_NO_VERIFICATION PlatformVerificationStatus = 4 // Platform and secure storage capability have been verified by means of // software. PlatformVerificationStatus_PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED PlatformVerificationStatus = 5 )
func (PlatformVerificationStatus) Descriptor ¶
func (PlatformVerificationStatus) Descriptor() protoreflect.EnumDescriptor
func (PlatformVerificationStatus) Enum ¶
func (x PlatformVerificationStatus) Enum() *PlatformVerificationStatus
func (PlatformVerificationStatus) EnumDescriptor
deprecated
func (PlatformVerificationStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlatformVerificationStatus.Descriptor instead.
func (PlatformVerificationStatus) Number ¶
func (x PlatformVerificationStatus) Number() protoreflect.EnumNumber
func (PlatformVerificationStatus) String ¶
func (x PlatformVerificationStatus) String() string
func (PlatformVerificationStatus) Type ¶
func (PlatformVerificationStatus) Type() protoreflect.EnumType
func (*PlatformVerificationStatus) UnmarshalJSON
deprecated
func (x *PlatformVerificationStatus) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ProtocolVersion ¶
type ProtocolVersion int32
const ( ProtocolVersion_VERSION_2_0 ProtocolVersion = 20 ProtocolVersion_VERSION_2_1 ProtocolVersion = 21 ProtocolVersion_VERSION_2_2 ProtocolVersion = 22 )
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 SignedDrmCertificate ¶
type SignedDrmCertificate struct { // Serialized certificate. Required. DrmCertificate []byte `protobuf:"bytes,1,opt,name=drm_certificate,json=drmCertificate" json:"drm_certificate,omitempty"` // Signature of certificate. Signed with root or intermediate // certificate specified below. Required. Signature []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"` // SignedDrmCertificate used to sign this certificate. Signer *SignedDrmCertificate `protobuf:"bytes,3,opt,name=signer" json:"signer,omitempty"` // Optional field that indicates the hash algorithm used in signature scheme. HashAlgorithm *HashAlgorithmProto `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
DrmCertificate signed by a higher (CA) DRM certificate.
func (*SignedDrmCertificate) Descriptor
deprecated
func (*SignedDrmCertificate) Descriptor() ([]byte, []int)
Deprecated: Use SignedDrmCertificate.ProtoReflect.Descriptor instead.
func (*SignedDrmCertificate) GetDrmCertificate ¶
func (x *SignedDrmCertificate) GetDrmCertificate() []byte
func (*SignedDrmCertificate) GetHashAlgorithm ¶
func (x *SignedDrmCertificate) GetHashAlgorithm() HashAlgorithmProto
func (*SignedDrmCertificate) GetSignature ¶
func (x *SignedDrmCertificate) GetSignature() []byte
func (*SignedDrmCertificate) GetSigner ¶
func (x *SignedDrmCertificate) GetSigner() *SignedDrmCertificate
func (*SignedDrmCertificate) ProtoMessage ¶
func (*SignedDrmCertificate) ProtoMessage()
func (*SignedDrmCertificate) ProtoReflect ¶
func (x *SignedDrmCertificate) ProtoReflect() protoreflect.Message
func (*SignedDrmCertificate) Reset ¶
func (x *SignedDrmCertificate) Reset()
func (*SignedDrmCertificate) String ¶
func (x *SignedDrmCertificate) String() string
type SignedMessage ¶
type SignedMessage struct { Type *SignedMessage_MessageType `protobuf:"varint,1,opt,name=type,enum=license.SignedMessage_MessageType" json:"type,omitempty"` Msg []byte `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"` // Required field that contains the signature of the bytes of msg. // For license requests, the signing algorithm is determined by the // certificate contained in the request. // For license responses, the signing algorithm is HMAC with signing key based // on |session_key|. Signature []byte `protobuf:"bytes,3,opt,name=signature" json:"signature,omitempty"` // If populated, the contents of this field will be signaled by the // |session_key_type| type. If the |session_key_type| is WRAPPED_AES_KEY the // key is the bytes of an encrypted AES key. If the |session_key_type| is // EPHERMERAL_ECC_PUBLIC_KEY the field contains the bytes of an RFC5208 ASN1 // serialized ECC public key. SessionKey []byte `protobuf:"bytes,4,opt,name=session_key,json=sessionKey" json:"session_key,omitempty"` // Remote attestation data which will be present in the initial license // request for ChromeOS client devices operating in verified mode. Remote // attestation challenge data is |msg| field above. Optional. RemoteAttestation []byte `protobuf:"bytes,5,opt,name=remote_attestation,json=remoteAttestation" json:"remote_attestation,omitempty"` MetricData []*MetricData `protobuf:"bytes,6,rep,name=metric_data,json=metricData" json:"metric_data,omitempty"` // Version information from the SDK and license service. This information is // provided in the license response. ServiceVersionInfo *VersionInfo `protobuf:"bytes,7,opt,name=service_version_info,json=serviceVersionInfo" json:"service_version_info,omitempty"` // Optional field that contains the algorithm type used to generate the // session_key and signature in a LICENSE message. SessionKeyType *SignedMessage_SessionKeyType `` /* 147-byte string literal not displayed */ // The core message is the simple serialization of fields used by OEMCrypto. // This field was introduced in OEMCrypto API v16. OemcryptoCoreMessage []byte `protobuf:"bytes,9,opt,name=oemcrypto_core_message,json=oemcryptoCoreMessage" json:"oemcrypto_core_message,omitempty"` // contains filtered or unexported fields }
func (*SignedMessage) Descriptor
deprecated
func (*SignedMessage) Descriptor() ([]byte, []int)
Deprecated: Use SignedMessage.ProtoReflect.Descriptor instead.
func (*SignedMessage) GetMetricData ¶
func (x *SignedMessage) GetMetricData() []*MetricData
func (*SignedMessage) GetMsg ¶
func (x *SignedMessage) GetMsg() []byte
func (*SignedMessage) GetOemcryptoCoreMessage ¶
func (x *SignedMessage) GetOemcryptoCoreMessage() []byte
func (*SignedMessage) GetRemoteAttestation ¶
func (x *SignedMessage) GetRemoteAttestation() []byte
func (*SignedMessage) GetServiceVersionInfo ¶
func (x *SignedMessage) GetServiceVersionInfo() *VersionInfo
func (*SignedMessage) GetSessionKey ¶
func (x *SignedMessage) GetSessionKey() []byte
func (*SignedMessage) GetSessionKeyType ¶
func (x *SignedMessage) GetSessionKeyType() SignedMessage_SessionKeyType
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 SignedMessage_SUB_LICENSE SignedMessage_MessageType = 6 SignedMessage_CAS_LICENSE_REQUEST SignedMessage_MessageType = 7 SignedMessage_CAS_LICENSE SignedMessage_MessageType = 8 SignedMessage_EXTERNAL_LICENSE_REQUEST SignedMessage_MessageType = 9 SignedMessage_EXTERNAL_LICENSE SignedMessage_MessageType = 10 )
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 SignedMessage_SessionKeyType ¶
type SignedMessage_SessionKeyType int32
const ( SignedMessage_UNDEFINED SignedMessage_SessionKeyType = 0 SignedMessage_WRAPPED_AES_KEY SignedMessage_SessionKeyType = 1 SignedMessage_EPHERMERAL_ECC_PUBLIC_KEY SignedMessage_SessionKeyType = 2 )
func (SignedMessage_SessionKeyType) Descriptor ¶
func (SignedMessage_SessionKeyType) Descriptor() protoreflect.EnumDescriptor
func (SignedMessage_SessionKeyType) Enum ¶
func (x SignedMessage_SessionKeyType) Enum() *SignedMessage_SessionKeyType
func (SignedMessage_SessionKeyType) EnumDescriptor
deprecated
func (SignedMessage_SessionKeyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedMessage_SessionKeyType.Descriptor instead.
func (SignedMessage_SessionKeyType) Number ¶
func (x SignedMessage_SessionKeyType) Number() protoreflect.EnumNumber
func (SignedMessage_SessionKeyType) String ¶
func (x SignedMessage_SessionKeyType) String() string
func (SignedMessage_SessionKeyType) Type ¶
func (SignedMessage_SessionKeyType) Type() protoreflect.EnumType
func (*SignedMessage_SessionKeyType) UnmarshalJSON
deprecated
func (x *SignedMessage_SessionKeyType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type VersionInfo ¶
type VersionInfo struct { // License SDK version reported by the Widevine License SDK. This field // is populated automatically by the SDK. LicenseSdkVersion *string `protobuf:"bytes,1,opt,name=license_sdk_version,json=licenseSdkVersion" json:"license_sdk_version,omitempty"` // Version of the service hosting the license SDK. This field is optional. // It may be provided by the hosting service. LicenseServiceVersion *string `protobuf:"bytes,2,opt,name=license_service_version,json=licenseServiceVersion" json:"license_service_version,omitempty"` // contains filtered or unexported fields }
func (*VersionInfo) Descriptor
deprecated
func (*VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.
func (*VersionInfo) GetLicenseSdkVersion ¶
func (x *VersionInfo) GetLicenseSdkVersion() string
func (*VersionInfo) GetLicenseServiceVersion ¶
func (x *VersionInfo) GetLicenseServiceVersion() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) ProtoReflect ¶
func (x *VersionInfo) ProtoReflect() protoreflect.Message
func (*VersionInfo) Reset ¶
func (x *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (x *VersionInfo) String() string
type WidevinePsshData ¶
type WidevinePsshData struct { // Entitlement or content key IDs. Can onnly present in SINGLE or ENTITLEMENT // PSSHs. May be repeated to facilitate delivery of multiple keys in a // single license. Cannot be used in conjunction with content_id or // group_ids, which are the preferred mechanism. KeyIds [][]byte `protobuf:"bytes,2,rep,name=key_ids,json=keyIds" json:"key_ids,omitempty"` // Content identifier which may map to multiple entitlement or content key // IDs to facilitate the delivery of multiple keys in a single license. // Cannot be present in conjunction with key_ids, but if used must be in all // PSSHs. ContentId []byte `protobuf:"bytes,4,opt,name=content_id,json=contentId" json:"content_id,omitempty"` // Crypto period index, for media using key rotation. Always corresponds to // The content key period. This means that if using entitlement licensing // the ENTITLED_KEY PSSHs will have sequential crypto_period_index's, whereas // the ENTITELEMENT PSSHs will have gaps in the sequence. Required if doing // key rotation. CryptoPeriodIndex *uint32 `protobuf:"varint,7,opt,name=crypto_period_index,json=cryptoPeriodIndex" json:"crypto_period_index,omitempty"` // Protection scheme identifying the encryption algorithm. The protection // scheme is represented as a uint32 value. The uint32 contains 4 bytes each // representing a single ascii character in one of the 4CC protection scheme // values. To be deprecated in favor of signaling from content. // 'cenc' (AES-CTR) protection_scheme = 0x63656E63, // 'cbc1' (AES-CBC) protection_scheme = 0x63626331, // 'cens' (AES-CTR pattern encryption) protection_scheme = 0x63656E73, // 'cbcs' (AES-CBC pattern encryption) protection_scheme = 0x63626373. 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"` // Type of PSSH. Required if not SINGLE. Type *WidevinePsshData_Type `protobuf:"varint,11,opt,name=type,enum=license.WidevinePsshData_Type,def=0" json:"type,omitempty"` // Key sequence for Widevine-managed keys. Optional. KeySequence *uint32 `protobuf:"varint,12,opt,name=key_sequence,json=keySequence" json:"key_sequence,omitempty"` // Group identifiers for all groups to which the content belongs. This can // be used to deliver licenses to unlock multiple titles / channels. // Optional, and may only be present in ENTITLEMENT and ENTITLED_KEY PSSHs, and // not in conjunction with key_ids. GroupIds [][]byte `protobuf:"bytes,13,rep,name=group_ids,json=groupIds" json:"group_ids,omitempty"` // Copy/copies of the content key used to decrypt the media stream in which // the PSSH box is embedded, each wrapped with a different entitlement key. // May also contain sub-licenses to support devices with OEMCrypto 13 or // older. May be repeated if using group entitlement keys. Present only in // PSSHs of type ENTITLED_KEY. EntitledKeys []*WidevinePsshData_EntitledKey `protobuf:"bytes,14,rep,name=entitled_keys,json=entitledKeys" json:"entitled_keys,omitempty"` // Video feature identifier, which is used in conjunction with |content_id| // to determine the set of keys to be returned in the license. Cannot be // present in conjunction with |key_ids|. // Current values are "HDR". VideoFeature *string `protobuf:"bytes,15,opt,name=video_feature,json=videoFeature" json:"video_feature,omitempty"` // Deprecated: Marked as deprecated in license.proto. Algorithm *WidevinePsshData_Algorithm `protobuf:"varint,1,opt,name=algorithm,enum=license.WidevinePsshData_Algorithm" json:"algorithm,omitempty"` // Content provider name. // // Deprecated: Marked as deprecated in license.proto. Provider *string `protobuf:"bytes,3,opt,name=provider" json:"provider,omitempty"` // Track type. Acceptable values are SD, HD and AUDIO. Used to // differentiate content keys used by an asset. // // Deprecated: Marked as deprecated in license.proto. TrackType *string `protobuf:"bytes,5,opt,name=track_type,json=trackType" json:"track_type,omitempty"` // The name of a registered policy to be used for this asset. // // Deprecated: Marked as deprecated in license.proto. Policy *string `protobuf:"bytes,6,opt,name=policy" json:"policy,omitempty"` // Optional protected context for group content. The grouped_license is a // serialized SignedMessage. // // Deprecated: Marked as deprecated in license.proto. GroupedLicense []byte `protobuf:"bytes,8,opt,name=grouped_license,json=groupedLicense" json:"grouped_license,omitempty"` // contains filtered or unexported fields }
func (*WidevinePsshData) Descriptor
deprecated
func (*WidevinePsshData) Descriptor() ([]byte, []int)
Deprecated: Use WidevinePsshData.ProtoReflect.Descriptor instead.
func (*WidevinePsshData) GetAlgorithm
deprecated
func (x *WidevinePsshData) GetAlgorithm() WidevinePsshData_Algorithm
Deprecated: Marked as deprecated in license.proto.
func (*WidevinePsshData) GetContentId ¶
func (x *WidevinePsshData) GetContentId() []byte
func (*WidevinePsshData) GetCryptoPeriodIndex ¶
func (x *WidevinePsshData) GetCryptoPeriodIndex() uint32
func (*WidevinePsshData) GetCryptoPeriodSeconds ¶
func (x *WidevinePsshData) GetCryptoPeriodSeconds() uint32
func (*WidevinePsshData) GetEntitledKeys ¶
func (x *WidevinePsshData) GetEntitledKeys() []*WidevinePsshData_EntitledKey
func (*WidevinePsshData) GetGroupIds ¶
func (x *WidevinePsshData) GetGroupIds() [][]byte
func (*WidevinePsshData) GetGroupedLicense
deprecated
func (x *WidevinePsshData) GetGroupedLicense() []byte
Deprecated: Marked as deprecated in license.proto.
func (*WidevinePsshData) GetKeyIds ¶
func (x *WidevinePsshData) GetKeyIds() [][]byte
func (*WidevinePsshData) GetKeySequence ¶
func (x *WidevinePsshData) GetKeySequence() uint32
func (*WidevinePsshData) GetPolicy
deprecated
func (x *WidevinePsshData) GetPolicy() string
Deprecated: Marked as deprecated in license.proto.
func (*WidevinePsshData) GetProtectionScheme ¶
func (x *WidevinePsshData) GetProtectionScheme() uint32
func (*WidevinePsshData) GetProvider
deprecated
func (x *WidevinePsshData) GetProvider() string
Deprecated: Marked as deprecated in license.proto.
func (*WidevinePsshData) GetTrackType
deprecated
func (x *WidevinePsshData) GetTrackType() string
Deprecated: Marked as deprecated in license.proto.
func (*WidevinePsshData) GetType ¶
func (x *WidevinePsshData) GetType() WidevinePsshData_Type
func (*WidevinePsshData) GetVideoFeature ¶
func (x *WidevinePsshData) GetVideoFeature() string
func (*WidevinePsshData) ProtoMessage ¶
func (*WidevinePsshData) ProtoMessage()
func (*WidevinePsshData) ProtoReflect ¶
func (x *WidevinePsshData) ProtoReflect() protoreflect.Message
func (*WidevinePsshData) Reset ¶
func (x *WidevinePsshData) Reset()
func (*WidevinePsshData) String ¶
func (x *WidevinePsshData) String() string
type WidevinePsshData_Algorithm ¶
type WidevinePsshData_Algorithm int32
////////////////////////// Deprecated Fields ////////////////////////////
const ( WidevinePsshData_UNENCRYPTED WidevinePsshData_Algorithm = 0 WidevinePsshData_AESCTR WidevinePsshData_Algorithm = 1 )
func (WidevinePsshData_Algorithm) Descriptor ¶
func (WidevinePsshData_Algorithm) Descriptor() protoreflect.EnumDescriptor
func (WidevinePsshData_Algorithm) Enum ¶
func (x WidevinePsshData_Algorithm) Enum() *WidevinePsshData_Algorithm
func (WidevinePsshData_Algorithm) EnumDescriptor
deprecated
func (WidevinePsshData_Algorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use WidevinePsshData_Algorithm.Descriptor instead.
func (WidevinePsshData_Algorithm) Number ¶
func (x WidevinePsshData_Algorithm) Number() protoreflect.EnumNumber
func (WidevinePsshData_Algorithm) String ¶
func (x WidevinePsshData_Algorithm) String() string
func (WidevinePsshData_Algorithm) Type ¶
func (WidevinePsshData_Algorithm) Type() protoreflect.EnumType
func (*WidevinePsshData_Algorithm) UnmarshalJSON
deprecated
func (x *WidevinePsshData_Algorithm) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type WidevinePsshData_EntitledKey ¶
type WidevinePsshData_EntitledKey struct { // ID of entitlement key used for wrapping |key|. EntitlementKeyId []byte `protobuf:"bytes,1,opt,name=entitlement_key_id,json=entitlementKeyId" json:"entitlement_key_id,omitempty"` // ID of the entitled key. KeyId []byte `protobuf:"bytes,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // Wrapped key. Required. Key []byte `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` // IV used for wrapping |key|. Required. Iv []byte `protobuf:"bytes,4,opt,name=iv" json:"iv,omitempty"` // Size of entitlement key used for wrapping |key|. EntitlementKeySizeBytes *uint32 `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WidevinePsshData_EntitledKey) Descriptor
deprecated
func (*WidevinePsshData_EntitledKey) Descriptor() ([]byte, []int)
Deprecated: Use WidevinePsshData_EntitledKey.ProtoReflect.Descriptor instead.
func (*WidevinePsshData_EntitledKey) GetEntitlementKeyId ¶
func (x *WidevinePsshData_EntitledKey) GetEntitlementKeyId() []byte
func (*WidevinePsshData_EntitledKey) GetEntitlementKeySizeBytes ¶
func (x *WidevinePsshData_EntitledKey) GetEntitlementKeySizeBytes() uint32
func (*WidevinePsshData_EntitledKey) GetIv ¶
func (x *WidevinePsshData_EntitledKey) GetIv() []byte
func (*WidevinePsshData_EntitledKey) GetKey ¶
func (x *WidevinePsshData_EntitledKey) GetKey() []byte
func (*WidevinePsshData_EntitledKey) GetKeyId ¶
func (x *WidevinePsshData_EntitledKey) GetKeyId() []byte
func (*WidevinePsshData_EntitledKey) ProtoMessage ¶
func (*WidevinePsshData_EntitledKey) ProtoMessage()
func (*WidevinePsshData_EntitledKey) ProtoReflect ¶
func (x *WidevinePsshData_EntitledKey) ProtoReflect() protoreflect.Message
func (*WidevinePsshData_EntitledKey) Reset ¶
func (x *WidevinePsshData_EntitledKey) Reset()
func (*WidevinePsshData_EntitledKey) String ¶
func (x *WidevinePsshData_EntitledKey) String() string
type WidevinePsshData_Type ¶
type WidevinePsshData_Type int32
const ( WidevinePsshData_SINGLE WidevinePsshData_Type = 0 // Single PSSH to be used to retrieve content keys. WidevinePsshData_ENTITLEMENT WidevinePsshData_Type = 1 // Primary PSSH used to retrieve entitlement keys. WidevinePsshData_ENTITLED_KEY WidevinePsshData_Type = 2 // Secondary PSSH containing entitled key(s). )
func (WidevinePsshData_Type) Descriptor ¶
func (WidevinePsshData_Type) Descriptor() protoreflect.EnumDescriptor
func (WidevinePsshData_Type) Enum ¶
func (x WidevinePsshData_Type) Enum() *WidevinePsshData_Type
func (WidevinePsshData_Type) EnumDescriptor
deprecated
func (WidevinePsshData_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use WidevinePsshData_Type.Descriptor instead.
func (WidevinePsshData_Type) Number ¶
func (x WidevinePsshData_Type) Number() protoreflect.EnumNumber
func (WidevinePsshData_Type) String ¶
func (x WidevinePsshData_Type) String() string
func (WidevinePsshData_Type) Type ¶
func (WidevinePsshData_Type) Type() protoreflect.EnumType
func (*WidevinePsshData_Type) UnmarshalJSON
deprecated
func (x *WidevinePsshData_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.