blob: a58d2e8e703042ac119f407bfb77f7677f33b52b [file] [log] [blame]
#include "CHIPCommandStorageDelegate.h"
#import <Matter/Matter.h>
#include <crypto/CHIPCryptoPAL.h>
@interface CHIPToolKeypair : NSObject <MTRKeypair>
- (BOOL)initialize;
- (NSData *)signMessageECDSA_RAW:(NSData *)message;
- (SecKeyRef)publicKey;
- (CHIP_ERROR)Serialize:(chip::Crypto::P256SerializedKeypair &)output;
- (CHIP_ERROR)Deserialize:(chip::Crypto::P256SerializedKeypair &)input;
- (CHIP_ERROR)createOrLoadKeys:(CHIPToolPersistentStorageDelegate *)storage;
- (NSData *)getIPK;
@end