IOS-1824 Own extension for private helpers IOS-1824
authorDirk Zimmermann <dz@pep.security>
Fri, 21 Feb 2020 16:03:45 +0100
branchIOS-1824
changeset 53572f4c928015b4
parent 5356 a169e6f74d89
child 5358 f23ac976de8b
IOS-1824 Own extension for private helpers
MessageModel/MessageModel/Interface/Certificates/ClientCertificateUtil.swift
     1.1 --- a/MessageModel/MessageModel/Interface/Certificates/ClientCertificateUtil.swift	Fri Feb 21 16:03:45 2020 +0100
     1.2 +++ b/MessageModel/MessageModel/Interface/Certificates/ClientCertificateUtil.swift	Fri Feb 21 16:03:45 2020 +0100
     1.3 @@ -92,9 +92,11 @@
     1.4              }
     1.5          }
     1.6      }
     1.7 +}
     1.8  
     1.9 -    // MARK: - Helpers
    1.10 +// MARK: - Helpers
    1.11  
    1.12 +extension ClientCertificateUtil {
    1.13      /// Generates a user-readable label from a common name and email addresses
    1.14      /// (e.g., from a certificate).
    1.15      /// - Parameters:
    1.16 @@ -206,6 +208,8 @@
    1.17      }
    1.18  }
    1.19  
    1.20 +// MARK: - CdClientCertificate/core data
    1.21 +
    1.22  extension ClientCertificateUtil {
    1.23      private func search(context: NSManagedObjectContext,
    1.24                          label: String,