ftp.nice.ch/Attic/openStep/connectivity/mail/EnhanceMail.2.0b4.m.NIHS.bs.tgz#/EnhanceMail/PGP.h

This is PGP.h in view mode; [Download] [Up]

/* -*-C-*-
*******************************************************************************
*
* File:         PGP.h
* RCS:          $Header: /usr/local/lib/cvs/EnhanceMail/PGP.h,v 1.1.1.5 1996/07/01 01:10:23 cedman Exp $
* Description:  
* Author:       Carl Edman
* Created:      Fri Oct 13 11:48:24 1995
* Modified:     Sat Jun 29 18:58:23 1996 (Carl Edman) cedman@capitalist.princeton.edu
* Language:     C
* Package:      N/A
* Status:       Experimental (Do Not Distribute)
*
* (C) Copyright 1995, but otherwise this file is perfect freeware.
*
*******************************************************************************
*/

#import <appkit/appkit.h>

@interface EnhancePGP : Object
   {
   id passPanel;
   id userField;
   id passField;
   
   id errPanel;
   id errText;
   id errDefaultButton;
   id errNonDefaultButton;

   time_t passTime;
   }

+ new;

- (int)handleError:(const char *)err ok:(BOOL)defok;

- getUser:(const char **)user pass:(const char **)pass;
- clobberPass;

- reenter:sender;
- ok:sender;
- cancel:sender;

- (int)runPGP:(SimpleString *)In to:(SimpleString *)Out error:(SimpleString *)Err args:(const char **)argv;
- (BOOL)grabKey:(const char *)keyid;
- (BOOL)encodePGP:(MailMessage *)mes to:(StringList *)rcpt sign:(BOOL)sign encrypt:(BOOL)encrypt;
- (BOOL)decodePGP:(MailMessage *)mes;
@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.