MCPcopy Create free account

hub / github.com/alfg/widevine / functions

Functions50 in github.com/alfg/widevine

↓ 4 callersFunctionNewClient
NewClient creates an HTTPClient instance.
client.go:64
↓ 4 callersFunctionNewCrypto
NewCrypto creates a Crypto instance with key and iv.
crypto.go:21
↓ 3 callersMethodgenerateSignature
(payload []byte)
crypto.go:29
↓ 3 callersMethodpost
(url string, i interface{}, body interface{})
client.go:37
↓ 2 callersMethodGetContentKey
GetContentKey creates a content key giving a contentID.
license.go:136
↓ 2 callersMethodGetLicense
GetLicense creates a license request used with a proxy server.
license.go:149
↓ 2 callersFunctionNew
New returns a Widevine instance with options.
license.go:125
↓ 2 callersMethodencrypt
(text string)
crypto.go:41
↓ 2 callersFunctionpad
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 callersMethodString
()
proto/WidevineCencHeader.pb.go:95
↓ 1 callersMethodbuildCKMessage
(policy map[string]interface{})
license.go:164
↓ 1 callersMethodbuildLicenseMessage
(contentID string, body string)
license.go:199
↓ 1 callersMethodget
(url string, i interface{})
client.go:18
↓ 1 callersMethodgetContentKeyRequest
(body map[string]interface{})
license.go:221
↓ 1 callersMethodgetLicenseRequest
(body map[string]interface{})
license.go:242
↓ 1 callersMethodsetPolicy
(contentID string, policy Policy)
license.go:179
↓ 1 callersFunctionsetup
()
client_test.go:29
↓ 1 callersFunctionteardown
()
client_test.go:25
↓ 1 callersFunctionunpad
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
MethodDescriptor
()
proto/WidevineCencHeader.pb.go:97
MethodEnum
()
proto/WidevineCencHeader.pb.go:46
MethodEnumDescriptor
()
proto/WidevineCencHeader.pb.go:62
MethodGetAlgorithm
()
proto/WidevineCencHeader.pb.go:99
MethodGetContentId
()
proto/WidevineCencHeader.pb.go:120
MethodGetCryptoPeriodIndex
()
proto/WidevineCencHeader.pb.go:141
MethodGetCryptoPeriodSeconds
()
proto/WidevineCencHeader.pb.go:162
MethodGetGroupedLicense
()
proto/WidevineCencHeader.pb.go:148
MethodGetKeyId
()
proto/WidevineCencHeader.pb.go:106
MethodGetPolicy
()
proto/WidevineCencHeader.pb.go:134
MethodGetProtectionScheme
()
proto/WidevineCencHeader.pb.go:155
MethodGetProvider
()
proto/WidevineCencHeader.pb.go:113
MethodGetTrackTypeDeprecated
()
proto/WidevineCencHeader.pb.go:127
MethodProtoMessage
()
proto/WidevineCencHeader.pb.go:96
MethodReset
()
proto/WidevineCencHeader.pb.go:94
MethodString
()
proto/WidevineCencHeader.pb.go:51
FunctionTestEncrypt
(t *testing.T)
crypto_test.go:44
FunctionTestGenerateSignature
(t *testing.T)
crypto_test.go:55
FunctionTestGet
(t *testing.T)
client_test.go:37
FunctionTestGetContentKey
(t *testing.T)
license_test.go:7
FunctionTestGetLicense
(t *testing.T)
license_test.go:31
FunctionTestMain
(m *testing.M)
client_test.go:17
FunctionTestPad
(t *testing.T)
crypto_test.go:23
FunctionTestPost
(t *testing.T)
client_test.go:52
FunctionTestUnpad
(t *testing.T)
crypto_test.go:34
MethodUnmarshalJSON
(data []byte)
proto/WidevineCencHeader.pb.go:54
MethodbuildPSSH
(contentID string)
license.go:155
Functioninit
()
proto/WidevineCencHeader.pb.go:169
Functionmain
()
examples/license/license_example.go:23
Functionmain
()
examples/proxy/proxy_example.go:30
Functionproxy
(w http.ResponseWriter, r *http.Request)
examples/proxy/proxy_example.go:37