branches with status:
Name Status Last Modified Last Commit
lp://staging/~jorton/pyopenssl/trust (Has a merge proposal) 1 Development 2010-04-20 15:31:37 UTC
131. Add support for simple trusted certif...

Author: Joe Orton
Revision Date: 2010-04-20 15:31:37 UTC

Add support for simple trusted certificate handling, and manipulation
of a certificates trust bits:

* src/crypto/crypto.c (crypto_load_trusted_certificate,
  crypto_dump_trusted_certificate): New methods.
  (initcrypto): Add TRUST_* string constants.

* src/crypto/x509.c (crypto_X509_set_trusted_uses,
  crypto_X509_get_trusted_uses, crypto_X509_get_rejected_uses,
  crypto_X509_set_rejected_uses): New methods.
  (crypto_set_trust_or_reject, crypto_X509_stack_to_list):
  New utility function.

* test/test_crypto.py (FunctionTests.test_trusted_certificates):
  New test case.

11 of 1 result