ClientCertResponse constructor
ClientCertResponse({
- required String certificatePath,
- String? certificatePassword = "",
- @Deprecated('Use keyStoreType instead') String? androidKeyStoreType = "PKCS12",
- String? keyStoreType = "PKCS12",
- ClientCertResponseAction? action = ClientCertResponseAction.CANCEL,
Implementation
ClientCertResponse(
{required this.certificatePath,
this.certificatePassword = "",
@Deprecated('Use keyStoreType instead')
this.androidKeyStoreType = "PKCS12",
this.keyStoreType = "PKCS12",
this.action = ClientCertResponseAction.CANCEL}) {
if (this.action == ClientCertResponseAction.PROCEED)
assert(certificatePath.isNotEmpty);
this.keyStoreType = this.keyStoreType ?? this.androidKeyStoreType;
if (Util.isAndroid) assert(this.keyStoreType != null);
}