This is Cryptor.h in view mode; [Download] [Up]
#import <stdio.h> #import <sys/types.h> #import <signal.h> #import <AppKit/NSApplication.h> #import <Foundation/NSFileManager.h> #import <Foundation/NSBundle.h> #import <Foundation/NSFileHandle.h> #import <Foundation/NSTask.h> #import <Foundation/NSData.h> #import <Foundation/NSString.h> #import <Foundation/NSPathUtilities.h> #import <Foundation/NSProcessInfo.h> #import <AppKit/NSPanel.h> #import <AppKit/NSTextField.h> #import <AppKit/NSTextView.h> #import "NSTask_accessing.h" #define ENCRYPT 0 #define ENCRYPT_IDEA 1 #define DECRYPT 2 #define CHECKSIG 3 #define CLEARSIGN 4 #define DETACHEDSIG 5 @interface Cryptor:NSObject { /* Outlets */ NSPanel *statusPanel; NSTextView *statusTextView; NSPanel *outputPanel; NSTextView *outputTextView; NSPanel *eAndSPanel; NSPanel *ePanel; NSPanel *dPanel; NSPanel *sPanel; NSPanel *iPanel; NSTextField *eAndSencryptToField; NSTextField *eAndSsecretIDField; NSTextField *eAndSsecretPhraseField; NSTextField *eEncryptToField; NSTextField *dPhraseField; NSTextField *iPhraseField; NSTextField *sigIDField; NSTextField *sigPhraseField; NSRange statusRange,outputRange; } - (NSData *)runpgp:(int)mode options:(NSMutableArray *)lineopts data:(NSData *)pgpDataIn; - (void)getEncryptInfo:(NSString **)recip; - (void)getEncryptAndSignInfo:(NSString **)recip userID:(NSString **)userid passPhrase:(NSString **)phrase; - (void)getDecryptInfo:(NSString **)phrase; - (void)getSignatureInfo:(NSString **)userid passPhrase:(NSString **)phrase; - (void)getIdeaPhrase:(NSString **)phrase; - showStatus:sender; - showOutput:sender; - endPassPhraseSession:sender; - cancelModal:sender; - clearIdeaPhrase:sender; - clearDecryptPhrase:sender; - clearEandSPhrase:sender; - clearSignPhrase:sender; - clearRecipient:sender; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.