Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
generate_cert(filename, rsa, rsa_sign, cn, cn_issuer, 
              start_time, end_time)

Generate a signed X509 certificate suitable for use by a Mixminion
server.  The certificate is stored to <filename>, uses the =private= key
<rsa>, and is signed using the =private= key <rsa_sign>.  The
certificate's commonName field is set to <cn>, and the issuer's
commonName will be set to <cn_issuer>. The key is valid from <start_time>
until <end_time>.  All other fields are given reasonable defaults.

src/m/i/mixminion-HEAD/lib/mixminion/server/ServerKeys.py   mixminion(Download)
    fname = filename+"_tmp"
                                   mmtpKey, identityKey,
                                   "%s<MMTP>" %nickname,
                                   certStarts, certEnds)
    certText = readFile(fname)