fix: Resolve mTLS issue, update changelogs, bump version number

This commit is contained in:
Anton Stubenbord
2024-01-07 22:55:57 +01:00
parent 18d8d34bd9
commit c5db5dfdce
11 changed files with 89 additions and 140 deletions

View File

@@ -8,13 +8,27 @@ part 'client_certificate.g.dart';
@HiveType(typeId: HiveTypeIds.clientCertificate)
class ClientCertificate {
@HiveField(0)
Uint8List bytes;
final Uint8List bytes;
@HiveField(2, defaultValue: "cert.pfx")
final String filename;
@HiveField(1)
String? passphrase;
final String? passphrase;
ClientCertificate({
required this.bytes,
required this.filename,
this.passphrase,
});
ClientCertificate copyWith({
Uint8List? bytes,
String? filename,
String? passphrase,
}) {
return ClientCertificate(
bytes: bytes ?? this.bytes,
filename: filename ?? this.filename,
passphrase: passphrase ?? this.passphrase,
);
}
}