Decrypter
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
config: HlsConfig |
|
public |
currentIV: * |
|
public |
|
|
public |
fastAesKey: * |
|
public |
key: * |
|
public |
|
|
public |
observer: HlsEventEmitter |
|
public |
|
|
public |
|
|
public |
|
|
public |
subtle: * |
Method Summary
Public Methods | ||
public |
decrypt(data: undefined, key: ArrayBuffer, iv: ArrayBuffer, callback: undefined) |
|
public |
destroy() |
|
public |
flush(): * |
|
public |
getValidChunk(data: Uint8Array): Uint8Array |
|
public |
isSync(): * |
|
public |
|
|
public |
onWebCryptoError(err: undefined, data: undefined, key: undefined, iv: undefined): * |
|
public |
reset() |
|
public |
softwareDecrypt(data: Uint8Array, key: ArrayBuffer, iv: ArrayBuffer): * |
|
public |
webCryptoDecrypt(data: Uint8Array, key: ArrayBuffer, iv: ArrayBuffer): Promise |
Public Constructors
public constructor() source
Public Members
public config: HlsConfig source
public currentIV: * source
public currentResult: * source
public fastAesKey: * source
public key: * source
public observer: HlsEventEmitter source
public remainderData: * source
public softwareDecrypter: * source
public subtle: * source
Public Methods
public decrypt(data: undefined, key: ArrayBuffer, iv: ArrayBuffer, callback: undefined) source
Params:
Name | Type | Attribute | Description |
data | undefined | ||
key | ArrayBuffer | ||
iv | ArrayBuffer | ||
callback | undefined |
public destroy() source
public getValidChunk(data: Uint8Array): Uint8Array source
Params:
Name | Type | Attribute | Description |
data | Uint8Array |
public onWebCryptoError(err: undefined, data: undefined, key: undefined, iv: undefined): * source
Return:
* |
public reset() source
public softwareDecrypt(data: Uint8Array, key: ArrayBuffer, iv: ArrayBuffer): * source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
key | ArrayBuffer | ||
iv | ArrayBuffer |
Return:
* |
public webCryptoDecrypt(data: Uint8Array, key: ArrayBuffer, iv: ArrayBuffer): Promise source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
key | ArrayBuffer | ||
iv | ArrayBuffer |