mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
22 lines
937 B
Objective-C
22 lines
937 B
Objective-C
//
|
|
// profiles.h
|
|
// StikDebug
|
|
//
|
|
// Created by s s on 2025/11/29.
|
|
//
|
|
|
|
#ifndef PROFILES_H
|
|
#define PROFILES_H
|
|
#include "idevice.h"
|
|
#include <Foundation/Foundation.h>
|
|
NSArray<NSData*>* _Nullable fetchAppProfiles(AdapterHandle* _Nonnull adapter, RsdHandshakeHandle* _Nonnull handshake, NSError* _Nullable * _Nullable error);
|
|
bool removeProfile(AdapterHandle* _Nonnull adapter, RsdHandshakeHandle* _Nonnull handshake, NSString* _Nonnull uuid, NSError* _Nullable * _Nullable error);
|
|
bool addProfile(AdapterHandle* _Nonnull adapter, RsdHandshakeHandle* _Nonnull handshake, NSData* _Nonnull profile, NSError* _Nullable * _Nullable error);
|
|
|
|
@interface CMSDecoderHelper : NSObject
|
|
// Decode CMS/PKCS7 data and return decoded payload and any embedded certs
|
|
+ (NSData*)decodeCMSData:(NSData *)cmsData
|
|
// outCerts:(NSArray<id> * _Nullable * _Nullable)outCerts
|
|
error:(NSError * _Nullable * _Nullable)error;
|
|
@end
|
|
#endif
|