IOSAD-172 Util class for passphrase support IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Fri, 26 Jun 2020 16:54:34 +0200
branchIOSAD-172
changeset 148300aad104a729
parent 1482 815bcc9d42b1
child 1484 16013bcaf0e6
IOSAD-172 Util class for passphrase support
pEpObjCAdapter.xcodeproj/project.pbxproj
pEpObjCAdapter/PEPPassphraseCacheUtil.h
pEpObjCAdapter/PEPPassphraseCacheUtil.m
     1.1 --- a/pEpObjCAdapter.xcodeproj/project.pbxproj	Fri Jun 26 16:54:34 2020 +0200
     1.2 +++ b/pEpObjCAdapter.xcodeproj/project.pbxproj	Fri Jun 26 16:54:34 2020 +0200
     1.3 @@ -25,6 +25,8 @@
     1.4  		4336853F203D5CE60069A451 /* PEPTestUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 15D3D77C2010DDC500A0DA20 /* PEPTestUtils.m */; };
     1.5  		433DFBAC24A5E04000AB373B /* PEPPassphraseCacheEntry.h in Headers */ = {isa = PBXBuildFile; fileRef = 433DFBAA24A5E04000AB373B /* PEPPassphraseCacheEntry.h */; };
     1.6  		433DFBAD24A5E04000AB373B /* PEPPassphraseCacheEntry.m in Sources */ = {isa = PBXBuildFile; fileRef = 433DFBAB24A5E04000AB373B /* PEPPassphraseCacheEntry.m */; };
     1.7 +		433DFBB124A6152500AB373B /* PEPPassphraseCacheUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 433DFBAF24A6152500AB373B /* PEPPassphraseCacheUtil.h */; };
     1.8 +		433DFBB224A6152500AB373B /* PEPPassphraseCacheUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 433DFBB024A6152500AB373B /* PEPPassphraseCacheUtil.m */; };
     1.9  		434226811D4F60000083ED79 /* PepTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 434226801D4F60000083ED79 /* PepTests.m */; };
    1.10  		43589EF724A4A3B70079BEA2 /* PEPPassphraseCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 43589EF524A4A3B70079BEA2 /* PEPPassphraseCache.h */; };
    1.11  		43589EF924A4A3B70079BEA2 /* PEPPassphraseCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 43589EF624A4A3B70079BEA2 /* PEPPassphraseCache.m */; };
    1.12 @@ -173,6 +175,8 @@
    1.13  		433DFBAA24A5E04000AB373B /* PEPPassphraseCacheEntry.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPPassphraseCacheEntry.h; sourceTree = "<group>"; };
    1.14  		433DFBAB24A5E04000AB373B /* PEPPassphraseCacheEntry.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPPassphraseCacheEntry.m; sourceTree = "<group>"; };
    1.15  		433DFBAE24A5ED0D00AB373B /* PEPPassphraseCacheInternal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPPassphraseCacheInternal.h; sourceTree = "<group>"; };
    1.16 +		433DFBAF24A6152500AB373B /* PEPPassphraseCacheUtil.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPPassphraseCacheUtil.h; sourceTree = "<group>"; };
    1.17 +		433DFBB024A6152500AB373B /* PEPPassphraseCacheUtil.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPPassphraseCacheUtil.m; sourceTree = "<group>"; };
    1.18  		433E28901FA741DE00E359B3 /* PEPIdentity.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPIdentity.m; sourceTree = "<group>"; };
    1.19  		434226801D4F60000083ED79 /* PepTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PepTests.m; sourceTree = "<group>"; };
    1.20  		434ED6D4207E27B8000A7590 /* PEPAutoPointer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPAutoPointer.h; sourceTree = "<group>"; };
    1.21 @@ -369,6 +373,8 @@
    1.22  				43589EF624A4A3B70079BEA2 /* PEPPassphraseCache.m */,
    1.23  				433DFBAA24A5E04000AB373B /* PEPPassphraseCacheEntry.h */,
    1.24  				433DFBAB24A5E04000AB373B /* PEPPassphraseCacheEntry.m */,
    1.25 +				433DFBAF24A6152500AB373B /* PEPPassphraseCacheUtil.h */,
    1.26 +				433DFBB024A6152500AB373B /* PEPPassphraseCacheUtil.m */,
    1.27  			);
    1.28  			path = pEpObjCAdapter;
    1.29  			sourceTree = "<group>";
    1.30 @@ -446,6 +452,7 @@
    1.31  				43589EF724A4A3B70079BEA2 /* PEPPassphraseCache.h in Headers */,
    1.32  				435C0CA222292E7C0025C6B5 /* PEPTypes.h in Headers */,
    1.33  				433DFBAC24A5E04000AB373B /* PEPPassphraseCacheEntry.h in Headers */,
    1.34 +				433DFBB124A6152500AB373B /* PEPPassphraseCacheUtil.h in Headers */,
    1.35  				435F5164222045FB006EB11F /* PEPIdentity.h in Headers */,
    1.36  				43AD0E3022E99ECE00D46F56 /* PEPInternalConstants.h in Headers */,
    1.37  				430CD9B62292ADAC00AAC37F /* PEPSendMessageDelegate.h in Headers */,
    1.38 @@ -649,6 +656,7 @@
    1.39  				435F5179222046C2006EB11F /* NSNumber+PEPRating.m in Sources */,
    1.40  				435F516B222046C2006EB11F /* PEPMessageUtil.m in Sources */,
    1.41  				435F5171222046C2006EB11F /* PEPCopyableThread.m in Sources */,
    1.42 +				433DFBB224A6152500AB373B /* PEPPassphraseCacheUtil.m in Sources */,
    1.43  				43589EF924A4A3B70079BEA2 /* PEPPassphraseCache.m in Sources */,
    1.44  				435F5175222046C2006EB11F /* PEPMessage.m in Sources */,
    1.45  				435F5174222046C2006EB11F /* PEPIdentity.m in Sources */,
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pEpObjCAdapter/PEPPassphraseCacheUtil.h	Fri Jun 26 16:54:34 2020 +0200
     2.3 @@ -0,0 +1,17 @@
     2.4 +//
     2.5 +//  PEPPassphraseCacheUtil.h
     2.6 +//  PEPObjCAdapterFramework
     2.7 +//
     2.8 +//  Created by Dirk Zimmermann on 26.06.20.
     2.9 +//  Copyright © 2020 p≡p. All rights reserved.
    2.10 +//
    2.11 +
    2.12 +#import <Foundation/Foundation.h>
    2.13 +
    2.14 +NS_ASSUME_NONNULL_BEGIN
    2.15 +
    2.16 +@interface PEPPassphraseCacheUtil : NSObject
    2.17 +
    2.18 +@end
    2.19 +
    2.20 +NS_ASSUME_NONNULL_END
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pEpObjCAdapter/PEPPassphraseCacheUtil.m	Fri Jun 26 16:54:34 2020 +0200
     3.3 @@ -0,0 +1,13 @@
     3.4 +//
     3.5 +//  PEPPassphraseCacheUtil.m
     3.6 +//  PEPObjCAdapterFramework
     3.7 +//
     3.8 +//  Created by Dirk Zimmermann on 26.06.20.
     3.9 +//  Copyright © 2020 p≡p. All rights reserved.
    3.10 +//
    3.11 +
    3.12 +#import "PEPPassphraseCacheUtil.h"
    3.13 +
    3.14 +@implementation PEPPassphraseCacheUtil
    3.15 +
    3.16 +@end