mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
Web-based management of email certificate (cont'd)
This commit is contained in:
@@ -739,6 +739,41 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return [self boolForKey: @"SOGoMailUseOutlookStyleReplies"];
|
||||
}
|
||||
|
||||
- (void) setMailCertificate: (NSData *) newValue
|
||||
{
|
||||
[self setObject: [newValue stringByEncodingBase64] forKey: @"SOGoMailCertificate"];
|
||||
}
|
||||
|
||||
- (void) unsetMailCertificate
|
||||
{
|
||||
[self removeObjectForKey: @"SOGoMailCertificate"];
|
||||
}
|
||||
|
||||
- (NSString *) mailCertificate
|
||||
{
|
||||
return [self stringForKey: @"SOGoMailCertificate"];
|
||||
}
|
||||
|
||||
- (void) setMailCertificateAlwaysSign: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoMailCertificateAlwaysSign"];
|
||||
}
|
||||
|
||||
- (BOOL) mailCertificateAlwaysSign
|
||||
{
|
||||
return [self boolForKey: @"SOGoMailCertificateAlwaysSign"];
|
||||
}
|
||||
|
||||
- (void) setMailCertificateAlwaysEncrypt: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoMailCertificateAlwaysEncrypt"];
|
||||
}
|
||||
|
||||
- (BOOL) mailCertificateAlwaysEncrypt
|
||||
{
|
||||
return [self boolForKey: @"SOGoMailCertificateAlwaysEncrypt"];
|
||||
}
|
||||
|
||||
- (void) setAuxiliaryMailAccounts: (NSArray *) newAccounts
|
||||
{
|
||||
[self setObject: newAccounts forKey: @"AuxiliaryMailAccounts"];
|
||||
@@ -838,7 +873,6 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return [self objectForKey: @"SOGoMailLabelsColors"];
|
||||
}
|
||||
|
||||
|
||||
- (void) setSieveFilters: (NSArray *) newValue
|
||||
{
|
||||
[self setObject: newValue forKey: @"SOGoSieveFilters"];
|
||||
|
||||
Reference in New Issue
Block a user