@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
24 lines (23 loc) • 709 B
TypeScript
declare class Decryption {
private path;
private fs;
private crypto;
private childProcess;
initDecryptFunction(): void;
retrievePrivateKey(dirname: string): any;
decryptSecureData(privateKey: string, input: string | Array<string>, options?: {
base64Output: boolean;
base64Input: boolean;
}): any;
decryptSauceConfig(config: Record<string, any>): void;
private _decryptDataWithRepoName;
private _unifyRepoUrl;
private _unifySSHUrl;
private _unifyHTTPUrl;
private _hashHostAccountAndRepo;
private _parseKeyByEncoding;
private _base64ToUtf8;
private _utf8ToBase64;
}
declare const _default: Decryption;
export default _default;