Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alfg/widevine
/ functions
Functions
50 in github.com/alfg/widevine
⨍
Functions
50
◇
Types & classes
19
↓ 4 callers
Function
NewClient
NewClient creates an HTTPClient instance.
client.go:64
↓ 4 callers
Function
NewCrypto
NewCrypto creates a Crypto instance with key and iv.
crypto.go:21
↓ 3 callers
Method
generateSignature
(payload []byte)
crypto.go:29
↓ 3 callers
Method
post
(url string, i interface{}, body interface{})
client.go:37
↓ 2 callers
Method
GetContentKey
GetContentKey creates a content key giving a contentID.
license.go:136
↓ 2 callers
Method
GetLicense
GetLicense creates a license request used with a proxy server.
license.go:149
↓ 2 callers
Function
New
New returns a Widevine instance with options.
license.go:125
↓ 2 callers
Method
encrypt
(text string)
crypto.go:41
↓ 2 callers
Function
pad
Pads src to a multiple of aes.Blocksize (16) using PKCS #7 standard block padding. See http://tools.ietf.org/html/rfc5652#section-6.3.
crypto.go:68
↓ 1 callers
Method
String
()
proto/WidevineCencHeader.pb.go:95
↓ 1 callers
Method
buildCKMessage
(policy map[string]interface{})
license.go:164
↓ 1 callers
Method
buildLicenseMessage
(contentID string, body string)
license.go:199
↓ 1 callers
Method
get
(url string, i interface{})
client.go:18
↓ 1 callers
Method
getContentKeyRequest
(body map[string]interface{})
license.go:221
↓ 1 callers
Method
getLicenseRequest
(body map[string]interface{})
license.go:242
↓ 1 callers
Method
setPolicy
(contentID string, policy Policy)
license.go:179
↓ 1 callers
Function
setup
()
client_test.go:29
↓ 1 callers
Function
teardown
()
client_test.go:25
↓ 1 callers
Function
unpad
Removes PKCS #7 standard block padding from src. See http://tools.ietf.org/html/rfc5652#section-6.3. This function is the inverse of pad. If the paddi
crypto.go:78
Method
Descriptor
()
proto/WidevineCencHeader.pb.go:97
Method
Enum
()
proto/WidevineCencHeader.pb.go:46
Method
EnumDescriptor
()
proto/WidevineCencHeader.pb.go:62
Method
GetAlgorithm
()
proto/WidevineCencHeader.pb.go:99
Method
GetContentId
()
proto/WidevineCencHeader.pb.go:120
Method
GetCryptoPeriodIndex
()
proto/WidevineCencHeader.pb.go:141
Method
GetCryptoPeriodSeconds
()
proto/WidevineCencHeader.pb.go:162
Method
GetGroupedLicense
()
proto/WidevineCencHeader.pb.go:148
Method
GetKeyId
()
proto/WidevineCencHeader.pb.go:106
Method
GetPolicy
()
proto/WidevineCencHeader.pb.go:134
Method
GetProtectionScheme
()
proto/WidevineCencHeader.pb.go:155
Method
GetProvider
()
proto/WidevineCencHeader.pb.go:113
Method
GetTrackTypeDeprecated
()
proto/WidevineCencHeader.pb.go:127
Method
ProtoMessage
()
proto/WidevineCencHeader.pb.go:96
Method
Reset
()
proto/WidevineCencHeader.pb.go:94
Method
String
()
proto/WidevineCencHeader.pb.go:51
Function
TestEncrypt
(t *testing.T)
crypto_test.go:44
Function
TestGenerateSignature
(t *testing.T)
crypto_test.go:55
Function
TestGet
(t *testing.T)
client_test.go:37
Function
TestGetContentKey
(t *testing.T)
license_test.go:7
Function
TestGetLicense
(t *testing.T)
license_test.go:31
Function
TestMain
(m *testing.M)
client_test.go:17
Function
TestPad
(t *testing.T)
crypto_test.go:23
Function
TestPost
(t *testing.T)
client_test.go:52
Function
TestUnpad
(t *testing.T)
crypto_test.go:34
Method
UnmarshalJSON
(data []byte)
proto/WidevineCencHeader.pb.go:54
Method
buildPSSH
(contentID string)
license.go:155
Function
init
()
proto/WidevineCencHeader.pb.go:169
Function
main
()
examples/license/license_example.go:23
Function
main
()
examples/proxy/proxy_example.go:30
Function
proxy
(w http.ResponseWriter, r *http.Request)
examples/proxy/proxy_example.go:37