mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 16:20:26 +08:00
* Add JWT Library to ios project * Add new option PublicKey to Info.plist * Implement code signing mechanism Update JWT library to 3.0.0-beta4 Implement signature verification mechanism * Undo redundant changes * Minor improvements * Minor fixes Add additional checking for specific update situations Fix bugs Refactor method names * Add new dependencies to podspec * Minor improvements Fix log messages
19 lines
485 B
Objective-C
Executable File
19 lines
485 B
Objective-C
Executable File
//
|
|
// JWTClaimsSetVerifier.h
|
|
// JWT
|
|
//
|
|
// Created by Lobanov Dmitry on 13.02.16.
|
|
// Copyright © 2016 Karma. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "JWTClaimsSet.h"
|
|
|
|
@interface JWTClaimsSetVerifier : NSObject
|
|
|
|
+ (BOOL)verifyClaimsSet:(JWTClaimsSet *)theClaimsSet withTrustedClaimsSet:(JWTClaimsSet *)trustedClaimsSet;
|
|
|
|
+ (BOOL)verifyClaimsSetDictionary:(NSDictionary *)theClaimsSetDictionary withTrustedClaimsSet:(JWTClaimsSet *)trustedClaimsSet;
|
|
|
|
@end
|