aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/rfc822/MCOMessageBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/rfc822/MCOMessageBuilder.h')
-rw-r--r--src/objc/rfc822/MCOMessageBuilder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objc/rfc822/MCOMessageBuilder.h b/src/objc/rfc822/MCOMessageBuilder.h
index 1663d6f7..fbebb7f6 100644
--- a/src/objc/rfc822/MCOMessageBuilder.h
+++ b/src/objc/rfc822/MCOMessageBuilder.h
@@ -61,6 +61,9 @@
/** RFC 822 formatted message for encryption.*/
- (NSData *) dataForEncryption;
+/** Store RFC 822 formatted message to file. */
+- (BOOL) writeToFile:(NSString *)filename error:(NSError **)error;
+
/**
Returns an OpenPGP signed message with a given signature.
The signature needs to be computed on the data returned by -dataForEncryption