mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 12:07:54 -06:00
21 lines
403 B
Dart
21 lines
403 B
Dart
import 'dart:typed_data';
|
|
|
|
import 'package:hive_flutter/adapters.dart';
|
|
import 'package:paperless_mobile/core/config/hive/hive_config.dart';
|
|
|
|
part 'client_certificate.g.dart';
|
|
|
|
@HiveType(typeId: HiveTypeIds.clientCertificate)
|
|
class ClientCertificate {
|
|
@HiveField(0)
|
|
Uint8List bytes;
|
|
@HiveField(1)
|
|
String? passphrase;
|
|
|
|
|
|
ClientCertificate({
|
|
required this.bytes,
|
|
this.passphrase,
|
|
});
|
|
}
|