Files
react-native-code-push/ios/CodePush/JWT/Core/ClaimSet/JWTClaimsSet.m
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

30 lines
720 B
Objective-C
Executable File

//
// JWTClaimsSet.m
// JWT
//
// Created by Klaas Pieter Annema on 31-05-13.
// Copyright (c) 2013 Karma. All rights reserved.
//
#import "JWTClaimsSet.h"
@implementation JWTClaimsSet
- (id)copyWithZone:(NSZone *)zone {
JWTClaimsSet *newClaimsSet = [[self.class alloc] init];
newClaimsSet.issuer = self.issuer;
newClaimsSet.subject = self.subject;
newClaimsSet.audience = self.audience;
newClaimsSet.expirationDate = self.expirationDate;
newClaimsSet.notBeforeDate = self.notBeforeDate;
newClaimsSet.issuedAt = self.issuedAt;
newClaimsSet.identifier = self.identifier;
newClaimsSet.type = self.type;
newClaimsSet.scope = self.scope;
return newClaimsSet;
}
@end