mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 08:07:59 -06:00
17 lines
389 B
Dart
17 lines
389 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});
|
|
}
|