Skip to content

Commit

Permalink
fix(mail): S/MIME improvements
Browse files Browse the repository at this point in the history
Fixes #4891
Fixes #5450
  • Loading branch information
cgx committed Jan 21, 2022
1 parent b061046 commit 54b163d
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 100 deletions.
6 changes: 4 additions & 2 deletions SoObjects/Mailer/NSData+SMIME.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
@interface NSData (SOGoMailSMIME)

- (NSData *) signUsingCertificateAndKey: (NSData *) theData;
- (NSData *) encryptUsingCertificate: (NSData *) theData;
- (NSData *) encryptUsingCertificate: (NSData *) theData
andAlgos: (NSArray *) theAlgos;
- (NSData *) decryptUsingCertificate: (NSData *) theData;
- (NGMimeMessage *) messageFromEncryptedDataAndCertificate: (NSData *) theCertificate;
- (NSData *) embeddedContent;
- (NGMimeMessage *) messageFromOpaqueSignedData;
- (NSData *) convertPKCS12ToPEMUsingPassword: (NSString *) thePassword;
- (NSData *) signersFromPKCS7;
- (NSData *) signersFromCMS;
- (NSArray *) algosFromCMS;
- (NSDictionary *) certificateDescription;

@end
Expand Down
Loading

0 comments on commit 54b163d

Please sign in to comment.