Struct dlc_decrypter::DlcDecoder
[−]
[src]
pub struct DlcDecoder { /* fields omitted */ }Struct to decode the .dlc file or data into an readable format.
Methods
impl DlcDecoder[src]
pub fn new() -> DlcDecoder[src]
Create a new DlcDecoder with a standard login to jdownloader.
pub fn set_credentials<S, D>(&mut self, name: S, key: D, iv: D) where
S: Into<String>,
D: Into<Vec<u8>>, [src]
S: Into<String>,
D: Into<Vec<u8>>,
Set a different JDownloader credential to login, than the default ones.
pub fn from_file<P: Into<String>>(&self, path: P) -> Result<DlcPackage>[src]
Decrypt a specified .dlc file
pub fn from_data(&self, data: &[u8]) -> Result<DlcPackage>[src]
Decrypt the contet of a .dlc file.