Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions SimpleKeychain/A0SimpleKeychain+KeyPair.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,4 @@ NS_ASSUME_NONNULL_BEGIN

@end

@interface A0SimpleKeychain (Deprecated)

/**
* Returns the public key as NSData.
*
* @param keyTag tag of the public key
*
* @return the public key as NSData or nil if not found
*
* @deprecated 0.2.0
*/
- (nullable NSData *)publicRSAKeyDataForTag:(NSString *)keyTag __attribute__((deprecated));

@end

NS_ASSUME_NONNULL_END
8 changes: 0 additions & 8 deletions SimpleKeychain/A0SimpleKeychain+KeyPair.m
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,3 @@ - (SecKeyRef)keyRefOfRSAKeyWithTag:(NSString *)keyTag {
}

@end

@implementation A0SimpleKeychain (Deprecated)

- (NSData *)publicRSAKeyDataForTag:(NSString *)keyTag {
return [self dataForRSAKeyWithTag:keyTag];
}

@end
2 changes: 2 additions & 0 deletions V1_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ The deployment targets for each platform were raised to:
- watchOS **6.2**

## Methods Removed

The method `publicRSAKeyData(forTag:)` was removed.