diff --git a/.gitignore b/.gitignore
index 07d00a7..2a0bcb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,6 @@
*.swp
*.xcuserstate
RSAUtil.xcodeproj/xcuserdata
+/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/Pods-RSAUtil.xcscheme
+/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/RSA.xcscheme
+/Example/RSA.xcworkspace/xcuserdata/chorsfield.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
diff --git a/Example/Podfile b/Example/Podfile
new file mode 100644
index 0000000..e550739
--- /dev/null
+++ b/Example/Podfile
@@ -0,0 +1,5 @@
+use_frameworks!
+
+target 'RSAUtil' do
+ pod 'RSA', :path => '../'
+end
diff --git a/Example/Podfile.lock b/Example/Podfile.lock
new file mode 100644
index 0000000..402e245
--- /dev/null
+++ b/Example/Podfile.lock
@@ -0,0 +1,16 @@
+PODS:
+ - RSA (0.1.0)
+
+DEPENDENCIES:
+ - RSA (from `../`)
+
+EXTERNAL SOURCES:
+ RSA:
+ :path: ../
+
+SPEC CHECKSUMS:
+ RSA: 21631d3bc3299adef10b26c59851d4c88f97a051
+
+PODFILE CHECKSUM: 1cc8d1bfb024aae1884dd7621e6307c1d415cbe7
+
+COCOAPODS: 1.0.1
diff --git a/Example/Pods/Local Podspecs/RSA.podspec.json b/Example/Pods/Local Podspecs/RSA.podspec.json
new file mode 100644
index 0000000..eeb1f50
--- /dev/null
+++ b/Example/Pods/Local Podspecs/RSA.podspec.json
@@ -0,0 +1,22 @@
+{
+ "name": "RSA",
+ "version": "0.1.0",
+ "summary": "A short description of RSA.",
+ "description": "TODO: Add long description of the pod here.",
+ "homepage": "https://github.com/ideawu/Objective-C-RSA",
+ "license": {
+ "type": "MIT",
+ "file": "LICENSE"
+ },
+ "authors": {
+ "ideawu": ""
+ },
+ "source": {
+ "git": "https://github.com/ideawu/Objective-C-RSA",
+ "tag": "0.1.0"
+ },
+ "platforms": {
+ "ios": "8.0"
+ },
+ "source_files": "RSA/Classes/**/*"
+}
diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock
new file mode 100644
index 0000000..402e245
--- /dev/null
+++ b/Example/Pods/Manifest.lock
@@ -0,0 +1,16 @@
+PODS:
+ - RSA (0.1.0)
+
+DEPENDENCIES:
+ - RSA (from `../`)
+
+EXTERNAL SOURCES:
+ RSA:
+ :path: ../
+
+SPEC CHECKSUMS:
+ RSA: 21631d3bc3299adef10b26c59851d4c88f97a051
+
+PODFILE CHECKSUM: 1cc8d1bfb024aae1884dd7621e6307c1d415cbe7
+
+COCOAPODS: 1.0.1
diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..e4d9109
--- /dev/null
+++ b/Example/Pods/Pods.xcodeproj/project.pbxproj
@@ -0,0 +1,1200 @@
+
+
+
+
+ archiveVersion
+ 1
+ classes
+
+ objectVersion
+ 46
+ objects
+
+ 0ACDCBCB0B6796575F46FFA2F5410C6B
+
+ buildSettings
+
+ ALWAYS_SEARCH_USER_PATHS
+ NO
+ CLANG_ANALYZER_NONNULL
+ YES
+ CLANG_CXX_LANGUAGE_STANDARD
+ gnu++0x
+ CLANG_CXX_LIBRARY
+ libc++
+ CLANG_ENABLE_MODULES
+ YES
+ CLANG_ENABLE_OBJC_ARC
+ YES
+ CLANG_WARN_BOOL_CONVERSION
+ YES
+ CLANG_WARN_CONSTANT_CONVERSION
+ YES
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE
+ YES
+ CLANG_WARN_EMPTY_BODY
+ YES
+ CLANG_WARN_ENUM_CONVERSION
+ YES
+ CLANG_WARN_INT_CONVERSION
+ YES
+ CLANG_WARN_OBJC_ROOT_CLASS
+ YES
+ CLANG_WARN_UNREACHABLE_CODE
+ YES
+ CLANG_WARN__DUPLICATE_METHOD_MATCH
+ YES
+ COPY_PHASE_STRIP
+ YES
+ ENABLE_NS_ASSERTIONS
+ NO
+ GCC_C_LANGUAGE_STANDARD
+ gnu99
+ GCC_PREPROCESSOR_DEFINITIONS
+
+ POD_CONFIGURATION_RELEASE=1
+ $(inherited)
+
+ GCC_WARN_64_TO_32_BIT_CONVERSION
+ YES
+ GCC_WARN_ABOUT_RETURN_TYPE
+ YES
+ GCC_WARN_UNDECLARED_SELECTOR
+ YES
+ GCC_WARN_UNINITIALIZED_AUTOS
+ YES
+ GCC_WARN_UNUSED_FUNCTION
+ YES
+ GCC_WARN_UNUSED_VARIABLE
+ YES
+ IPHONEOS_DEPLOYMENT_TARGET
+ 8.3
+ STRIP_INSTALLED_PRODUCT
+ NO
+ SYMROOT
+ ${SRCROOT}/../build
+ VALIDATE_PRODUCT
+ YES
+
+ isa
+ XCBuildConfiguration
+ name
+ Release
+
+ 100A1278631765124826D7BF5E16A2A3
+
+ baseConfigurationReference
+ DCBB6B1769B918524ECA0A6AECF50387
+ buildSettings
+
+ CODE_SIGN_IDENTITY[sdk=iphoneos*]
+ iPhone Developer
+ CURRENT_PROJECT_VERSION
+ 1
+ DEBUG_INFORMATION_FORMAT
+ dwarf-with-dsym
+ DEFINES_MODULE
+ YES
+ DYLIB_COMPATIBILITY_VERSION
+ 1
+ DYLIB_CURRENT_VERSION
+ 1
+ DYLIB_INSTALL_NAME_BASE
+ @rpath
+ ENABLE_STRICT_OBJC_MSGSEND
+ YES
+ GCC_NO_COMMON_BLOCKS
+ YES
+ GCC_PREFIX_HEADER
+ Target Support Files/RSA/RSA-prefix.pch
+ INFOPLIST_FILE
+ Target Support Files/RSA/Info.plist
+ INSTALL_PATH
+ $(LOCAL_LIBRARY_DIR)/Frameworks
+ IPHONEOS_DEPLOYMENT_TARGET
+ 8.0
+ LD_RUNPATH_SEARCH_PATHS
+
+ $(inherited)
+ @executable_path/Frameworks
+ @loader_path/Frameworks
+
+ MODULEMAP_FILE
+ Target Support Files/RSA/RSA.modulemap
+ MTL_ENABLE_DEBUG_INFO
+ NO
+ PRODUCT_NAME
+ RSA
+ SDKROOT
+ iphoneos
+ SKIP_INSTALL
+ YES
+ TARGETED_DEVICE_FAMILY
+ 1,2
+ VERSIONING_SYSTEM
+ apple-generic
+ VERSION_INFO_PREFIX
+
+
+ isa
+ XCBuildConfiguration
+ name
+ Release
+
+ 13D4231953FC2318C474673192414EF3
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.h
+ path
+ Pods-RSAUtil-umbrella.h
+ sourceTree
+ <group>
+
+ 1619E105769A425F54F7F03BC93631E8
+
+ buildConfigurations
+
+ A1FA548700F278F13F9A00DF6FAF206E
+ 100A1278631765124826D7BF5E16A2A3
+
+ defaultConfigurationIsVisible
+ 0
+ defaultConfigurationName
+ Release
+ isa
+ XCConfigurationList
+
+ 1C09238F5806CCD1A6A7F86A4C361CBA
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.plist.xml
+ path
+ Info.plist
+ sourceTree
+ <group>
+
+ 1D70BB43543CBB8F8D9253B84289BCB0
+
+ fileRef
+ CEC22C73C1608DFA5D5D78BDCB218219
+ isa
+ PBXBuildFile
+
+ 1EEE99754C4A76B03A3B74E73B7F8B83
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.objc
+ path
+ RSA.m
+ sourceTree
+ <group>
+
+ 20C028EED144E693E473473B171C6394
+
+ fileRef
+ 5979A62E0651AC28CDCE754209121D64
+ isa
+ PBXBuildFile
+
+ 2402C4243A5A147138E195E80BF7B856
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.objc
+ path
+ RSA-dummy.m
+ sourceTree
+ <group>
+
+ 2B08E14C1489A7355765F7DC7DB01B52
+
+ explicitFileType
+ wrapper.framework
+ includeInIndex
+ 0
+ isa
+ PBXFileReference
+ name
+ RSA.framework
+ path
+ RSA.framework
+ sourceTree
+ BUILT_PRODUCTS_DIR
+
+ 2CCD12F762E1CB26C0E83900D63AC602
+
+ buildActionMask
+ 2147483647
+ files
+
+ 20C028EED144E693E473473B171C6394
+
+ isa
+ PBXSourcesBuildPhase
+ runOnlyForDeploymentPostprocessing
+ 0
+
+ 2D8E8EC45A3A1A1D94AE762CB5028504
+
+ buildConfigurations
+
+ D3E3D092A3FF7311A98E44BBA36FFD12
+ 0ACDCBCB0B6796575F46FFA2F5410C6B
+
+ defaultConfigurationIsVisible
+ 0
+ defaultConfigurationName
+ Release
+ isa
+ XCConfigurationList
+
+ 3DCAB2B7CDE207B3958B6CB957FCC758
+
+ children
+
+ CEC22C73C1608DFA5D5D78BDCB218219
+
+ isa
+ PBXGroup
+ name
+ iOS
+ sourceTree
+ <group>
+
+ 3E6482EA8147E7094036E7563B069822
+
+ containerPortal
+ D41D8CD98F00B204E9800998ECF8427E
+ isa
+ PBXContainerItemProxy
+ proxyType
+ 1
+ remoteGlobalIDString
+ AB7F83E307CD01B093D2C1768845FE49
+ remoteInfo
+ RSA
+
+ 41114C2D8BBAC69D61007817FD7E6624
+
+ fileRef
+ 13D4231953FC2318C474673192414EF3
+ isa
+ PBXBuildFile
+ settings
+
+ ATTRIBUTES
+
+ Public
+
+
+
+ 428F13E9B4FB628BDD51EFB36A45B6E9
+
+ fileRef
+ 2402C4243A5A147138E195E80BF7B856
+ isa
+ PBXBuildFile
+
+ 44B0BB351EEBB5CF5A7CC8C79EB5AA78
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.plist.xml
+ path
+ Pods-RSAUtil-acknowledgements.plist
+ sourceTree
+ <group>
+
+ 47B99F82D1986BA90B12C86769E1457A
+
+ fileRef
+ E674DAD7A2272C2784A16AD4B48329D4
+ isa
+ PBXBuildFile
+ settings
+
+ ATTRIBUTES
+
+ Public
+
+
+
+ 4C5C8D665DCF15A5F0E64B2C1E11C11A
+
+ explicitFileType
+ wrapper.framework
+ includeInIndex
+ 0
+ isa
+ PBXFileReference
+ name
+ Pods_RSAUtil.framework
+ path
+ Pods-RSAUtil.framework
+ sourceTree
+ BUILT_PRODUCTS_DIR
+
+ 524108B1C6FCACBA688E328FD949A2F0
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.script.sh
+ path
+ Pods-RSAUtil-frameworks.sh
+ sourceTree
+ <group>
+
+ 56C2BA1068924CFF1852498373B179EC
+
+ buildActionMask
+ 2147483647
+ files
+
+ 582E144F4979065ED07BF31B4FD309A5
+
+ isa
+ PBXFrameworksBuildPhase
+ runOnlyForDeploymentPostprocessing
+ 0
+
+ 57DEB93CF6D4EFE503E11DD445165E48
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ path
+ Pods-RSAUtil.modulemap
+ sourceTree
+ <group>
+
+ 582E144F4979065ED07BF31B4FD309A5
+
+ fileRef
+ CEC22C73C1608DFA5D5D78BDCB218219
+ isa
+ PBXBuildFile
+
+ 58770E28236809F58C2974CEF8F337DE
+
+ buildActionMask
+ 2147483647
+ files
+
+ 41114C2D8BBAC69D61007817FD7E6624
+
+ isa
+ PBXHeadersBuildPhase
+ runOnlyForDeploymentPostprocessing
+ 0
+
+ 5979A62E0651AC28CDCE754209121D64
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.objc
+ path
+ Pods-RSAUtil-dummy.m
+ sourceTree
+ <group>
+
+ 5EEDF7A5CB2B28EECC7332BCD5EBEA42
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.script.sh
+ path
+ Pods-RSAUtil-resources.sh
+ sourceTree
+ <group>
+
+ 6177638075C968DD9A8B41A1F0FCEEEA
+
+ children
+
+ B4727B6289A150BB4B7C54B66AA21C74
+ 7F9A1E7DAF80E5F6328C1852336F13F8
+
+ isa
+ PBXGroup
+ name
+ RSA
+ path
+ ../..
+ sourceTree
+ <group>
+
+ 6A653B69D1D8071411E479AF0AAC2B15
+
+ buildActionMask
+ 2147483647
+ files
+
+ 428F13E9B4FB628BDD51EFB36A45B6E9
+ CA8F4843B65857EE62F45AD97628C4F5
+
+ isa
+ PBXSourcesBuildPhase
+ runOnlyForDeploymentPostprocessing
+ 0
+
+ 6AA47843DA1B0FE0486C0ACA881C9593
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.xcconfig
+ path
+ Pods-RSAUtil.release.xcconfig
+ sourceTree
+ <group>
+
+ 6CA7A6A7B909B36532B9354E2FBC69BE
+
+ children
+
+ 6177638075C968DD9A8B41A1F0FCEEEA
+
+ isa
+ PBXGroup
+ name
+ Development Pods
+ sourceTree
+ <group>
+
+ 6F042657DA1D02358E401B6FFE1941DF
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.h
+ path
+ RSA.h
+ sourceTree
+ <group>
+
+ 7985070F2C5ECD2947CAF175C682228D
+
+ children
+
+ 4C5C8D665DCF15A5F0E64B2C1E11C11A
+ 2B08E14C1489A7355765F7DC7DB01B52
+
+ isa
+ PBXGroup
+ name
+ Products
+ sourceTree
+ <group>
+
+ 7B7A8125A5F9EF719352FF968CC00AF5
+
+ buildActionMask
+ 2147483647
+ files
+
+ 1D70BB43543CBB8F8D9253B84289BCB0
+
+ isa
+ PBXFrameworksBuildPhase
+ runOnlyForDeploymentPostprocessing
+ 0
+
+ 7DB346D0F39D3F0E887471402A8071AB
+
+ children
+
+ 93A4A3777CF96A4AAC1D13BA6DCCEA73
+ 6CA7A6A7B909B36532B9354E2FBC69BE
+ BC3CA7F9E30CC8F7E2DD044DD34432FC
+ 7985070F2C5ECD2947CAF175C682228D
+ C1B80F536FB05F45559191C01A397A7F
+
+ isa
+ PBXGroup
+ sourceTree
+ <group>
+
+ 7F9A1E7DAF80E5F6328C1852336F13F8
+
+ children
+
+ 1C09238F5806CCD1A6A7F86A4C361CBA
+ 8734C2BB5E8D4C5D5316F3E1A7234608
+ DCBB6B1769B918524ECA0A6AECF50387
+ 2402C4243A5A147138E195E80BF7B856
+ BBC48FD9C7DCFDA523F2E46A854D7816
+ E674DAD7A2272C2784A16AD4B48329D4
+
+ isa
+ PBXGroup
+ name
+ Support Files
+ path
+ Example/Pods/Target Support Files/RSA
+ sourceTree
+ <group>
+
+ 8734C2BB5E8D4C5D5316F3E1A7234608
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ path
+ RSA.modulemap
+ sourceTree
+ <group>
+
+ 8A9E2A3D4286EAB7247BB6EE038D5F8F
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text
+ path
+ Pods-RSAUtil-acknowledgements.markdown
+ sourceTree
+ <group>
+
+ 9193D0672BE9A6799D900758B7B1A84E
+
+ buildConfigurations
+
+ A2B28F86A9444E27D02C647FC7C42DEE
+ 96D0FECCB020A0DA4FBA287383CD1BE3
+
+ defaultConfigurationIsVisible
+ 0
+ defaultConfigurationName
+ Release
+ isa
+ XCConfigurationList
+
+ 91E973DA383294CFCEA2421209BA8E12
+
+ fileRef
+ 6F042657DA1D02358E401B6FFE1941DF
+ isa
+ PBXBuildFile
+ settings
+
+ ATTRIBUTES
+
+ Public
+
+
+
+ 93A4A3777CF96A4AAC1D13BA6DCCEA73
+
+ explicitFileType
+ text.script.ruby
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text
+ name
+ Podfile
+ path
+ ../Podfile
+ sourceTree
+ SOURCE_ROOT
+ xcLanguageSpecificationIdentifier
+ xcode.lang.ruby
+
+ 96D0FECCB020A0DA4FBA287383CD1BE3
+
+ baseConfigurationReference
+ 6AA47843DA1B0FE0486C0ACA881C9593
+ buildSettings
+
+ CODE_SIGN_IDENTITY[sdk=iphoneos*]
+ iPhone Developer
+ CURRENT_PROJECT_VERSION
+ 1
+ DEBUG_INFORMATION_FORMAT
+ dwarf-with-dsym
+ DEFINES_MODULE
+ YES
+ DYLIB_COMPATIBILITY_VERSION
+ 1
+ DYLIB_CURRENT_VERSION
+ 1
+ DYLIB_INSTALL_NAME_BASE
+ @rpath
+ ENABLE_STRICT_OBJC_MSGSEND
+ YES
+ GCC_NO_COMMON_BLOCKS
+ YES
+ INFOPLIST_FILE
+ Target Support Files/Pods-RSAUtil/Info.plist
+ INSTALL_PATH
+ $(LOCAL_LIBRARY_DIR)/Frameworks
+ IPHONEOS_DEPLOYMENT_TARGET
+ 8.3
+ LD_RUNPATH_SEARCH_PATHS
+
+ $(inherited)
+ @executable_path/Frameworks
+ @loader_path/Frameworks
+
+ MACH_O_TYPE
+ staticlib
+ MODULEMAP_FILE
+ Target Support Files/Pods-RSAUtil/Pods-RSAUtil.modulemap
+ MTL_ENABLE_DEBUG_INFO
+ NO
+ OTHER_LDFLAGS
+
+ OTHER_LIBTOOLFLAGS
+
+ PODS_ROOT
+ $(SRCROOT)
+ PRODUCT_BUNDLE_IDENTIFIER
+ org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
+ PRODUCT_NAME
+ Pods_RSAUtil
+ SDKROOT
+ iphoneos
+ SKIP_INSTALL
+ YES
+ TARGETED_DEVICE_FAMILY
+ 1,2
+ VERSIONING_SYSTEM
+ apple-generic
+ VERSION_INFO_PREFIX
+
+
+ isa
+ XCBuildConfiguration
+ name
+ Release
+
+ 97E4569DB546ADFDD316187926AFC07F
+
+ children
+
+ 6F042657DA1D02358E401B6FFE1941DF
+ 1EEE99754C4A76B03A3B74E73B7F8B83
+
+ isa
+ PBXGroup
+ name
+ Classes
+ path
+ Classes
+ sourceTree
+ <group>
+
+ 982328BCC33DAE03990D40CC3FB6A5E2
+
+ buildConfigurationList
+ 9193D0672BE9A6799D900758B7B1A84E
+ buildPhases
+
+ 2CCD12F762E1CB26C0E83900D63AC602
+ 56C2BA1068924CFF1852498373B179EC
+ 58770E28236809F58C2974CEF8F337DE
+
+ buildRules
+
+ dependencies
+
+ D731A13488092AF1F6964BAECE52ACB5
+
+ isa
+ PBXNativeTarget
+ name
+ Pods-RSAUtil
+ productName
+ Pods-RSAUtil
+ productReference
+ 4C5C8D665DCF15A5F0E64B2C1E11C11A
+ productType
+ com.apple.product-type.framework
+
+ A1FA548700F278F13F9A00DF6FAF206E
+
+ baseConfigurationReference
+ DCBB6B1769B918524ECA0A6AECF50387
+ buildSettings
+
+ CODE_SIGN_IDENTITY[sdk=iphoneos*]
+ iPhone Developer
+ CURRENT_PROJECT_VERSION
+ 1
+ DEBUG_INFORMATION_FORMAT
+ dwarf
+ DEFINES_MODULE
+ YES
+ DYLIB_COMPATIBILITY_VERSION
+ 1
+ DYLIB_CURRENT_VERSION
+ 1
+ DYLIB_INSTALL_NAME_BASE
+ @rpath
+ ENABLE_STRICT_OBJC_MSGSEND
+ YES
+ GCC_NO_COMMON_BLOCKS
+ YES
+ GCC_PREFIX_HEADER
+ Target Support Files/RSA/RSA-prefix.pch
+ INFOPLIST_FILE
+ Target Support Files/RSA/Info.plist
+ INSTALL_PATH
+ $(LOCAL_LIBRARY_DIR)/Frameworks
+ IPHONEOS_DEPLOYMENT_TARGET
+ 8.0
+ LD_RUNPATH_SEARCH_PATHS
+
+ $(inherited)
+ @executable_path/Frameworks
+ @loader_path/Frameworks
+
+ MODULEMAP_FILE
+ Target Support Files/RSA/RSA.modulemap
+ MTL_ENABLE_DEBUG_INFO
+ YES
+ PRODUCT_NAME
+ RSA
+ SDKROOT
+ iphoneos
+ SKIP_INSTALL
+ YES
+ TARGETED_DEVICE_FAMILY
+ 1,2
+ VERSIONING_SYSTEM
+ apple-generic
+ VERSION_INFO_PREFIX
+
+
+ isa
+ XCBuildConfiguration
+ name
+ Debug
+
+ A2B28F86A9444E27D02C647FC7C42DEE
+
+ baseConfigurationReference
+ D7B8D2C253DC5C6405AFCD3815AF6D73
+ buildSettings
+
+ CODE_SIGN_IDENTITY[sdk=iphoneos*]
+ iPhone Developer
+ CURRENT_PROJECT_VERSION
+ 1
+ DEBUG_INFORMATION_FORMAT
+ dwarf
+ DEFINES_MODULE
+ YES
+ DYLIB_COMPATIBILITY_VERSION
+ 1
+ DYLIB_CURRENT_VERSION
+ 1
+ DYLIB_INSTALL_NAME_BASE
+ @rpath
+ ENABLE_STRICT_OBJC_MSGSEND
+ YES
+ GCC_NO_COMMON_BLOCKS
+ YES
+ INFOPLIST_FILE
+ Target Support Files/Pods-RSAUtil/Info.plist
+ INSTALL_PATH
+ $(LOCAL_LIBRARY_DIR)/Frameworks
+ IPHONEOS_DEPLOYMENT_TARGET
+ 8.3
+ LD_RUNPATH_SEARCH_PATHS
+
+ $(inherited)
+ @executable_path/Frameworks
+ @loader_path/Frameworks
+
+ MACH_O_TYPE
+ staticlib
+ MODULEMAP_FILE
+ Target Support Files/Pods-RSAUtil/Pods-RSAUtil.modulemap
+ MTL_ENABLE_DEBUG_INFO
+ YES
+ OTHER_LDFLAGS
+
+ OTHER_LIBTOOLFLAGS
+
+ PODS_ROOT
+ $(SRCROOT)
+ PRODUCT_BUNDLE_IDENTIFIER
+ org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
+ PRODUCT_NAME
+ Pods_RSAUtil
+ SDKROOT
+ iphoneos
+ SKIP_INSTALL
+ YES
+ TARGETED_DEVICE_FAMILY
+ 1,2
+ VERSIONING_SYSTEM
+ apple-generic
+ VERSION_INFO_PREFIX
+
+
+ isa
+ XCBuildConfiguration
+ name
+ Debug
+
+ AB7F83E307CD01B093D2C1768845FE49
+
+ buildConfigurationList
+ 1619E105769A425F54F7F03BC93631E8
+ buildPhases
+
+ 6A653B69D1D8071411E479AF0AAC2B15
+ 7B7A8125A5F9EF719352FF968CC00AF5
+ DD3A05D8C5B5C5BC775A839E88CFD403
+
+ buildRules
+
+ dependencies
+
+ isa
+ PBXNativeTarget
+ name
+ RSA
+ productName
+ RSA
+ productReference
+ 2B08E14C1489A7355765F7DC7DB01B52
+ productType
+ com.apple.product-type.framework
+
+ B4727B6289A150BB4B7C54B66AA21C74
+
+ children
+
+ 97E4569DB546ADFDD316187926AFC07F
+
+ isa
+ PBXGroup
+ name
+ RSA
+ path
+ RSA
+ sourceTree
+ <group>
+
+ BBC48FD9C7DCFDA523F2E46A854D7816
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.h
+ path
+ RSA-prefix.pch
+ sourceTree
+ <group>
+
+ BC3CA7F9E30CC8F7E2DD044DD34432FC
+
+ children
+
+ 3DCAB2B7CDE207B3958B6CB957FCC758
+
+ isa
+ PBXGroup
+ name
+ Frameworks
+ sourceTree
+ <group>
+
+ C1B80F536FB05F45559191C01A397A7F
+
+ children
+
+ CEDE6FF9B067B911F30AF8EBAE9A4DA8
+
+ isa
+ PBXGroup
+ name
+ Targets Support Files
+ sourceTree
+ <group>
+
+ CA8F4843B65857EE62F45AD97628C4F5
+
+ fileRef
+ 1EEE99754C4A76B03A3B74E73B7F8B83
+ isa
+ PBXBuildFile
+
+ CEC22C73C1608DFA5D5D78BDCB218219
+
+ isa
+ PBXFileReference
+ lastKnownFileType
+ wrapper.framework
+ name
+ Foundation.framework
+ path
+ Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework
+ sourceTree
+ DEVELOPER_DIR
+
+ CEDE6FF9B067B911F30AF8EBAE9A4DA8
+
+ children
+
+ DDE211E68CAB641208F4B7BD8F86B871
+ 57DEB93CF6D4EFE503E11DD445165E48
+ 8A9E2A3D4286EAB7247BB6EE038D5F8F
+ 44B0BB351EEBB5CF5A7CC8C79EB5AA78
+ 5979A62E0651AC28CDCE754209121D64
+ 524108B1C6FCACBA688E328FD949A2F0
+ 5EEDF7A5CB2B28EECC7332BCD5EBEA42
+ 13D4231953FC2318C474673192414EF3
+ D7B8D2C253DC5C6405AFCD3815AF6D73
+ 6AA47843DA1B0FE0486C0ACA881C9593
+
+ isa
+ PBXGroup
+ name
+ Pods-RSAUtil
+ path
+ Target Support Files/Pods-RSAUtil
+ sourceTree
+ <group>
+
+ D3E3D092A3FF7311A98E44BBA36FFD12
+
+ buildSettings
+
+ ALWAYS_SEARCH_USER_PATHS
+ NO
+ CLANG_ANALYZER_NONNULL
+ YES
+ CLANG_CXX_LANGUAGE_STANDARD
+ gnu++0x
+ CLANG_CXX_LIBRARY
+ libc++
+ CLANG_ENABLE_MODULES
+ YES
+ CLANG_ENABLE_OBJC_ARC
+ YES
+ CLANG_WARN_BOOL_CONVERSION
+ YES
+ CLANG_WARN_CONSTANT_CONVERSION
+ YES
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE
+ YES
+ CLANG_WARN_EMPTY_BODY
+ YES
+ CLANG_WARN_ENUM_CONVERSION
+ YES
+ CLANG_WARN_INT_CONVERSION
+ YES
+ CLANG_WARN_OBJC_ROOT_CLASS
+ YES
+ CLANG_WARN_UNREACHABLE_CODE
+ YES
+ CLANG_WARN__DUPLICATE_METHOD_MATCH
+ YES
+ COPY_PHASE_STRIP
+ NO
+ ENABLE_TESTABILITY
+ YES
+ GCC_C_LANGUAGE_STANDARD
+ gnu99
+ GCC_DYNAMIC_NO_PIC
+ NO
+ GCC_OPTIMIZATION_LEVEL
+ 0
+ GCC_PREPROCESSOR_DEFINITIONS
+
+ POD_CONFIGURATION_DEBUG=1
+ DEBUG=1
+ $(inherited)
+
+ GCC_SYMBOLS_PRIVATE_EXTERN
+ NO
+ GCC_WARN_64_TO_32_BIT_CONVERSION
+ YES
+ GCC_WARN_ABOUT_RETURN_TYPE
+ YES
+ GCC_WARN_UNDECLARED_SELECTOR
+ YES
+ GCC_WARN_UNINITIALIZED_AUTOS
+ YES
+ GCC_WARN_UNUSED_FUNCTION
+ YES
+ GCC_WARN_UNUSED_VARIABLE
+ YES
+ IPHONEOS_DEPLOYMENT_TARGET
+ 8.3
+ ONLY_ACTIVE_ARCH
+ YES
+ STRIP_INSTALLED_PRODUCT
+ NO
+ SYMROOT
+ ${SRCROOT}/../build
+
+ isa
+ XCBuildConfiguration
+ name
+ Debug
+
+ D41D8CD98F00B204E9800998ECF8427E
+
+ attributes
+
+ LastSwiftUpdateCheck
+ 0730
+ LastUpgradeCheck
+ 0700
+
+ buildConfigurationList
+ 2D8E8EC45A3A1A1D94AE762CB5028504
+ compatibilityVersion
+ Xcode 3.2
+ developmentRegion
+ English
+ hasScannedForEncodings
+ 0
+ isa
+ PBXProject
+ knownRegions
+
+ en
+
+ mainGroup
+ 7DB346D0F39D3F0E887471402A8071AB
+ productRefGroup
+ 7985070F2C5ECD2947CAF175C682228D
+ projectDirPath
+
+ projectReferences
+
+ projectRoot
+
+ targets
+
+ 982328BCC33DAE03990D40CC3FB6A5E2
+ AB7F83E307CD01B093D2C1768845FE49
+
+
+ D731A13488092AF1F6964BAECE52ACB5
+
+ isa
+ PBXTargetDependency
+ name
+ RSA
+ target
+ AB7F83E307CD01B093D2C1768845FE49
+ targetProxy
+ 3E6482EA8147E7094036E7563B069822
+
+ D7B8D2C253DC5C6405AFCD3815AF6D73
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.xcconfig
+ path
+ Pods-RSAUtil.debug.xcconfig
+ sourceTree
+ <group>
+
+ DCBB6B1769B918524ECA0A6AECF50387
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.xcconfig
+ path
+ RSA.xcconfig
+ sourceTree
+ <group>
+
+ DD3A05D8C5B5C5BC775A839E88CFD403
+
+ buildActionMask
+ 2147483647
+ files
+
+ 47B99F82D1986BA90B12C86769E1457A
+ 91E973DA383294CFCEA2421209BA8E12
+
+ isa
+ PBXHeadersBuildPhase
+ runOnlyForDeploymentPostprocessing
+ 0
+
+ DDE211E68CAB641208F4B7BD8F86B871
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ text.plist.xml
+ path
+ Info.plist
+ sourceTree
+ <group>
+
+ E674DAD7A2272C2784A16AD4B48329D4
+
+ includeInIndex
+ 1
+ isa
+ PBXFileReference
+ lastKnownFileType
+ sourcecode.c.h
+ path
+ RSA-umbrella.h
+ sourceTree
+ <group>
+
+
+ rootObject
+ D41D8CD98F00B204E9800998ECF8427E
+
+
diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/Pods-RSAUtil.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/Pods-RSAUtil.xcscheme
new file mode 100644
index 0000000..09caa9f
--- /dev/null
+++ b/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/Pods-RSAUtil.xcscheme
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/RSA.xcscheme b/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/RSA.xcscheme
new file mode 100644
index 0000000..3a31632
--- /dev/null
+++ b/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/RSA.xcscheme
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..c2da894
--- /dev/null
+++ b/Example/Pods/Pods.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ SchemeUserState
+
+ Pods-RSAUtil.xcscheme
+
+ isShown
+
+
+ RSA.xcscheme
+
+ isShown
+
+
+
+ SuppressBuildableAutocreation
+
+ 982328BCC33DAE03990D40CC3FB6A5E2
+
+ primary
+
+
+ AB7F83E307CD01B093D2C1768845FE49
+
+ primary
+
+
+
+
+
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Info.plist b/Example/Pods/Target Support Files/Pods-RSAUtil/Info.plist
new file mode 100644
index 0000000..2243fe6
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Info.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleIdentifier
+ ${PRODUCT_BUNDLE_IDENTIFIER}
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ ${PRODUCT_NAME}
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ ${CURRENT_PROJECT_VERSION}
+ NSPrincipalClass
+
+
+
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-acknowledgements.markdown
new file mode 100644
index 0000000..4d3df36
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-acknowledgements.markdown
@@ -0,0 +1,19 @@
+# Acknowledgements
+This application makes use of the following third party libraries:
+
+## RSA
+
+Copyright (c) 2013 Objective-C-RSA(https://github.com/ideawu/Objective-C-RSA) Authors
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the Objective-C-RSA(https://github.com/ideawu/Objective-C-RSA) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Generated by CocoaPods - https://cocoapods.org
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-acknowledgements.plist
new file mode 100644
index 0000000..9e913d9
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-acknowledgements.plist
@@ -0,0 +1,49 @@
+
+
+
+
+ PreferenceSpecifiers
+
+
+ FooterText
+ This application makes use of the following third party libraries:
+ Title
+ Acknowledgements
+ Type
+ PSGroupSpecifier
+
+
+ FooterText
+ Copyright (c) 2013 Objective-C-RSA(https://github.com/ideawu/Objective-C-RSA) Authors
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the Objective-C-RSA(https://github.com/ideawu/Objective-C-RSA) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ Title
+ RSA
+ Type
+ PSGroupSpecifier
+
+
+ FooterText
+ Generated by CocoaPods - https://cocoapods.org
+ Title
+
+ Type
+ PSGroupSpecifier
+
+
+ StringsTable
+ Acknowledgements
+ Title
+ Acknowledgements
+
+
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-dummy.m b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-dummy.m
new file mode 100644
index 0000000..5e366ba
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-dummy.m
@@ -0,0 +1,5 @@
+#import
+@interface PodsDummy_Pods_RSAUtil : NSObject
+@end
+@implementation PodsDummy_Pods_RSAUtil
+@end
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-frameworks.sh b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-frameworks.sh
new file mode 100755
index 0000000..21c77dd
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-frameworks.sh
@@ -0,0 +1,91 @@
+#!/bin/sh
+set -e
+
+echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+
+SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
+
+install_framework()
+{
+ if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
+ local source="${BUILT_PRODUCTS_DIR}/$1"
+ elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
+ local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
+ elif [ -r "$1" ]; then
+ local source="$1"
+ fi
+
+ local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+
+ if [ -L "${source}" ]; then
+ echo "Symlinked..."
+ source="$(readlink "${source}")"
+ fi
+
+ # use filter instead of exclude so missing patterns dont' throw errors
+ echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
+ rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
+
+ local basename
+ basename="$(basename -s .framework "$1")"
+ binary="${destination}/${basename}.framework/${basename}"
+ if ! [ -r "$binary" ]; then
+ binary="${destination}/${basename}"
+ fi
+
+ # Strip invalid architectures so "fat" simulator / device frameworks work on device
+ if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
+ strip_invalid_archs "$binary"
+ fi
+
+ # Resign the code if required by the build settings to avoid unstable apps
+ code_sign_if_enabled "${destination}/$(basename "$1")"
+
+ # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
+ if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
+ local swift_runtime_libs
+ swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
+ for lib in $swift_runtime_libs; do
+ echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
+ rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
+ code_sign_if_enabled "${destination}/${lib}"
+ done
+ fi
+}
+
+# Signs a framework with the provided identity
+code_sign_if_enabled() {
+ if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
+ # Use the current code_sign_identitiy
+ echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
+ echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\""
+ /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1"
+ fi
+}
+
+# Strip invalid architectures
+strip_invalid_archs() {
+ binary="$1"
+ # Get architectures for current file
+ archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
+ stripped=""
+ for arch in $archs; do
+ if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
+ # Strip non-valid architectures in-place
+ lipo -remove "$arch" -output "$binary" "$binary" || exit 1
+ stripped="$stripped $arch"
+ fi
+ done
+ if [[ "$stripped" ]]; then
+ echo "Stripped $binary of architectures:$stripped"
+ fi
+}
+
+
+if [[ "$CONFIGURATION" == "Debug" ]]; then
+ install_framework "$BUILT_PRODUCTS_DIR/RSA/RSA.framework"
+fi
+if [[ "$CONFIGURATION" == "Release" ]]; then
+ install_framework "$BUILT_PRODUCTS_DIR/RSA/RSA.framework"
+fi
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-resources.sh b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-resources.sh
new file mode 100755
index 0000000..0a15615
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-resources.sh
@@ -0,0 +1,102 @@
+#!/bin/sh
+set -e
+
+mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+
+RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
+> "$RESOURCES_TO_COPY"
+
+XCASSET_FILES=()
+
+case "${TARGETED_DEVICE_FAMILY}" in
+ 1,2)
+ TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
+ ;;
+ 1)
+ TARGET_DEVICE_ARGS="--target-device iphone"
+ ;;
+ 2)
+ TARGET_DEVICE_ARGS="--target-device ipad"
+ ;;
+ *)
+ TARGET_DEVICE_ARGS="--target-device mac"
+ ;;
+esac
+
+realpath() {
+ DIRECTORY="$(cd "${1%/*}" && pwd)"
+ FILENAME="${1##*/}"
+ echo "$DIRECTORY/$FILENAME"
+}
+
+install_resource()
+{
+ if [[ "$1" = /* ]] ; then
+ RESOURCE_PATH="$1"
+ else
+ RESOURCE_PATH="${PODS_ROOT}/$1"
+ fi
+ if [[ ! -e "$RESOURCE_PATH" ]] ; then
+ cat << EOM
+error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
+EOM
+ exit 1
+ fi
+ case $RESOURCE_PATH in
+ *.storyboard)
+ echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
+ ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
+ ;;
+ *.xib)
+ echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
+ ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
+ ;;
+ *.framework)
+ echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+ mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+ echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+ rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
+ ;;
+ *.xcdatamodel)
+ echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
+ xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
+ ;;
+ *.xcdatamodeld)
+ echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
+ xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
+ ;;
+ *.xcmappingmodel)
+ echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
+ xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
+ ;;
+ *.xcassets)
+ ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH")
+ XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
+ ;;
+ *)
+ echo "$RESOURCE_PATH"
+ echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
+ ;;
+ esac
+}
+
+mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
+ mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+ rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+fi
+rm -f "$RESOURCES_TO_COPY"
+
+if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
+then
+ # Find all other xcassets (this unfortunately includes those of path pods and other targets).
+ OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
+ while read line; do
+ if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
+ XCASSET_FILES+=("$line")
+ fi
+ done <<<"$OTHER_XCASSETS"
+
+ printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
+fi
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-umbrella.h b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-umbrella.h
new file mode 100644
index 0000000..59b96bb
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-umbrella.h
@@ -0,0 +1,6 @@
+#import
+
+
+FOUNDATION_EXPORT double Pods_RSAUtilVersionNumber;
+FOUNDATION_EXPORT const unsigned char Pods_RSAUtilVersionString[];
+
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.debug.xcconfig b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.debug.xcconfig
new file mode 100644
index 0000000..0322a30
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.debug.xcconfig
@@ -0,0 +1,8 @@
+FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RSA"
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
+LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
+OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/RSA/RSA.framework/Headers"
+OTHER_LDFLAGS = $(inherited) -framework "RSA"
+PODS_BUILD_DIR = $BUILD_DIR
+PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
+PODS_ROOT = ${SRCROOT}/Pods
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.modulemap b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.modulemap
new file mode 100644
index 0000000..aa74995
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.modulemap
@@ -0,0 +1,6 @@
+framework module Pods_RSAUtil {
+ umbrella header "Pods-RSAUtil-umbrella.h"
+
+ export *
+ module * { export * }
+}
diff --git a/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.release.xcconfig b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.release.xcconfig
new file mode 100644
index 0000000..0322a30
--- /dev/null
+++ b/Example/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.release.xcconfig
@@ -0,0 +1,8 @@
+FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/RSA"
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
+LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
+OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/RSA/RSA.framework/Headers"
+OTHER_LDFLAGS = $(inherited) -framework "RSA"
+PODS_BUILD_DIR = $BUILD_DIR
+PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
+PODS_ROOT = ${SRCROOT}/Pods
diff --git a/Example/Pods/Target Support Files/RSA/Info.plist b/Example/Pods/Target Support Files/RSA/Info.plist
new file mode 100644
index 0000000..161a9d3
--- /dev/null
+++ b/Example/Pods/Target Support Files/RSA/Info.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleIdentifier
+ ${PRODUCT_BUNDLE_IDENTIFIER}
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ ${PRODUCT_NAME}
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 0.1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ ${CURRENT_PROJECT_VERSION}
+ NSPrincipalClass
+
+
+
diff --git a/Example/Pods/Target Support Files/RSA/RSA-dummy.m b/Example/Pods/Target Support Files/RSA/RSA-dummy.m
new file mode 100644
index 0000000..ec66eb1
--- /dev/null
+++ b/Example/Pods/Target Support Files/RSA/RSA-dummy.m
@@ -0,0 +1,5 @@
+#import
+@interface PodsDummy_RSA : NSObject
+@end
+@implementation PodsDummy_RSA
+@end
diff --git a/Example/Pods/Target Support Files/RSA/RSA-prefix.pch b/Example/Pods/Target Support Files/RSA/RSA-prefix.pch
new file mode 100644
index 0000000..aa992a4
--- /dev/null
+++ b/Example/Pods/Target Support Files/RSA/RSA-prefix.pch
@@ -0,0 +1,4 @@
+#ifdef __OBJC__
+#import
+#endif
+
diff --git a/Example/Pods/Target Support Files/RSA/RSA-umbrella.h b/Example/Pods/Target Support Files/RSA/RSA-umbrella.h
new file mode 100644
index 0000000..2470833
--- /dev/null
+++ b/Example/Pods/Target Support Files/RSA/RSA-umbrella.h
@@ -0,0 +1,7 @@
+#import
+
+#import "RSA.h"
+
+FOUNDATION_EXPORT double RSAVersionNumber;
+FOUNDATION_EXPORT const unsigned char RSAVersionString[];
+
diff --git a/Example/Pods/Target Support Files/RSA/RSA.modulemap b/Example/Pods/Target Support Files/RSA/RSA.modulemap
new file mode 100644
index 0000000..4d56e19
--- /dev/null
+++ b/Example/Pods/Target Support Files/RSA/RSA.modulemap
@@ -0,0 +1,6 @@
+framework module RSA {
+ umbrella header "RSA-umbrella.h"
+
+ export *
+ module * { export * }
+}
diff --git a/Example/Pods/Target Support Files/RSA/RSA.xcconfig b/Example/Pods/Target Support Files/RSA/RSA.xcconfig
new file mode 100644
index 0000000..a7ec069
--- /dev/null
+++ b/Example/Pods/Target Support Files/RSA/RSA.xcconfig
@@ -0,0 +1,8 @@
+CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/RSA
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
+HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
+PODS_BUILD_DIR = $BUILD_DIR
+PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
+PODS_ROOT = ${SRCROOT}
+PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
+SKIP_INSTALL = YES
diff --git a/Example/RSA.xcodeproj/project.pbxproj b/Example/RSA.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..2da2f26
--- /dev/null
+++ b/Example/RSA.xcodeproj/project.pbxproj
@@ -0,0 +1,425 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 309715701DC277B100A0EFDA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 3097156D1DC277B100A0EFDA /* AppDelegate.m */; };
+ 309715711DC277B100A0EFDA /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3097156F1DC277B100A0EFDA /* ViewController.m */; };
+ 309715761DC277BB00A0EFDA /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 309715721DC277BB00A0EFDA /* LaunchScreen.xib */; };
+ 309715771DC277BB00A0EFDA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 309715741DC277BB00A0EFDA /* Main.storyboard */; };
+ 3A186C539D581D421E399461 /* Pods_RSAUtil.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F703FC13268BE37346A2DA35 /* Pods_RSAUtil.framework */; };
+ 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
+ 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
+ 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
+ 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; };
+ 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 01FD394ACDA5719575FFDC6F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; };
+ 09D3620CA3FB76A97423D098 /* Pods-RSAUtil.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RSAUtil.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.debug.xcconfig"; sourceTree = ""; };
+ 2BA247247903D2F5067C46DA /* Pods-RSA_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RSA_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-RSA_Example/Pods-RSA_Example.release.xcconfig"; sourceTree = ""; };
+ 3097156A1DC2778E00A0EFDA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 3097156C1DC277B100A0EFDA /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
+ 3097156D1DC277B100A0EFDA /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
+ 3097156E1DC277B100A0EFDA /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
+ 3097156F1DC277B100A0EFDA /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
+ 309715731DC277BB00A0EFDA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
+ 309715751DC277BB00A0EFDA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 30AE31E7D550C84310B1BBBD /* Pods_RSA_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RSA_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 4D78DB2589F94215609E3B0D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; };
+ 6003F58A195388D20070C39A /* RSAUtil.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RSAUtil.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
+ 6003F59B195388D20070C39A /* RSA-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RSA-Prefix.pch"; sourceTree = ""; };
+ 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
+ 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
+ 87F2819C65B2789EA8AD85B1 /* RSA.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = RSA.podspec; path = ../RSA.podspec; sourceTree = ""; };
+ DFD7E5BFF680EC9C01D5C053 /* Pods-RSAUtil.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RSAUtil.release.xcconfig"; path = "Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil.release.xcconfig"; sourceTree = ""; };
+ F188365C9508F355213CC22C /* Pods-RSA_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RSA_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-RSA_Example/Pods-RSA_Example.debug.xcconfig"; sourceTree = ""; };
+ F703FC13268BE37346A2DA35 /* Pods_RSAUtil.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RSAUtil.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 6003F587195388D20070C39A /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
+ 6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
+ 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
+ 3A186C539D581D421E399461 /* Pods_RSAUtil.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 226114A4167A7D0D32F62A3B /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ F188365C9508F355213CC22C /* Pods-RSA_Example.debug.xcconfig */,
+ 2BA247247903D2F5067C46DA /* Pods-RSA_Example.release.xcconfig */,
+ 09D3620CA3FB76A97423D098 /* Pods-RSAUtil.debug.xcconfig */,
+ DFD7E5BFF680EC9C01D5C053 /* Pods-RSAUtil.release.xcconfig */,
+ );
+ name = Pods;
+ sourceTree = "";
+ };
+ 6003F581195388D10070C39A = {
+ isa = PBXGroup;
+ children = (
+ 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */,
+ 6003F593195388D20070C39A /* Example for RSA */,
+ 6003F58C195388D20070C39A /* Frameworks */,
+ 6003F58B195388D20070C39A /* Products */,
+ 226114A4167A7D0D32F62A3B /* Pods */,
+ );
+ sourceTree = "";
+ };
+ 6003F58B195388D20070C39A /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 6003F58A195388D20070C39A /* RSAUtil.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 6003F58C195388D20070C39A /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 6003F58D195388D20070C39A /* Foundation.framework */,
+ 6003F58F195388D20070C39A /* CoreGraphics.framework */,
+ 6003F591195388D20070C39A /* UIKit.framework */,
+ 6003F5AF195388D20070C39A /* XCTest.framework */,
+ 30AE31E7D550C84310B1BBBD /* Pods_RSA_Example.framework */,
+ F703FC13268BE37346A2DA35 /* Pods_RSAUtil.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+ 6003F593195388D20070C39A /* Example for RSA */ = {
+ isa = PBXGroup;
+ children = (
+ 3097156C1DC277B100A0EFDA /* AppDelegate.h */,
+ 3097156D1DC277B100A0EFDA /* AppDelegate.m */,
+ 6003F5A8195388D20070C39A /* Images.xcassets */,
+ 309715721DC277BB00A0EFDA /* LaunchScreen.xib */,
+ 309715741DC277BB00A0EFDA /* Main.storyboard */,
+ 3097156E1DC277B100A0EFDA /* ViewController.h */,
+ 3097156F1DC277B100A0EFDA /* ViewController.m */,
+ 6003F594195388D20070C39A /* Supporting Files */,
+ );
+ name = "Example for RSA";
+ path = RSA;
+ sourceTree = "";
+ };
+ 6003F594195388D20070C39A /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 3097156A1DC2778E00A0EFDA /* Info.plist */,
+ 6003F599195388D20070C39A /* main.m */,
+ 6003F59B195388D20070C39A /* RSA-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+ 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = {
+ isa = PBXGroup;
+ children = (
+ 87F2819C65B2789EA8AD85B1 /* RSA.podspec */,
+ 01FD394ACDA5719575FFDC6F /* README.md */,
+ 4D78DB2589F94215609E3B0D /* LICENSE */,
+ );
+ name = "Podspec Metadata";
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 6003F589195388D20070C39A /* RSAUtil */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "RSAUtil" */;
+ buildPhases = (
+ 647727BB380004192D7B5714 /* [CP] Check Pods Manifest.lock */,
+ 6003F586195388D20070C39A /* Sources */,
+ 6003F587195388D20070C39A /* Frameworks */,
+ 6003F588195388D20070C39A /* Resources */,
+ D941E3B8E0BC4EACFB17FA00 /* [CP] Embed Pods Frameworks */,
+ 9F2A55EDB3D9E1C1A99A6E7F /* [CP] Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = RSAUtil;
+ productName = RSA;
+ productReference = 6003F58A195388D20070C39A /* RSAUtil.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 6003F582195388D10070C39A /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ CLASSPREFIX = CH;
+ LastUpgradeCheck = 0800;
+ ORGANIZATIONNAME = chorsfield;
+ };
+ buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "RSA" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 6003F581195388D10070C39A;
+ productRefGroup = 6003F58B195388D20070C39A /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 6003F589195388D20070C39A /* RSAUtil */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 6003F588195388D20070C39A /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
+ 309715761DC277BB00A0EFDA /* LaunchScreen.xib in Resources */,
+ 309715771DC277BB00A0EFDA /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 647727BB380004192D7B5714 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
+ showEnvVarsInLog = 0;
+ };
+ 9F2A55EDB3D9E1C1A99A6E7F /* [CP] Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "[CP] Copy Pods Resources";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ D941E3B8E0BC4EACFB17FA00 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RSAUtil/Pods-RSAUtil-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 6003F586195388D20070C39A /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 309715711DC277B100A0EFDA /* ViewController.m in Sources */,
+ 309715701DC277B100A0EFDA /* AppDelegate.m in Sources */,
+ 6003F59A195388D20070C39A /* main.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 309715721DC277BB00A0EFDA /* LaunchScreen.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 309715731DC277BB00A0EFDA /* Base */,
+ );
+ name = LaunchScreen.xib;
+ sourceTree = "";
+ };
+ 309715741DC277BB00A0EFDA /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 309715751DC277BB00A0EFDA /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 6003F5BD195388D20070C39A /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.3;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 6003F5BE195388D20070C39A /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.3;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 6003F5C0195388D20070C39A /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 09D3620CA3FB76A97423D098 /* Pods-RSAUtil.debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "RSA/RSA-Prefix.pch";
+ INFOPLIST_FILE = "$(SRCROOT)/RSA/Info.plist";
+ MODULE_NAME = ExampleApp;
+ PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 6003F5C1195388D20070C39A /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = DFD7E5BFF680EC9C01D5C053 /* Pods-RSAUtil.release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "RSA/RSA-Prefix.pch";
+ INFOPLIST_FILE = "$(SRCROOT)/RSA/Info.plist";
+ MODULE_NAME = ExampleApp;
+ PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 6003F585195388D10070C39A /* Build configuration list for PBXProject "RSA" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 6003F5BD195388D20070C39A /* Debug */,
+ 6003F5BE195388D20070C39A /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "RSAUtil" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 6003F5C0195388D20070C39A /* Debug */,
+ 6003F5C1195388D20070C39A /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 6003F582195388D10070C39A /* Project object */;
+}
diff --git a/RSAUtil.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/RSA.xcodeproj/project.xcworkspace/contents.xcworkspacedata
similarity index 71%
rename from RSAUtil.xcodeproj/project.xcworkspace/contents.xcworkspacedata
rename to Example/RSA.xcodeproj/project.xcworkspace/contents.xcworkspacedata
index 1bcc619..de07168 100644
--- a/RSAUtil.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ b/Example/RSA.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -2,6 +2,6 @@
+ location = "self:RSA.xcodeproj">
diff --git a/Example/RSA.xcodeproj/xcshareddata/xcschemes/RSA-Example.xcscheme b/Example/RSA.xcodeproj/xcshareddata/xcschemes/RSA-Example.xcscheme
new file mode 100644
index 0000000..9311443
--- /dev/null
+++ b/Example/RSA.xcodeproj/xcshareddata/xcschemes/RSA-Example.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Example/RSA.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/xcschememanagement.plist b/Example/RSA.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..adfa137
--- /dev/null
+++ b/Example/RSA.xcodeproj/xcuserdata/chorsfield.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,19 @@
+
+
+
+
+ SuppressBuildableAutocreation
+
+ 6003F589195388D20070C39A
+
+ primary
+
+
+ 6003F5AD195388D20070C39A
+
+ primary
+
+
+
+
+
diff --git a/Example/RSA.xcworkspace/contents.xcworkspacedata b/Example/RSA.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..aec4dc7
--- /dev/null
+++ b/Example/RSA.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/RSAUtil/AppDelegate.h b/Example/RSA/AppDelegate.h
similarity index 100%
rename from RSAUtil/AppDelegate.h
rename to Example/RSA/AppDelegate.h
diff --git a/RSAUtil/AppDelegate.m b/Example/RSA/AppDelegate.m
similarity index 100%
rename from RSAUtil/AppDelegate.m
rename to Example/RSA/AppDelegate.m
diff --git a/RSAUtil/Base.lproj/LaunchScreen.xib b/Example/RSA/Base.lproj/LaunchScreen.xib
similarity index 100%
rename from RSAUtil/Base.lproj/LaunchScreen.xib
rename to Example/RSA/Base.lproj/LaunchScreen.xib
diff --git a/RSAUtil/Base.lproj/Main.storyboard b/Example/RSA/Base.lproj/Main.storyboard
similarity index 100%
rename from RSAUtil/Base.lproj/Main.storyboard
rename to Example/RSA/Base.lproj/Main.storyboard
diff --git a/RSAUtil/Images.xcassets/AppIcon.appiconset/Contents.json b/Example/RSA/Images.xcassets/AppIcon.appiconset/Contents.json
similarity index 72%
rename from RSAUtil/Images.xcassets/AppIcon.appiconset/Contents.json
rename to Example/RSA/Images.xcassets/AppIcon.appiconset/Contents.json
index 36d2c80..1d060ed 100644
--- a/RSAUtil/Images.xcassets/AppIcon.appiconset/Contents.json
+++ b/Example/RSA/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -1,5 +1,15 @@
{
"images" : [
+ {
+ "idiom" : "iphone",
+ "size" : "20x20",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "iphone",
+ "size" : "20x20",
+ "scale" : "3x"
+ },
{
"idiom" : "iphone",
"size" : "29x29",
@@ -30,6 +40,16 @@
"size" : "60x60",
"scale" : "3x"
},
+ {
+ "idiom" : "ipad",
+ "size" : "20x20",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "20x20",
+ "scale" : "2x"
+ },
{
"idiom" : "ipad",
"size" : "29x29",
@@ -59,6 +79,11 @@
"idiom" : "ipad",
"size" : "76x76",
"scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "83.5x83.5",
+ "scale" : "2x"
}
],
"info" : {
diff --git a/RSAUtil/Info.plist b/Example/RSA/Info.plist
similarity index 100%
rename from RSAUtil/Info.plist
rename to Example/RSA/Info.plist
diff --git a/Example/RSA/RSA-Prefix.pch b/Example/RSA/RSA-Prefix.pch
new file mode 100644
index 0000000..7825372
--- /dev/null
+++ b/Example/RSA/RSA-Prefix.pch
@@ -0,0 +1,16 @@
+//
+// Prefix header
+//
+// The contents of this file are implicitly included at the beginning of every source file.
+//
+
+#import
+
+#ifndef __IPHONE_5_0
+#warning "This project uses features only available in iOS SDK 5.0 and later."
+#endif
+
+#ifdef __OBJC__
+ @import UIKit;
+ @import Foundation;
+#endif
diff --git a/RSAUtil/ViewController.h b/Example/RSA/ViewController.h
similarity index 100%
rename from RSAUtil/ViewController.h
rename to Example/RSA/ViewController.h
diff --git a/RSAUtil/ViewController.m b/Example/RSA/ViewController.m
similarity index 100%
rename from RSAUtil/ViewController.m
rename to Example/RSA/ViewController.m
diff --git a/RSAUtil/main.m b/Example/RSA/main.m
similarity index 100%
rename from RSAUtil/main.m
rename to Example/RSA/main.m
diff --git a/RSA.podspec b/RSA.podspec
new file mode 100644
index 0000000..bcf1355
--- /dev/null
+++ b/RSA.podspec
@@ -0,0 +1,32 @@
+#
+# Be sure to run `pod lib lint RSA.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+ s.name = 'RSA'
+ s.version = '0.1.0'
+ s.summary = 'Doing RSA encryption with Objective-C iOS'
+
+# This description is used to generate tags and improve search results.
+# * Think: What does it do? Why did you write it? What is the focus?
+# * Try to keep it short, snappy and to the point.
+# * Write the description between the DESC delimiters below.
+# * Finally, don't worry about the indent, CocoaPods strips it!
+
+ s.description = <<-DESC
+TODO: Add long description of the pod here.
+ DESC
+
+ s.homepage = 'https://github.com/ideawu/Objective-C-RSA.git'
+ s.license = { :type => 'MIT', :file => 'LICENSE' }
+ s.author = { 'ideawu' => '' }
+ s.source = { :git => 'https://github.com/ideawu/Objective-C-RSA.git', :tag => s.version.to_s }
+
+ s.ios.deployment_target = '8.0'
+
+ s.source_files = 'RSA/Classes/**/*'
+end
diff --git a/RSA/Assets/.gitkeep b/RSA/Assets/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/RSA/Classes/.gitkeep b/RSA/Classes/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/RSA.h b/RSA/Classes/RSA.h
similarity index 100%
rename from RSA.h
rename to RSA/Classes/RSA.h
diff --git a/RSA.m b/RSA/Classes/RSA.m
similarity index 97%
rename from RSA.m
rename to RSA/Classes/RSA.m
index 025f342..686c1bf 100644
--- a/RSA.m
+++ b/RSA/Classes/RSA.m
@@ -252,16 +252,15 @@ + (NSData *)encryptData:(NSData *)data withKeyRef:(SecKeyRef) keyRef{
}
size_t outlen = block_size;
- OSStatus status = noErr;
- status = SecKeyEncrypt(keyRef,
+ OSStatus status = SecKeyEncrypt(keyRef,
kSecPaddingPKCS1,
srcbuf + idx,
data_len,
outbuf,
&outlen
);
- if (status != 0) {
- NSLog(@"SecKeyEncrypt fail. Error Code: %d", status);
+ if (status != noErr) {
+ NSLog(@"SecKeyEncrypt fail. Error Code: %d", (int)status);
ret = nil;
break;
}else{
@@ -308,16 +307,15 @@ + (NSData *)decryptData:(NSData *)data withKeyRef:(SecKeyRef) keyRef{
}
size_t outlen = block_size;
- OSStatus status = noErr;
- status = SecKeyDecrypt(keyRef,
+ OSStatus status = SecKeyDecrypt(keyRef,
kSecPaddingNone,
srcbuf + idx,
data_len,
outbuf,
&outlen
);
- if (status != 0) {
- NSLog(@"SecKeyEncrypt fail. Error Code: %d", status);
+ if (status != noErr) {
+ NSLog(@"SecKeyEncrypt fail. Error Code: %d", (int)status);
ret = nil;
break;
}else{
diff --git a/RSAUtil.xcodeproj/project.pbxproj b/RSAUtil.xcodeproj/project.pbxproj
deleted file mode 100644
index 6fa1dd7..0000000
--- a/RSAUtil.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,312 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 314EDDD21B55008F0003D9F1 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 314EDDD11B55008F0003D9F1 /* main.m */; };
- 314EDDD51B55008F0003D9F1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 314EDDD41B55008F0003D9F1 /* AppDelegate.m */; };
- 314EDDD81B55008F0003D9F1 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 314EDDD71B55008F0003D9F1 /* ViewController.m */; };
- 314EDDDB1B55008F0003D9F1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 314EDDD91B55008F0003D9F1 /* Main.storyboard */; };
- 314EDDDD1B55008F0003D9F1 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 314EDDDC1B55008F0003D9F1 /* Images.xcassets */; };
- 314EDDE01B55008F0003D9F1 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 314EDDDE1B55008F0003D9F1 /* LaunchScreen.xib */; };
- 314EDDF71B5501980003D9F1 /* RSA.m in Sources */ = {isa = PBXBuildFile; fileRef = 314EDDF61B5501980003D9F1 /* RSA.m */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 314EDDCC1B55008F0003D9F1 /* RSAUtil.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RSAUtil.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 314EDDD01B55008F0003D9F1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 314EDDD11B55008F0003D9F1 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
- 314EDDD31B55008F0003D9F1 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
- 314EDDD41B55008F0003D9F1 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
- 314EDDD61B55008F0003D9F1 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
- 314EDDD71B55008F0003D9F1 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
- 314EDDDA1B55008F0003D9F1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 314EDDDC1B55008F0003D9F1 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
- 314EDDDF1B55008F0003D9F1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
- 314EDDF51B5501980003D9F1 /* RSA.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RSA.h; sourceTree = SOURCE_ROOT; };
- 314EDDF61B5501980003D9F1 /* RSA.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RSA.m; sourceTree = SOURCE_ROOT; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 314EDDC91B55008F0003D9F1 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 314EDDC31B55008F0003D9F1 = {
- isa = PBXGroup;
- children = (
- 314EDDCE1B55008F0003D9F1 /* RSAUtil */,
- 314EDDCD1B55008F0003D9F1 /* Products */,
- );
- sourceTree = "";
- };
- 314EDDCD1B55008F0003D9F1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 314EDDCC1B55008F0003D9F1 /* RSAUtil.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 314EDDCE1B55008F0003D9F1 /* RSAUtil */ = {
- isa = PBXGroup;
- children = (
- 314EDDD31B55008F0003D9F1 /* AppDelegate.h */,
- 314EDDD41B55008F0003D9F1 /* AppDelegate.m */,
- 314EDDD61B55008F0003D9F1 /* ViewController.h */,
- 314EDDD71B55008F0003D9F1 /* ViewController.m */,
- 314EDDF51B5501980003D9F1 /* RSA.h */,
- 314EDDF61B5501980003D9F1 /* RSA.m */,
- 314EDDD91B55008F0003D9F1 /* Main.storyboard */,
- 314EDDDC1B55008F0003D9F1 /* Images.xcassets */,
- 314EDDDE1B55008F0003D9F1 /* LaunchScreen.xib */,
- 314EDDCF1B55008F0003D9F1 /* Supporting Files */,
- );
- path = RSAUtil;
- sourceTree = "";
- };
- 314EDDCF1B55008F0003D9F1 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 314EDDD01B55008F0003D9F1 /* Info.plist */,
- 314EDDD11B55008F0003D9F1 /* main.m */,
- );
- name = "Supporting Files";
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 314EDDCB1B55008F0003D9F1 /* RSAUtil */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 314EDDEF1B55008F0003D9F1 /* Build configuration list for PBXNativeTarget "RSAUtil" */;
- buildPhases = (
- 314EDDC81B55008F0003D9F1 /* Sources */,
- 314EDDC91B55008F0003D9F1 /* Frameworks */,
- 314EDDCA1B55008F0003D9F1 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = RSAUtil;
- productName = RSAUtil;
- productReference = 314EDDCC1B55008F0003D9F1 /* RSAUtil.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 314EDDC41B55008F0003D9F1 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0630;
- ORGANIZATIONNAME = ideawu;
- TargetAttributes = {
- 314EDDCB1B55008F0003D9F1 = {
- CreatedOnToolsVersion = 6.3.2;
- };
- };
- };
- buildConfigurationList = 314EDDC71B55008F0003D9F1 /* Build configuration list for PBXProject "RSAUtil" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 314EDDC31B55008F0003D9F1;
- productRefGroup = 314EDDCD1B55008F0003D9F1 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 314EDDCB1B55008F0003D9F1 /* RSAUtil */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 314EDDCA1B55008F0003D9F1 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 314EDDDB1B55008F0003D9F1 /* Main.storyboard in Resources */,
- 314EDDE01B55008F0003D9F1 /* LaunchScreen.xib in Resources */,
- 314EDDDD1B55008F0003D9F1 /* Images.xcassets in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 314EDDC81B55008F0003D9F1 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 314EDDD81B55008F0003D9F1 /* ViewController.m in Sources */,
- 314EDDD51B55008F0003D9F1 /* AppDelegate.m in Sources */,
- 314EDDF71B5501980003D9F1 /* RSA.m in Sources */,
- 314EDDD21B55008F0003D9F1 /* main.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- 314EDDD91B55008F0003D9F1 /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 314EDDDA1B55008F0003D9F1 /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "";
- };
- 314EDDDE1B55008F0003D9F1 /* LaunchScreen.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 314EDDDF1B55008F0003D9F1 /* Base */,
- );
- name = LaunchScreen.xib;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 314EDDED1B55008F0003D9F1 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 7.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 314EDDEE1B55008F0003D9F1 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 7.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 314EDDF01B55008F0003D9F1 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- INFOPLIST_FILE = RSAUtil/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Debug;
- };
- 314EDDF11B55008F0003D9F1 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- INFOPLIST_FILE = RSAUtil/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 314EDDC71B55008F0003D9F1 /* Build configuration list for PBXProject "RSAUtil" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 314EDDED1B55008F0003D9F1 /* Debug */,
- 314EDDEE1B55008F0003D9F1 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 314EDDEF1B55008F0003D9F1 /* Build configuration list for PBXNativeTarget "RSAUtil" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 314EDDF01B55008F0003D9F1 /* Debug */,
- 314EDDF11B55008F0003D9F1 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 314EDDC41B55008F0003D9F1 /* Project object */;
-}
diff --git a/RSAUtil.xcodeproj/project.xcworkspace/xcshareddata/RSAUtil.xccheckout b/RSAUtil.xcodeproj/project.xcworkspace/xcshareddata/RSAUtil.xccheckout
deleted file mode 100644
index dadfbf9..0000000
--- a/RSAUtil.xcodeproj/project.xcworkspace/xcshareddata/RSAUtil.xccheckout
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- IDESourceControlProjectFavoriteDictionaryKey
-
- IDESourceControlProjectIdentifier
- F8B2757A-71D6-4FD4-BC9D-FA99AC4DD58F
- IDESourceControlProjectName
- RSAUtil
- IDESourceControlProjectOriginsDictionary
-
- 0FCF057405D50E0F54C86A564EB5510C1EFDE566
- https://github.com/ideawu/Objective-C-RSA.git
-
- IDESourceControlProjectPath
- RSAUtil.xcodeproj
- IDESourceControlProjectRelativeInstallPathDictionary
-
- 0FCF057405D50E0F54C86A564EB5510C1EFDE566
- ../..
-
- IDESourceControlProjectURL
- https://github.com/ideawu/Objective-C-RSA.git
- IDESourceControlProjectVersion
- 111
- IDESourceControlProjectWCCIdentifier
- 0FCF057405D50E0F54C86A564EB5510C1EFDE566
- IDESourceControlProjectWCConfigurations
-
-
- IDESourceControlRepositoryExtensionIdentifierKey
- public.vcs.git
- IDESourceControlWCCIdentifierKey
- 0FCF057405D50E0F54C86A564EB5510C1EFDE566
- IDESourceControlWCCName
- Objective-C-RSA
-
-
-
-
diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj
new file mode 120000
index 0000000..3c5a8e7
--- /dev/null
+++ b/_Pods.xcodeproj
@@ -0,0 +1 @@
+Example/Pods/Pods.xcodeproj
\ No newline at end of file