mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 10:07:51 -06:00
26 lines
531 B
Dart
26 lines
531 B
Dart
import 'dart:typed_data';
|
|
|
|
class ClientCertificateFormModel {
|
|
static const bytesKey = 'bytes';
|
|
static const passphraseKey = 'passphrase';
|
|
|
|
final Uint8List bytes;
|
|
final String? passphrase;
|
|
|
|
ClientCertificateFormModel({
|
|
required this.bytes,
|
|
this.passphrase,
|
|
});
|
|
|
|
ClientCertificateFormModel copyWith({
|
|
Uint8List? bytes,
|
|
String? passphrase,
|
|
String? filePath,
|
|
}) {
|
|
return ClientCertificateFormModel(
|
|
bytes: bytes ?? this.bytes,
|
|
passphrase: passphrase ?? this.passphrase,
|
|
);
|
|
}
|
|
}
|