mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 14:07:59 -06:00
19 lines
483 B
Dart
19 lines
483 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}) {
|
|
return ClientCertificateFormModel(
|
|
bytes: bytes ?? this.bytes,
|
|
passphrase: passphrase ?? this.passphrase,
|
|
);
|
|
}
|
|
}
|