2020-02-08 13:31:49 +01:00
|
|
|
//
|
|
|
|
|
// PGPKeyImporter.swift
|
|
|
|
|
// pass
|
|
|
|
|
//
|
|
|
|
|
// Created by Danny Moesch on 07.02.20.
|
|
|
|
|
// Copyright © 2020 Bob Sun. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import passKit
|
|
|
|
|
|
2020-02-15 18:12:58 +01:00
|
|
|
protocol PGPKeyImporter: KeyImporter {
|
2020-02-08 13:31:49 +01:00
|
|
|
func doAfterImport()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
extension PGPKeyImporter {
|
2020-02-15 18:12:58 +01:00
|
|
|
static var isCurrentKeySource: Bool {
|
2020-06-28 21:25:40 +02:00
|
|
|
Defaults.pgpKeySource == Self.keySource
|
2020-02-15 18:12:58 +01:00
|
|
|
}
|
|
|
|
|
|
2020-06-28 21:25:40 +02:00
|
|
|
func doAfterImport() {}
|
2020-02-08 13:31:49 +01:00
|
|
|
}
|