pike.git / lib / modules / Standards.pmod / X509.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:1653:    }       if( authorities_cache_expire[key] || cache )    {    authorities_cache[key] = res;    authorities_cache_expire[key] = expire;    }    return res;   }    - //! Decodes a certificate chain, oredered from leaf to root, and + //! Decodes a certificate chain, ordered from leaf to root, and   //! checks the signatures. Verifies that the chain can be decoded   //! correctly, is unbroken, and that all certificates are in effect   //! (time-wise.) and allowed to sign it's child certificate.   //!   //! No verifications are done on the leaf certificate to determine   //! what it can and can not be used for.   //!   //! Returns a mapping with the following contents, depending   //! on the verification of the certificate chain:   //!