% This LaTeX document was generated using the LaTeX backend of PlDoc, % The SWI-Prolog documentation system \subsection{library(xmlenc): XML encryption library} \label{sec:xmlenc} \begin{tags} \mtag{See also}- \url{https://www.w3.org/TR/xmlenc-core1/} \\- \url{https://en.wikipedia.org/wiki/Security_Assertion_Markup_Language} \end{tags} This library is a partial implementation of the XML encryption standard. It implements the \textit{decryption} part, which is needed by SAML clients.\vspace{0.7cm} \begin{description} \predicate[det]{decrypt_xml}{4}{+DOMIn, -DOMOut, :KeyCallback, +Options} \begin{arguments} \arg{KeyCallback} & may be called as follows: \begin{shortlist} \item \verb$call(KeyCallback, name, KeyName, Key)$ \item \verb$call(KeyCallback, public_key, public_key(RSA), Key)$ \item \verb$call(KeyCallback, certificate, Certificate, Key)$ \end{shortlist} \\ \end{arguments} \predicate[det]{load_certificate_from_base64_string}{2}{+String, -Certificate} Loads a certificate from a string, adding newlines and header where appropriate so that OpenSSL 1.0.1+ will be able to parse it \end{description}