Camel.SMIMEContext¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class Camel.SMIMEContext(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(session)¶
 - Parameters:
 session (
Camel.Session) – session- Returns:
 a new sm cipher context object.
- Return type:
 
Creates a new sm cipher context object.
- classmethod util_nss_error_to_string(nss_error_code)¶
 - Parameters:
 nss_error_code (
int) – an error code, as returned by PORT_GetError()- Returns:
 a localized text description of the nss_error_code, or
None, when the code is unknown or the library was not compiled with S/MIME support.- Return type:
 
Utility function to get a localized text description for an error code returned by PORT_GetError().
Note: the function returns always
Nonewhen the library was not compiled with S/MIME support.New in version 3.52.
- set_sign_mode(type)¶
 - Parameters:
 type (
Camel.SMIMESign) –