Home Reference Source
import Decrypter from 'hls.js/src/crypt/decrypter.js'
public class | source

Decrypter

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

config: *

public
public
public
public

key: *

public
public
public
public

subtle: *

Method Summary

Public Methods
public

decrypt(data: *, key: *, iv: *, callback: *)

public
public

isSync(): *

public

onWebCryptoError(err: *, data: *, key: *, iv: *, callback: *)

Public Constructors

public constructor() source

Public Members

public config: * source

public decryptor: * source

public disableWebCrypto: * source

public fastAesKey: * source

public key: * source

public logEnabled: boolean source

public observer: * source

public removePKCS7Padding: * source

public subtle: * source

Public Methods

public decrypt(data: *, key: *, iv: *, callback: *) source

Params:

NameTypeAttributeDescription
data *
key *
iv *
callback *

public destroy() source

public isSync(): * source

Return:

*

public onWebCryptoError(err: *, data: *, key: *, iv: *, callback: *) source

Params:

NameTypeAttributeDescription
err *
data *
key *
iv *
callback *