Skip to content

Instantly share code, notes, and snippets.

@jwhitehorn
Created September 24, 2013 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwhitehorn/6688913 to your computer and use it in GitHub Desktop.
Save jwhitehorn/6688913 to your computer and use it in GitHub Desktop.
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#pragma mark Named Structures
struct CGPoint {
double x;
double y;
};
struct CGRect {
struct CGPoint origin;
struct CGSize size;
};
struct CGSize {
double width;
double height;
};
#pragma mark Typedef'd Structures
typedef struct {
NSData *imageData;
unsigned int width;
unsigned int height;
} CDStruct_ee380287;
typedef struct {
short _field1;
short _field2;
short _field3;
} CDStruct_da492c19;
typedef struct CDStruct_183601bc;
typedef struct {
int count;
int capa;
CDStruct_183601bc **items;
int unusedImageCount;
int componentCount;
int componentCapa;
int bestComponentIndex;
int bestMapiComponentIndex;
CDStruct_183601bc **components;
short mapiNodeAddedIndex;
short mapiNodeRemovedIndex;
int updateCount;
_Bool structureIsInconsistent;
} CDStruct_87aaca7b;
typedef struct {
struct {
double _field1;
double _field2;
double _field3;
} _field1;
short _field2;
short _field3;
short _field4;
short _field5;
} CDStruct_b8f558b1;
typedef struct {
short _field1;
short _field2;
short _field3;
short _field4;
short _field5;
short _field6;
struct {
CDStruct_da492c19 _field1;
short _field2;
short _field3;
} _field7[25];
short _field8;
short _field9;
short _field10;
short _field11;
short _field12;
short _field13;
} CDStruct_d847c298;
typedef struct {
short _field1;
short _field2;
short _field3;
CDStruct_da492c19 _field4;
CDStruct_d847c298 _field5;
int _field6;
int _field7;
} CDStruct_c1f5fb5c;
#pragma mark -
/*
* File: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/PrivateFrameworks/BiometricKit.framework/BiometricKit
* UUID: 00DD43CA-77CC-3458-8BBD-ED61DFC7000F
* Arch: 0x100000c:0x0
* Current version: 1.0.0, Compatibility version: 1.0.0
* Source version: 152.0.0.0.0
* Minimum iOS version: 7.0.0
* SDK version: 7.0.0
*
* Objective-C Garbage Collection: Unsupported
*/
@protocol BiometricKitDelegate <NSObject>
@optional
- (void)homeButtonPressed;
- (void)enrollProgress:(id)arg1;
- (void)statusMessage:(unsigned int)arg1;
- (void)matchResult:(id)arg1 withDetails:(id)arg2;
- (void)matchResult:(id)arg1;
- (void)enrollResult:(id)arg1;
@end
@protocol BiometricKitDelegateXpcProtocol
- (void)homeButtonPressed;
- (void)statusMessage:(unsigned int)arg1;
- (void)matchResult:(id)arg1;
- (void)enrollResult:(id)arg1;
@end
@protocol BiometricKitXpcProtocol
- (void)getSerialisedTemplateForIdentity:(id)arg1 withReplyBlock:(id)arg2;
- (void)lockSensorWithReplyBlock:(id)arg1;
- (void)unpairSensorWithReplyBlock:(id)arg1;
- (void)provisionSensorWithReplyBlock:(id)arg1;
- (void)pullDebugImageData:(_Bool)arg1 withReplyBlock:(id)arg2;
- (void)pullCaptureBufferWithReplyBlock:(id)arg1;
- (void)setDebugImages:(_Bool)arg1 withReplyBlock:(id)arg2;
- (void)getCalibrationDataStateWithReplyBlock:(id)arg1;
- (void)getSensorCalibrationStatusWithReplyBlock:(id)arg1;
- (void)getCalBlobVersionWithReplyBlock:(id)arg1;
- (void)getProvisioningStateWithReplyBlock:(id)arg1;
- (void)preventAutonomousMatchingMode:(_Bool)arg1 withReplyBlock:(id)arg2;
- (void)getNodeTopologyForIdentity:(id)arg1 withReplyBlock:(id)arg2;
- (void)pullMatchTopologyDataWithReplyBlock:(id)arg1;
- (void)pullAlignmentDataWithReplyBlock:(id)arg1;
- (void)enrollContinueWithReplyBlock:(id)arg1;
- (void)getMaxIdentityCount:(int)arg1 withReplyBlock:(id)arg2;
- (void)getCountersignedStoreTokenWithReplyBlock:(id)arg1;
- (void)registerStoreToken:(id)arg1 withReplyBlock:(id)arg2;
- (void)registerDSID:(unsigned long long)arg1 withAuthToken:(id)arg2 withReplyBlock:(id)arg3;
- (void)resetEngineWithReplyBlock:(id)arg1;
- (void)identities:(id)arg1 withReplyBlock:(id)arg2;
- (void)getIdentityFromUUID:(id)arg1 withReplyBlock:(id)arg2;
- (void)removeIdentity:(id)arg1 withReplyBlock:(id)arg2;
- (void)updateIdentity:(id)arg1 withReplyBlock:(id)arg2;
- (void)cancelWithReplyBlock:(id)arg1;
- (void)matchIdentities:(id)arg1 withReplyBlock:(id)arg2;
- (void)match:(id)arg1 withOptions:(id)arg2 withReplyBlock:(id)arg3;
- (void)match:(id)arg1 withReplyBlock:(id)arg2;
- (void)enroll:(int)arg1 withAuthToken:(id)arg2 withReplyBlock:(id)arg3;
- (void)suspendWork:(_Bool)arg1 withReplyBlock:(id)arg2;
- (void)registerDelegate:(_Bool)arg1 withReplyBlock:(id)arg2;
- (void)connectWithReplyBlock:(id)arg1;
@end
@protocol NSCoding
- (id)initWithCoder:(id)arg1;
- (void)encodeWithCoder:(id)arg1;
@end
@protocol NSObject
- (id)description;
- (unsigned long long)retainCount;
- (id)autorelease;
- (oneway void)release;
- (id)retain;
- (_Bool)respondsToSelector:(SEL)arg1;
- (_Bool)conformsToProtocol:(id)arg1;
- (_Bool)isMemberOfClass:(Class)arg1;
- (_Bool)isKindOfClass:(Class)arg1;
- (_Bool)isProxy;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1;
- (struct _NSZone *)zone;
- (id)self;
- (Class)class;
- (Class)superclass;
- (unsigned long long)hash;
- (_Bool)isEqual:(id)arg1;
@optional
- (id)debugDescription;
@end
@protocol NSSecureCoding <NSCoding>
+ (_Bool)supportsSecureCoding;
@end
@interface BiometricKitXPCClient : NSObject
{
NSXPCConnection *_connection;
id <BiometricKitDelegate> _delegate;
id _interruptionHandler;
}
@property(copy, nonatomic) id interruptionHandler; // @synthesize interruptionHandler=_interruptionHandler;
@property(nonatomic) id <BiometricKitDelegate> delegate; // @synthesize delegate=_delegate;
- (void)homeButtonPressed;
- (void)statusMessage:(unsigned int)arg1;
- (void)matchResult:(id)arg1;
- (void)enrollResult:(id)arg1;
- (id)getSerialisedTemplateForIdentity:(id)arg1;
- (void)setDebugImages:(_Bool)arg1;
- (int)lockSensor;
- (int)unpairSensor;
- (int)provisionSensor;
- (id)pullDebugImageData:(_Bool)arg1 imageWidth:(unsigned int *)arg2 imageHeight:(unsigned int *)arg3;
- (id)pullCaptureBuffer;
- (long long)getCalibrationDataState;
- (long long)getSensorCalibrationStatus;
- (long long)getCalBlobVersion;
- (int)getCountersignedStoreToken:(id *)arg1;
- (int)registerStoreToken:(id)arg1;
- (int)registerDSID:(unsigned long long)arg1 withAuthToken:(id)arg2;
- (long long)getProvisioningState;
- (int)preventAutonomousMatchingMode:(_Bool)arg1;
- (id)getNodeTopologyForIdentity:(id)arg1;
- (id)pullMatchTopologyData;
- (id)pullAlignmentData;
- (int)enrollContinue;
- (int)resetEngine;
- (long long)getMaxIdentityCount:(int)arg1;
- (id)identities:(id)arg1;
- (id)getIdentityFromUUID:(id)arg1;
- (int)removeIdentity:(id)arg1;
- (int)updateIdentity:(id)arg1;
- (void)cancel;
- (int)matchIdentities:(id)arg1;
- (int)match:(id)arg1 withOptions:(id)arg2;
- (int)match:(id)arg1;
- (int)enroll:(int)arg1 withAuthToken:(id)arg2;
- (void)suspendWork:(_Bool)arg1;
- (void)registerDelegate:(_Bool)arg1;
- (void)connect;
- (void)dealloc;
- (id)init;
@end
@interface BiometricKitTemplateInfo : NSObject
{
NSArray *_topology;
NSDictionary *_details;
}
@property(retain, nonatomic) NSDictionary *details; // @synthesize details=_details;
@property(retain, nonatomic) NSArray *topology; // @synthesize topology=_topology;
- (void)dealloc;
- (id)init;
@end
@interface BiometricKitStatistics : NSObject
{
_Bool _fingerOn;
_Bool _enrolling;
_Bool _badImagePerFingerDown;
unsigned long long _enrollmentStarTime;
unsigned int _touchesPerEnroll;
unsigned int _badImagesPerEnroll;
unsigned int _rejectedImagesPerEnroll;
unsigned int _primaryClusterAdditions;
unsigned int _primaryClusterFailedAdditions;
unsigned int _otherClustersAdditions;
unsigned int _joinEvents;
double _area;
double _primaryClusterArea;
}
+ (id)statistics;
- (void)enrollProgress:(id)arg1;
- (void)statusMessage:(unsigned int)arg1;
- (void)enrollResult:(id)arg1 componentSet:(CDStruct_87aaca7b *)arg2;
- (void)enroll:(int)arg1;
- (void)initEnrollmentValues;
- (id)init;
@end
@interface BiometricKit : NSObject <BiometricKitDelegate>
{
BiometricKitXPCClient *_xpcClient;
int _enrollingMode;
int _matchingMode;
BiometricKitStatistics *_statistics;
UIImage *_scanbedImage;
UIImage *_fauxprintImage;
struct CGRect _nodeRect[25];
UIImage *_images[25];
CDStruct_87aaca7b _compSet;
int _rejectTouchCount;
_Bool _rejectTouch;
_Bool _showDebugImages;
_Bool _enableLogger;
struct {
CDStruct_ee380287 nodes[25];
} _enrollImageSet;
_Bool _isInternalInstall;
_Bool _inUse;
int _enrollProgressConfigRenderMode;
int _renderMode;
float _opacity;
id <BiometricKitDelegate> _delegate;
struct CGSize _enrollProgressConfigRenderViewSize;
}
+ (id)getLogsForProcess:(id)arg1;
+ (long long)getSensorPatchVersion;
+ (double)getModulationRatio;
+ (id)stringForProvisioningState:(int)arg1;
+ (id)allocWithZone:(struct _NSZone *)arg1;
+ (id)manager;
+ (id)preferencesGetStringValue:(const struct __CFString *)arg1;
+ (_Bool)preferencesGetBOOLValue:(const struct __CFString *)arg1;
+ (void)preferencesSetBOOLValue:(_Bool)arg1 forKey:(const struct __CFString *)arg2;
@property(nonatomic) float opacity; // @synthesize opacity=_opacity;
@property(nonatomic) int renderMode; // @synthesize renderMode=_renderMode;
@property(nonatomic) struct CGSize enrollProgressConfigRenderViewSize; // @synthesize enrollProgressConfigRenderViewSize=_enrollProgressConfigRenderViewSize;
@property(nonatomic) int enrollProgressConfigRenderMode; // @synthesize enrollProgressConfigRenderMode=_enrollProgressConfigRenderMode;
@property _Bool inUse; // @synthesize inUse=_inUse;
@property(nonatomic) id <BiometricKitDelegate> delegate; // @synthesize delegate=_delegate;
- (id)imageWithImage:(id)arg1 withTintColor:(id)arg2;
- (id)imageWithImage:(id)arg1 withMaskImage:(id)arg2;
- (id)imageFauxprint:(struct CGRect)arg1 withTheta:(const CDStruct_b8f558b1 *)arg2 withLamda:(float)arg3;
- (id)imageFromBitmapData:(id)arg1 inRect:(struct CGRect)arg2;
- (id)imageTopology:(CDStruct_87aaca7b *)arg1 forGroup:(unsigned short)arg2;
- (id)compositeTopologyImage:(CDStruct_87aaca7b *)arg1;
- (id)topologyImage:(id)arg1;
- (id)identityImage:(id)arg1;
- (int)matchIdentity:(id)arg1;
- (id)imageWithImage:(id)arg1 inRect:(struct CGRect)arg2;
- (id)imageWithImage:(id)arg1 withNode:(id)arg2 withRect:(struct CGRect)arg3 alpha:(float)arg4;
- (void)appWillEnterForeground:(id)arg1;
- (void)appDidEnterBackground:(id)arg1;
- (void)homeButtonPressed;
- (void)statusMessage:(unsigned int)arg1;
- (void)enrollProgressMessage:(unsigned int)arg1;
- (void)matchResult:(id)arg1;
- (void)enrollResult:(id)arg1;
- (id)stringFromSensorConfiguration;
- (id)getLoggerAttachmentsForRadar:(_Bool)arg1;
- (id)pullDebugImage:(_Bool)arg1;
- (id)imageFromRawImageData:(CDStruct_ee380287 *)arg1;
- (void)pullDebugImageData:(_Bool)arg1 target:(CDStruct_ee380287 *)arg2;
- (id)pullCaptureBuffer;
- (void)setDebugImages:(_Bool)arg1;
- (long long)getCalibrationDataState;
- (long long)getSensorCalibrationStatus;
- (long long)getCalBlobVersion;
- (long long)getProvisioningState;
- (int)getCountersignedStoreToken:(id *)arg1;
- (int)registerStoreToken:(id)arg1;
- (int)registerDSID:(unsigned long long)arg1 withAuthToken:(id)arg2;
- (int)resetEngine;
- (id)createMatchInfo:(id)arg1 withTopology:(const CDStruct_c1f5fb5c *)arg2 withMatchImage:(CDStruct_ee380287 *)arg3;
- (id)getTemplateInfo:(id)arg1;
- (long long)getMaxIdentityCount:(int)arg1;
- (id)identities:(id)arg1;
- (id)getIdentityFromUUID:(id)arg1;
- (int)removeIdentity:(id)arg1;
- (int)updateIdentity:(id)arg1;
- (void)cancel;
- (int)preventAutonomousMatchingMode:(_Bool)arg1;
- (int)matchIdentities:(id)arg1;
- (int)match:(id)arg1 withOptions:(id)arg2;
- (int)match:(id)arg1;
- (int)enroll:(int)arg1 withAuthToken:(id)arg2;
- (int)enroll:(int)arg1;
- (void)dealloc;
- (id)init;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (void)updateEnableLogger;
@end
@interface BiometricKitIdentity : NSObject <NSSecureCoding>
{
int _type;
int _attribute;
int _entity;
NSUUID *_uuid;
NSString *_name;
}
+ (_Bool)supportsSecureCoding;
+ (id)biometricKitIdentity;
@property(copy, nonatomic) NSString *name; // @synthesize name=_name;
@property(nonatomic) int entity; // @synthesize entity=_entity;
@property(nonatomic) int attribute; // @synthesize attribute=_attribute;
@property(nonatomic) int type; // @synthesize type=_type;
@property(retain, nonatomic) NSUUID *uuid; // @synthesize uuid=_uuid;
- (void)encodeWithCoder:(id)arg1;
- (id)initWithCoder:(id)arg1;
- (void)dealloc;
- (id)init;
@end
@interface BiometricKitMatchInfo : NSObject
{
NSArray *_topology;
NSDictionary *_details;
}
@property(retain, nonatomic) NSDictionary *details; // @synthesize details=_details;
@property(retain, nonatomic) NSArray *topology; // @synthesize topology=_topology;
- (void)dealloc;
- (id)init;
@end
@interface BiometricKitEnrollProgressInfo : NSObject
{
int _message;
long long _progress;
long long _currentPrimaryComponentID;
UIImage *_captureImage;
UIImage *_renderedImage;
NSDictionary *_messageDetails;
}
@property(retain, nonatomic) NSDictionary *messageDetails; // @synthesize messageDetails=_messageDetails;
@property(nonatomic) int message; // @synthesize message=_message;
@property(retain, nonatomic) UIImage *renderedImage; // @synthesize renderedImage=_renderedImage;
@property(retain, nonatomic) UIImage *captureImage; // @synthesize captureImage=_captureImage;
@property(nonatomic) long long currentPrimaryComponentID; // @synthesize currentPrimaryComponentID=_currentPrimaryComponentID;
@property(nonatomic) long long progress; // @synthesize progress=_progress;
- (void)dealloc;
- (id)init;
@end
@interface BiometricKitEnrollProgressCoordinates : NSObject
{
double _x;
double _y;
double _angle;
}
@property(nonatomic) double angle; // @synthesize angle=_angle;
@property(nonatomic) double y; // @synthesize y=_y;
@property(nonatomic) double x; // @synthesize x=_x;
@end
@interface BiometricKitEnrollProgressMergedComponent : NSObject
{
long long _componentID;
BiometricKitEnrollProgressCoordinates *_transformationCoordinates;
}
@property(retain, nonatomic) BiometricKitEnrollProgressCoordinates *transformationCoordinates; // @synthesize transformationCoordinates=_transformationCoordinates;
@property(nonatomic) long long componentID; // @synthesize componentID=_componentID;
- (void)dealloc;
- (id)init;
@end
@interface BiometricKitDebugLog : NSObject
{
}
+ (id)getLogsForProcess:(id)arg1;
+ (id)getRadarAtachmentsForLastMatch;
+ (id)getRadarAtachmentsForLastEnrollment;
+ (void)logRemoveIdentity:(id)arg1;
+ (void)logMessage:(id)arg1;
+ (void)finishEnrollLogWithStatus:(int)arg1 withIdentity:(id)arg2 withTemplate:(id)arg3;
+ (void)logStatus:(int)arg1;
+ (void)logRejectedImage:(id)arg1;
+ (void)logMatchResult:(id)arg1 withTopology:(const CDStruct_c1f5fb5c *)arg2 withImage:(const CDStruct_ee380287 *)arg3 withCaptureBuffer:(id)arg4 withTemplate:(id)arg5;
+ (void)logEnrollMessage:(int)arg1 withTopology:(const CDStruct_d847c298 *)arg2 withImage:(const CDStruct_ee380287 *)arg3 withCaptureBuffer:(id)arg4;
+ (void)startEnrollLog;
+ (void)enableLogger:(_Bool)arg1 toPath:(id)arg2;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment