QzWeb constructor
QzWeb({})
Implementation
QzWeb(
{bool backendMode = false,
String algorithm = 'SHA512',
String? certificateUrl,
String? signatureUrl,
String? certificateString,
String? signatureString}) {
if (backendMode) {
assert(certificateUrl != null && signatureUrl != null);
_enableBackendSecurity(certificateUrl!, algorithm, signatureUrl!);
} else {
assert(certificateString != null && signatureString != null);
_enableFrontendSecurity(certificateString!, algorithm, signatureString!);
}
}