Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsISMimeJSHelper Interface Reference

import "nsISMimeJSHelper.idl";

Inheritance diagram for nsISMimeJSHelper:
Inheritance graph
[legend]
Collaboration diagram for nsISMimeJSHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void getRecipientCertsInfo (in nsIMsgCompFields compFields, out unsigned long count,[array, size_is(count)] out wstring emailAddresses,[array, size_is(count)] out long certVerification,[array, size_is(count)] out wstring certIssuedInfos,[array, size_is(count)] out wstring certExpiresInfos,[array, size_is(count)] out nsIX509Cert certs, out PRBool canEncrypt)
 Obtains detailed information about the certificate availability status of email recipients.
void getNoCertAddresses (in nsIMsgCompFields compFields, out unsigned long count,[array, size_is(count)] out wstring emailAddresses)
 Obtains a list of email addresses where valid email recipient certificates are not yet available.

Detailed Description

Definition at line 49 of file nsISMimeJSHelper.idl.


Member Function Documentation

void nsISMimeJSHelper::getNoCertAddresses ( in nsIMsgCompFields  compFields,
out unsigned long  count,
[array, size_is(count)] out wstring  emailAddresses 
)

Obtains a list of email addresses where valid email recipient certificates are not yet available.

Parameters:
compFields- Attributes of the composed message
count- The number of returned email addresses
emailAddresses- The list of email addresses without valid certs
Exceptions:
NS_ERROR_FAILURE- unexptected failure
NS_ERROR_OUT_OF_MEMORY- could not create the out list
NS_ERROR_INVALID_ARG
void nsISMimeJSHelper::getRecipientCertsInfo ( in nsIMsgCompFields  compFields,
out unsigned long  count,
[array, size_is(count)] out wstring  emailAddresses,
[array, size_is(count)] out long  certVerification,
[array, size_is(count)] out wstring  certIssuedInfos,
[array, size_is(count)] out wstring  certExpiresInfos,
[array, size_is(count)] out nsIX509Cert  certs,
out PRBool  canEncrypt 
)

Obtains detailed information about the certificate availability status of email recipients.

Parameters:
compFields- Attributes of the composed message
count- The number of entries in returned arrays
emailAddresses- The list of all recipient email addresses
certVerification- The verification/validity status of recipient certs
certIssuedInfos- If a recipient cert was found, when has it been issued?
certExpiredInfos- If a recipient cert was found, when will it expire?
certs- The recipient certificates, which can contain null for not found
canEncrypt- whether valid certificates have been found for all recipients
Exceptions:
NS_ERROR_FAILURE- unexptected failure
NS_ERROR_OUT_OF_MEMORY- could not create the out list
NS_ERROR_INVALID_ARG

The documentation for this interface was generated from the following file: