Files
react-native-code-push/ios/CodePush/JWT/Core/Coding/JWTCoding.h
Ruslan Bikkinin 4ab0e5e9fe Implement code signing for client ios SDK (#974)
* 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
2017-09-13 11:28:22 +03:00

25 lines
664 B
Objective-C
Executable File

//
// JWT.h
// JWT
//
// Created by Klaas Pieter Annema on 31-05-13.
// Copyright (c) 2013 Karma. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
@discussion JWT is a general interface for decoding and encoding.
Now it is to complex and fat to support.
Possible solution: split interface into several pieces.
JWT_1_0 -> JWT with plain old functions.
JWT_2_0 -> JWT with builder usage.
JWT_3_0 -> JWT with splitted apart algorithm data and payload data.
*/
@interface JWT : NSObject @end
typedef NS_OPTIONS(NSInteger, JWTCodingDecodingOptions) {
JWTCodingDecodingOptionsNone = 0,
JWTCodingDecodingOptionsSkipVerification = 1
};