mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
23 lines
776 B
Objective-C
23 lines
776 B
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface MTDatacenterAuthInfo : NSObject <NSCoding>
|
|
|
|
@property (nonatomic, strong, readonly) NSData *authKey;
|
|
@property (nonatomic, readonly) int64_t authKeyId;
|
|
@property (nonatomic, strong, readonly) NSArray *saltSet;
|
|
@property (nonatomic, strong, readonly) NSDictionary *authKeyAttributes;
|
|
|
|
- (instancetype)initWithAuthKey:(NSData *)authKey authKeyId:(int64_t)authKeyId saltSet:(NSArray *)saltSet authKeyAttributes:(NSDictionary *)authKeyAttributes;
|
|
|
|
- (int64_t)authSaltForMessageId:(int64_t)messageId;
|
|
|
|
@end
|