Skip to content

Instantly share code, notes, and snippets.

@titanous
Created June 19, 2011 01:13
Show Gist options
  • Select an option

  • Save titanous/1033650 to your computer and use it in GitHub Desktop.

Select an option

Save titanous/1033650 to your computer and use it in GitHub Desktop.
/*
* Generated by class-dump 3.3.3 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2010 by Steve Nygard.
*/
#pragma mark -
/*
* File: /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePushService
* UUID: 59F9928E-1C3D-4DBC-BC48-B535D90A4B7A
* Arch: Intel x86-64 (x86_64)
* Current version: 1.0.0, Compatibility version: 1.0.0
*
* Objective-C Garbage Collection: Supported
*/
// Not exported
@interface APSCertificateStorage : NSObject
{
}
+ (id)getUniqueHostIdentifier;
+ (id)commonNameForCertificate:(struct OpaqueSecCertificateRef *)arg1;
+ (struct OpaqueSecCertificateRef *)certificateForName:(id)arg1;
+ (struct OpaqueSecIdentityRef *)identityForName:(id)arg1;
+ (struct OpaqueSecCertificateRef *)certificateForIdentity:(struct OpaqueSecIdentityRef *)arg1;
+ (id)identityExpirationDate:(struct OpaqueSecIdentityRef *)arg1;
+ (struct OpaqueSecIdentityRef *)clientIdentity;
+ (void)deleteClientIdentity;
+ (void)storeCertificateName:(id)arg1;
+ (id)aes128cbcEncryptData:(id)arg1 withKey:(id)arg2;
+ (id)aes128cbcDecryptData:(id)arg1 withKey:(id)arg2;
+ (id)tokenForDomain:(id)arg1 userName:(id)arg2;
+ (void)setToken:(id)arg1 forDomain:(id)arg2 userName:(id)arg3;
+ (struct OpaqueSecKeychainRef *)unlockAndCopyKeychain;
+ (struct OpaqueSecKeychainRef *)getKeychain;
+ (void)deleteKeychain;
@end
@interface APSConnection : NSObject
{
id <APSConnectionDelegate> _delegate;
NSLock *_lock;
NSString *_environmentName;
struct __CFRunLoopSource *_runLoopSource;
NSString *_connectionPortName;
unsigned int _connectionPort;
int _serverPID;
unsigned int _connectionServerPort;
struct __CFMachPort *_connectionSeverCFMachPort;
NSArray *_enabledTopics;
NSArray *_ignoredTopics;
NSMutableDictionary *_subtopics;
BOOL _enableCriticalReliability;
BOOL _ownsNamedPort;
}
+ (void)initialize;
+ (id)environmentForNamedPort:(id)arg1;
+ (struct OpaqueSecIdentityRef *)copyIdentity;
+ (void)launchDaemonWithNamedDelegatePort:(id)arg1;
+ (double)keepAliveIntervalForEnvironmentName:(id)arg1;
- (id)initWithEnvironmentName:(id)arg1;
- (id)initWithEnvironmentName:(id)arg1 namedDelegatePort:(id)arg2;
- (void)dealloc;
- (void)_connect;
- (void)_disconnect;
- (void)_connectionServerPortInvalidated;
- (void)scheduleInRunLoop:(id)arg1;
- (void)removeFromRunLoop;
- (id)_dataForPropertyList:(id)arg1;
- (void)setEnabledTopics:(id)arg1;
- (void)_sendEnabledTopics;
- (void)setIgnoredTopics:(id)arg1;
- (void)_sendIgnoredTopics;
- (void)setSubtopic:(id)arg1 forEnabledTopic:(id)arg2;
- (id)publicToken;
- (BOOL)hasIdentity;
- (void)setEnableCriticalReliability:(BOOL)arg1;
- (void)_sendEnableCriticalReliability;
- (void)_deliverMessageForTopic:(id)arg1 userInfo:(id)arg2;
- (void)_deliverPublicToken:(id)arg1;
@property(readonly) BOOL ownsNamedPort; // @synthesize ownsNamedPort=_ownsNamedPort;
@property(readonly, nonatomic) int serverPID; // @synthesize serverPID=_serverPID;
@property id <APSConnectionDelegate> delegate; // @synthesize delegate=_delegate;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment