9 #import <kerio/web/idl/SharedStructures.idl>
10 #import <kerio/web/idl/TimeRanges.idl>
37 enum CertificateType {
62 NamedValueList issuer;
63 NamedValueList subject;
64 NamedMultiValueList subjectAlternativeNameList;
72 string verificationMessage;
77 typedef sequence<Certificate> CertificateList;
94 void get(out CertificateList certificates, out
long totalItems, in
SearchQuery query);
106 void setName(in KId
id, in
string name);
118 void remove(out ErrorList errors, in KIdList ids);
136 void generate(out KId
id, in NamedValueList subject, in
string name, in CertificateType type, in
ValidPeriod period);
146 void getCountryList(out NamedValueList countries);
165 void importCertificate(out KId
id, in KId keyId, in
string fileId, in
string name, in CertificateType type);
179 void importPrivateKey(out KId keyId, out
boolean needPassword, in
string fileId);
193 void unlockPrivateKey(in KId keyId, in
string password);
207 void exportCertificate(out
Download fileDownload, in KId
id);
221 void exportPrivateKey(out
Download fileDownload, in KId
id);
233 void toSource(out
string source, in KId
id);