Merge lp:~jorton/pyopenssl/trust into lp:~exarkun/pyopenssl/trunk
Status: | Needs review |
---|---|
Proposed branch: | lp:~jorton/pyopenssl/trust |
Merge into: | lp:~exarkun/pyopenssl/trunk |
Diff against target: |
417 lines (+338/-0) 4 files modified
.bzrignore (+2/-0) src/crypto/crypto.c (+117/-0) src/crypto/x509.c (+169/-0) test/test_crypto.py (+50/-0) |
To merge this branch: | bzr merge lp:~jorton/pyopenssl/trust |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jean-Paul Calderone | Pending | ||
Review via email: mp+27232@code.launchpad.net |
Description of the change
Add support for loading and dumping trusted certificates.
Expose trust attributes in the API.
Unmerged revisions
- 131. By Joe Orton
-
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. - 130. By Joe Orton
-
* .bzrignore: Ignore test output.
- 129. By Joe Orton
-
* .bzrignore: New file; ignore build directory.