Find
C
ase-sensitive
R
egexp search
Path
Showing
1bc4a124
from
2026-10-01
:
Bug
2076569
- Fail the SMTP login when the NTLM module rejects a server challenge. r=babolivier
comm-central
/
mailnews
/
mime
/
cthandlers
/
pgpmime
Navigation
Enable keyboard shortcuts
Name
Description
Size
Coverage
components.conf
838
-
moz.build
420
-
nsPgpMimeMimeContentTypeHandler.h
1089
-
nsPgpMimeProxy.cpp
Overall description =================== There are three components involved here: MIME, a proxy object (nsPgpMimeProxy) and Enigmail (or any other add-on that registered a decryption object with "@mozilla.org/mime/pgp-mime-js-decrypt;1"). MIME creates and initialises the proxy object in nsPgpMimeProxy::Init(). This creates a decryption object, for example EnigmailMimeDecrypt. When MIME wants to decode something, it calls the Write() method of the proxy, which in turn calls OnDataAvailable() on the decryptor. The decryptor obtains the encrypted data form the proxy via the proxy's Read() method. The decryptor decrypts the data and passes the result back to the proxy, using the OutputDecryptedData() method or by passing a stream to the proxy's OnDataAvailable() method, in which the proxy will read from that stream. The proxy knows how to interface with MIME and passes the data on using some function pointers it got given via nsPgpMimeProxy::SetMimeCallback().
20359
-
nsPgpMimeProxy.h
2043
-