Commit 05fac926 authored by Raphael Reitzig's avatar Raphael Reitzig

Removes obsolete libs.

parent 0d7f19cd
//
// Alamofire.h
//
// Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
@import Foundation;
FOUNDATION_EXPORT double AlamofireVersionNumber;
FOUNDATION_EXPORT const unsigned char AlamofireVersionString[];
framework module Alamofire {
umbrella header "Alamofire.h"
export *
module * { export * }
}
module Alamofire.Swift {
header "Alamofire-Swift.h"
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Headers/Alamofire-Swift.h</key>
<data>
HvhwYT4wL/+dI2aJq6feRYlgPj4=
</data>
<key>Headers/Alamofire.h</key>
<data>
MkxSbVCbnr649u1kjJl/qmydvNQ=
</data>
<key>Info.plist</key>
<data>
DnKMw0aUSjQqx++UANdkPbGcPyY=
</data>
<key>Modules/Alamofire.swiftmodule/x86_64.swiftdoc</key>
<data>
0dvaZWPTO1sfQwzDb0ZdK0107Fk=
</data>
<key>Modules/Alamofire.swiftmodule/x86_64.swiftmodule</key>
<data>
ahjT4ZF+P6VdVMkCLZVhGahePPs=
</data>
<key>Modules/module.modulemap</key>
<data>
oUms7QxpPFGK02DLqqScqq/7uwc=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/Alamofire-Swift.h</key>
<dict>
<key>hash</key>
<data>
HvhwYT4wL/+dI2aJq6feRYlgPj4=
</data>
<key>hash2</key>
<data>
V9uyrk2+kVXbSrYq+5GgSm4pSuXVRv0QkSeJlwt06nc=
</data>
</dict>
<key>Headers/Alamofire.h</key>
<dict>
<key>hash</key>
<data>
MkxSbVCbnr649u1kjJl/qmydvNQ=
</data>
<key>hash2</key>
<data>
sVJkysHFIbUiAzfAq/iru6/B7jmxx8gOxi2Too0HdRk=
</data>
</dict>
<key>Modules/Alamofire.swiftmodule/x86_64.swiftdoc</key>
<dict>
<key>hash</key>
<data>
0dvaZWPTO1sfQwzDb0ZdK0107Fk=
</data>
<key>hash2</key>
<data>
kkKDIZ65cWeG7aeXcJ23PnXUN58T5AzUgPa5CPqjVk4=
</data>
</dict>
<key>Modules/Alamofire.swiftmodule/x86_64.swiftmodule</key>
<dict>
<key>hash</key>
<data>
ahjT4ZF+P6VdVMkCLZVhGahePPs=
</data>
<key>hash2</key>
<data>
wS8JftuPIyVkVtMs9+CP7SlQqoj90DBuObYZQpVwFgk=
</data>
</dict>
<key>Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
oUms7QxpPFGK02DLqqScqq/7uwc=
</data>
<key>hash2</key>
<data>
X5wPIcDrMTwT6S06SivZ1wK27iG5+mZMqjrF5cG4PBs=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
//
// CCFunctions.h
// SecurityInternal
//
// Created by Matej Kenda on 17/02/2017.
// Copyright © 2017 Digithurst Bildverarbeitungssysteme GmbH & Co KG. All rights reserved.
//
/**
Objective C wrapper to CommonCrypto functions
*/
#import <Foundation/Foundation.h>
#ifndef CCFunctions_h
#define CCFunctions_h
NSString* _Nonnull HDSHashData(const NSData* _Nonnull data);
NSData* _Nonnull HDSRandomData(unsigned int length);
NSData* _Nullable HDSPbkdf2(NSData* _Nonnull password, NSData* _Nonnull salt, long iterations, long keyLength);
#endif /* CCFunctions_h */
//
// CommonCryptoWrap.h
// CommonCryptoWrap
//
// Created by DHTP on 01.06.17.
// Copyright © 2017 DHTP. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for CommonCryptoWrap.
FOUNDATION_EXPORT double CommonCryptoWrapVersionNumber;
//! Project version string for CommonCryptoWrap.
FOUNDATION_EXPORT const unsigned char CommonCryptoWrapVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <CommonCryptoWrap/PublicHeader.h>
#import "CCFunctions.h"
#import "HexUtils.h"
#import "HDSCrypto.h"
#import "HDSAesCryptor.h"
#import "HDSEncryptingInputStream.h"
#import "HDSDecryptingOutputStream.h"
#import "Hmac.h"
//
// HDSAesCryptor.h
// SecurityInternal
//
// Created by Matej Kenda on 21/02/2017.
// Copyright © 2017 Digithurst Bildverarbeitungssysteme GmbH & Co KG. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Foundation/NSData.h>
#import "CCFunctions.h"
/**
* The available padding methods.
*/
typedef NS_ENUM(NSInteger, Padding) {
None = 0,
Pkcs7 = 1
};
/**
Cryptor for supported AES encryption:
* AES CTR
* 256 bit AES key
* 128 bit IV (has to match AES block size)
A simple wrapper over CommonCrypto C functions.
*/
@interface HDSAesCryptor : NSObject
@property (readonly, nonnull) NSData* key;
@property (readonly, nonnull) NSData* iv;
@property (readonly) uint32_t padding; // TODO how to use CCPadding here? Or use Padding as defined above?
@property (readonly) BOOL processing;
// Make non-sensical inherited initializers inaccessible here.
-(nonnull instancetype)init NS_UNAVAILABLE;
-(nonnull instancetype) initWithKey:(nonnull NSData*)key iv:(nonnull NSData*)iv padding:(Padding)padding;
-(void) dealloc;
+(nonnull instancetype) cryptorWithKey:(nonnull NSData*)key iv:(nonnull NSData*)iv padding:(Padding)padding;
/// Start encryption with the specified key and iv
-(bool) startEncryption;
/// Start decryption with the specified key and iv
-(bool) startDecryption;
/// Processes one block of data (encryption or decryption)
-(NSInteger) process:(nonnull NSData*)input output:(nonnull void*)output length:(size_t)length;
/// Finishes with processing. Any remaining output is written to the buffer
-(NSInteger) finish:(nonnull void*)output length:(size_t)length;
/// Stops processing and resets internal state.
-(void) stop;
/// Helper function to encrypt single memory buffer
-(nullable NSData*) encrypt:(nonnull NSData*)plainText;
/// Helper function to decrypt single memory buffer
-(nullable NSData*) decrypt:(nonnull NSData*)cipherText;
@end
//
// HDSCrypto.h
// SecurityInternal
//
// Created by Matej Kenda on 06/03/2017.
// Copyright © 2017 Digithurst Bildverarbeitungssysteme GmbH & Co KG. All rights reserved.
//
#import <Foundation/Foundation.h>
#ifndef HDSCrypto_h
#define HDSCrypto_h
extern NSString *const hdsCryptoErrDomain;
/// The block size that CC's AES uses.
extern const NSInteger AesBlockSize;
extern const NSInteger errHdsCryptoAes;
extern const NSInteger errHdsCryptoRsa;
#endif /* HDSCrypto_h */
//
// HDSEncryptingOutputStream.h
// SecurityInternal
//
// Created by Matej Kenda on 23/02/2017.
// Copyright © 2017 Digithurst Bildverarbeitungssysteme GmbH & Co KG. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface HDSDecryptingOutputStream : NSOutputStream
// Make non-sensical inherited initializers inaccessible here.
-(nonnull instancetype)init NS_UNAVAILABLE;
-(instancetype)initToMemory NS_UNAVAILABLE;
-(instancetype)initToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity NS_UNAVAILABLE;
-(nullable instancetype)initWithURL:(NSURL *)url append:(BOOL)shouldAppend NS_UNAVAILABLE;
-(nonnull instancetype)initWithPlainTextStream:(nonnull NSOutputStream *)stream key:(nonnull NSData*)key iv:(nonnull NSData*)iv;
@end
//
// HDSEncryptingInputStream.h
// SecurityInternal
//
// Created by Matej Kenda on 23/02/2017.
// Copyright © 2017 Digithurst Bildverarbeitungssysteme GmbH & Co KG. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Foundation/NSStream.h>
@interface HDSEncryptingInputStream : NSInputStream
/// Complete size of the stream data as determined from file size, buffer size or declared explicitly
@property (readonly) unsigned long long contentSize;
// Make non-sensical inherited initializers inaccessible here.
-(nonnull instancetype)init NS_UNAVAILABLE;
-(instancetype)initWithData:(NSData *)data NS_UNAVAILABLE;
-(nullable instancetype)initWithURL:(NSURL *)url NS_UNAVAILABLE;
/// Create stream from a file
-(nonnull instancetype)initWithFileAtPath:(nonnull NSString *)filePath key:(nonnull NSData*)key iv:(nonnull NSData*)iv;
/// Create stream from a data buffer
-(nonnull instancetype)initWithData:(nonnull NSData *)data key:(nonnull NSData*)key iv:(nonnull NSData*)iv;
/// Create stream from other stream. Total size of content must be provided.
-(nonnull instancetype)initWithStream:(nonnull NSInputStream *)stream size:(unsigned long long)size key:(nonnull NSData*)key iv:(nonnull NSData*)iv;
@end
//
// HexUtils.h
// SecurityInternal
//
// Created by Matej Kenda on 17/02/2017.
// Copyright © 2017 Digithurst Bildverarbeitungssysteme GmbH & Co KG. All rights reserved.
//
/**
Objective C functions for conversion to hexadecimal representation and back
*/
#ifndef HexUtils_h
#define HexUtils_h
/**
Converts data buffer to hex encoded string.
*/
NSString* _Nonnull HDSDataToHex(const NSData* _Nonnull data);
/**
Converts hex encoded string to data buffer.
Returns nil if input string is can't be converted.
*/
NSData* _Nullable HDSDataFromHex(const NSString* _Nonnull hexEncoded);
#endif /* HexUtils_h */
//
// Created by DHTP on 13.07.17.
// Copyright (c) 2017 DHTP. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Foundation/NSData.h>
#import "CCFunctions.h"
/// Computes HMACs using SHA256.
@interface Hmac : NSObject
@property (readonly, nonnull) NSData* key;
// Make non-sensical inherited initializers inaccessible here.
-(instancetype)init NS_UNAVAILABLE;
/// Creates a new instance that will compute HMACs with the given key.
-(nonnull instancetype) initWithKey:(nonnull NSData*)key;
/// Convenience function to compute the HMAC of the given data.
-(nonnull NSData*) hmac:(nonnull NSData*)input;
/// Convenience function that computes the HMAC of the given data with the given key.
+(nonnull NSData*) computeOf:(nonnull NSData*)input with:(nonnull NSData*)key;
// TODO implement piece-wise HMAC-ing, if that's relevant
@end
\ No newline at end of file
framework module CommonCryptoWrap {
umbrella header "CommonCryptoWrap.h"
export *
module * { export * }
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Headers/CCFunctions.h</key>
<data>
2mwS4+sRHcCtZj68kxMIVJiKuWQ=
</data>
<key>Headers/CommonCryptoWrap.h</key>
<data>
luhel/C5H4lnTGo3miaT7YCaZk0=
</data>
<key>Headers/HDSAesCryptor.h</key>
<data>
/jjOTTj1QWa5kMJLy+ny8Vw1iPw=
</data>
<key>Headers/HDSCrypto.h</key>
<data>
H9SLcmiR49EeZMN1bbq1JOF0AmE=
</data>
<key>Headers/HDSDecryptingOutputStream.h</key>
<data>
qSXrDpSJH5rUVHUCN89/3JNhr3U=
</data>
<key>Headers/HDSEncryptingInputStream.h</key>
<data>
Am4vcDx92IL8NWSQJwVS1R2zSGA=
</data>
<key>Headers/HexUtils.h</key>
<data>
cjrkwb5ChhXS5bl9FLyrJSr8Zfw=
</data>
<key>Headers/Hmac.h</key>
<data>
F9GLq7cAVFJbYKAb77GTxWtEAMY=
</data>
<key>Info.plist</key>
<data>
YnQxOfaYeo4umafwga2yP+uRwhI=
</data>
<key>Modules/module.modulemap</key>
<data>
zFslGYhiRupdRcksCBbkdohD0pQ=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/CCFunctions.h</key>
<dict>
<key>hash</key>
<data>
2mwS4+sRHcCtZj68kxMIVJiKuWQ=
</data>
<key>hash2</key>
<data>
viVZ5MQS313z68yIj9m0pnKotGpEw0gu/72HpvUB2s4=
</data>
</dict>
<key>Headers/CommonCryptoWrap.h</key>
<dict>
<key>hash</key>
<data>
luhel/C5H4lnTGo3miaT7YCaZk0=
</data>
<key>hash2</key>
<data>
BalLferlQXkOcvnPOD1Z7PoSZo7Gixh7CRDumQ/nyOk=
</data>
</dict>
<key>Headers/HDSAesCryptor.h</key>
<dict>
<key>hash</key>
<data>
/jjOTTj1QWa5kMJLy+ny8Vw1iPw=
</data>
<key>hash2</key>
<data>
b7HSBlHajBalg4PO2rzlDEko+WxNMJ858VVsrz2+do4=
</data>
</dict>
<key>Headers/HDSCrypto.h</key>
<dict>
<key>hash</key>
<data>
H9SLcmiR49EeZMN1bbq1JOF0AmE=
</data>
<key>hash2</key>
<data>
Cb7bP4yGjgfvVMbYjN9OAQGo+e/wsCJwgd3McROSL8w=
</data>
</dict>
<key>Headers/HDSDecryptingOutputStream.h</key>
<dict>
<key>hash</key>
<data>
qSXrDpSJH5rUVHUCN89/3JNhr3U=
</data>
<key>hash2</key>
<data>
LhIUK208sAXLzD90k+ALDqivlBv07zkDQCKMBDXJetk=
</data>
</dict>
<key>Headers/HDSEncryptingInputStream.h</key>
<dict>
<key>hash</key>
<data>
Am4vcDx92IL8NWSQJwVS1R2zSGA=
</data>
<key>hash2</key>
<data>
yL6eHgJKceVS69RLkeUemU67BX/OZrF0loHLKp+rJ5c=
</data>
</dict>
<key>Headers/HexUtils.h</key>
<dict>
<key>hash</key>
<data>
cjrkwb5ChhXS5bl9FLyrJSr8Zfw=
</data>
<key>hash2</key>
<data>