MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 3.131.85.46
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/net/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/net/sasl.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:35 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/net/sasl.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(defvar sasl-mechanisms '("CRAM-MD5" "DIGEST-MD5" "PLAIN" "LOGIN" "ANONYMOUS" "NTLM" "SCRAM-MD5"))
(defvar sasl-mechanism-alist '(("CRAM-MD5" sasl-cram) ("DIGEST-MD5" sasl-digest) ("PLAIN" sasl-plain) ("LOGIN" sasl-login) ("ANONYMOUS" sasl-anonymous) ("NTLM" sasl-ntlm) ("SCRAM-MD5" sasl-scram)))
(defvar sasl-unique-id-function 'sasl-unique-id-function)
(byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put sasl-error error-message "SASL error" error-conditions (sasl-error error)] 4)
(defalias 'sasl-error #[(datum) "\301\302C\"\207" [datum signal sasl-error] 3])
#@189 Return a newly allocated SASL client.
NAME is name of the authorization.  SERVICE is name of the service desired.
SERVER is the fully qualified host name of the server to authenticate to.
(defalias 'sasl-make-client #[(mechanism name service server) "\304	\n\305\306!%\207" [mechanism name service server vector make-symbol "sasl-client-properties"] 7 (#$ . 1127)])
#@55 Return the authentication mechanism driver of CLIENT.
(defalias 'sasl-client-mechanism #[(client) "\301H\207" [client 0] 2 (#$ . 1501)])
#@52 Return the authorization name of CLIENT, a string.
(defalias 'sasl-client-name #[(client) "\301H\207" [client 1] 2 (#$ . 1645)])
#@46 Return the service name of CLIENT, a string.
(defalias 'sasl-client-service #[(client) "\301H\207" [client 2] 2 (#$ . 1781)])
#@45 Return the server name of CLIENT, a string.
(defalias 'sasl-client-server #[(client) "\301H\207" [client 3] 2 (#$ . 1914)])
#@97 Destructively set the properties of CLIENT.
The second argument PLIST is the new property list.
(defalias 'sasl-client-set-properties #[(client plist) "\302\303H	\"\207" [client plist setplist 4] 3 (#$ . 2045)])
#@41 Add the given PROPERTY/VALUE to CLIENT.
(defalias 'sasl-client-set-property #[(client property value) "\303\304H	\n#\207" [client property value put 4] 4 (#$ . 2264)])
#@45 Return the value of the PROPERTY of CLIENT.
(defalias 'sasl-client-property #[(client property) "\302H	N\207" [client property 4] 2 (#$ . 2439)])
#@34 Return the properties of CLIENT.
(defalias 'sasl-client-properties #[(client) "\301\302H!\207" [client symbol-plist 4] 3 (#$ . 2592)])
#@123 Make an authentication mechanism.
NAME is a IANA registered SASL mechanism name.
STEPS is list of continuation functions.
(defalias 'sasl-make-mechanism #[(name steps) "\302\303\304	\"\"\207" [name steps vector mapcar #[(step) "\302\303!!\211KM\210	)\207" [step symbol make-symbol symbol-name] 4]] 5 (#$ . 2735)])
#@37 Return name of MECHANISM, a string.
(defalias 'sasl-mechanism-name #[(mechanism) "\301H\207" [mechanism 0] 2 (#$ . 3059)])
#@68 Return the authentication steps of MECHANISM, a list of functions.
(defalias 'sasl-mechanism-steps #[(mechanism) "\301H\207" [mechanism 1] 2 (#$ . 3189)])
#@65 Retrieve an appropriate mechanism object from MECHANISMS hints.
(defalias 'sasl-find-mechanism #[(mechanisms) "\302\303\215\211\203\304	!\210	\305N*\207" [sasl-mechanisms mechanism done (byte-code "\205@	\235\203\303\304\305@\n\"A@\"\210A\211\204\306\207" [sasl-mechanisms mechanisms sasl-mechanism-alist throw done assoc nil] 6) require sasl-mechanism] 3 (#$ . 3351)])
#@45 Return the data which STEP holds, a string.
(defalias 'sasl-step-data #[(step) "\301H\207" [step 1] 2 (#$ . 3743)])
#@28 Store DATA string to STEP.
(defalias 'sasl-step-set-data #[(step data) "\302	I\207" [step data 1] 3 (#$ . 3866)])
#@270 Evaluate the challenge and prepare an appropriate next response.
The data type of the value and 2nd argument STEP is nil or opaque
authentication step which holds the reference to the next action and
the current challenge.  At the first time STEP should be set to nil.
(defalias 'sasl-next-step #[(client step) "\304\305!!\306\n!\203\n\307H	>A@\202	@\211\205$\310\211\n\"\"*\207" [client steps step function sasl-mechanism-steps sasl-client-mechanism vectorp 0 vector] 6 (#$ . 3988)])
(defvar sasl-read-passphrase nil)
(defalias 'sasl-read-passphrase #[(prompt) "\204\"\302\303!\203\303\202\"\304\305\306\"\203\303\202\"\307\310\311\"\210\310	!\207" [sasl-read-passphrase prompt functionp read-passwd load "passwd" t autoload ange-ftp-read-passwd "ange-ftp"] 3])
#@98 Compute a data string which must be different each time.
It contain at least 64 bits of entropy.
(defalias 'sasl-unique-id #[nil "  P\207" [sasl-unique-id-function] 2 (#$ . 4779)])
(defvar sasl-unique-id-char nil)
(defalias 'sasl-unique-id-function #[nil "\206
\302\303 \304\305\306\"S\"T\307\246\310 \311	@\304\312\246\313\"\\\314\"\311	A@\304\312\245\313\"\\\314\"P)\207" [sasl-unique-id-char tm logand random lsh 1 20 625 current-time sasl-unique-id-number-base36 25 16 4] 6])
(defalias 'sasl-unique-id-number-base36 #[(num len) "\302W\203\f	\302X\202\302U\203\303\207\304	\305\245S\"\306\307	\305\246H!P\207" [len num 0 "" sasl-unique-id-number-base36 36 char-to-string "zyxwvutsrqponmlkjihgfedcba9876543210"] 5])
(defconst sasl-plain-steps '(sasl-plain-response))
(defalias 'sasl-plain-response #[(client step) "\304\305\306\307!\"!\310\302\"\307!\311\216\n\203(\n	\230\204(\n\312	\312\260\202-\312	\312R,\207" [client name authenticator-name passphrase sasl-read-passphrase format "PLAIN passphrase for %s: " sasl-client-name sasl-client-property ((fillarray passphrase 0)) ""] 5])
(byte-code "\301\302\303\304\305\"#\210\306\302!\207" [sasl-plain-steps put sasl-plain sasl-mechanism sasl-make-mechanism "PLAIN" provide] 6)
(defconst sasl-login-steps '(ignore sasl-login-response-1 sasl-login-response-2))
(defalias 'sasl-login-response-1 #[(client step) "\301!\207" [client sasl-client-name] 2])
(defalias 'sasl-login-response-2 #[(client step) "\301\302\303\304!\"!\207" [client sasl-read-passphrase format "LOGIN passphrase for %s: " sasl-client-name] 5])
(byte-code "\301\302\303\304\305\"#\210\306\302!\207" [sasl-login-steps put sasl-login sasl-mechanism sasl-make-mechanism "LOGIN" provide] 6)
(defconst sasl-anonymous-steps '(ignore sasl-anonymous-response))
(defalias 'sasl-anonymous-response #[(client step) "\301\302\"\206\n\303!\207" [client sasl-client-property trace sasl-client-name] 3])
(byte-code "\301\302\303\304\305\"#\210\306\302!\210\306\307!\207" [sasl-anonymous-steps put sasl-anonymous sasl-mechanism sasl-make-mechanism "ANONYMOUS" provide sasl] 6)

MMCT - 2023