mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 10:12:28 -06:00
fix: Resolve mTLS issue, update changelogs, bump version number
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user