Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>3.1.7 PKCS12 objects </title> |
| 5 | <META NAME="description" CONTENT="3.1.7 PKCS12 objects "> |
| 6 | <META NAME="keywords" CONTENT="pyOpenSSL"> |
| 7 | <META NAME="resource-type" CONTENT="document"> |
| 8 | <META NAME="distribution" CONTENT="global"> |
| 9 | <link rel="STYLESHEET" href="pyOpenSSL.css"> |
| 10 | <LINK REL="next" href="openssl-509ext.html"> |
| 11 | <LINK REL="previous" href="openssl-pkcs7.html"> |
| 12 | <LINK REL="up" href="openssl-crypto.html"> |
| 13 | <LINK REL="next" href="openssl-509ext.html"> |
| 14 | </head> |
| 15 | <body> |
| 16 | <DIV CLASS="navigation"> |
| 17 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 18 | <tr> |
| 19 | <td><A href="openssl-pkcs7.html"><img src="previous.gif" |
| 20 | border="0" height="32" |
| 21 | alt="Previous Page" width="32"></A></td> |
| 22 | <td><A href="openssl-crypto.html"><img src="up.gif" |
| 23 | border="0" height="32" |
| 24 | alt="Up One Level" width="32"></A></td> |
| 25 | <td><A href="openssl-509ext.html"><img src="next.gif" |
| 26 | border="0" height="32" |
| 27 | alt="Next Page" width="32"></A></td> |
| 28 | <td align="center" width="100%">Python OpenSSL Manual</td> |
| 29 | <td><A href="contents.html"><img src="contents.gif" |
| 30 | border="0" height="32" |
| 31 | alt="Contents" width="32"></A></td> |
| 32 | <td><img src="blank.gif" |
| 33 | border="0" height="32" |
| 34 | alt="" width="32"></td> |
| 35 | <td><img src="blank.gif" |
| 36 | border="0" height="32" |
| 37 | alt="" width="32"></td> |
| 38 | </tr></table> |
| 39 | <b class="navlabel">Previous:</b> <a class="sectref" href="openssl-pkcs7.html">3.1.6 PKCS7 objects</A> |
| 40 | <b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A> |
| 41 | <b class="navlabel">Next:</b> <a class="sectref" href="openssl-509ext.html">3.1.8 X509Extension objects</A> |
| 42 | <br><hr> |
| 43 | </DIV> |
| 44 | <!--End of Navigation Panel--> |
| 45 | |
| 46 | <H3><A NAME="SECTION000417000000000000000"> </A> |
| 47 | <BR> |
| 48 | 3.1.7 PKCS12 objects |
| 49 | </H3> |
Jean-Paul Calderone | 2aa2b33 | 2008-03-06 21:43:14 -0500 | [diff] [blame] | 50 | |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 51 | <P> |
Jean-Paul Calderone | 2aa2b33 | 2008-03-06 21:43:14 -0500 | [diff] [blame] | 52 | PKCS12 objects have the following methods: |
| 53 | |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 54 | <P> |
Jean-Paul Calderone | c54cc18 | 2008-03-26 21:11:07 -0400 | [diff] [blame] | 55 | <dl><dt><b><a name='l2h-79'><tt class='method'>get_certificate</tt></a></b>() |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 56 | <dd> |
| 57 | Return certificate portion of the PKCS12 structure. |
| 58 | </dl> |
Jean-Paul Calderone | 2aa2b33 | 2008-03-06 21:43:14 -0500 | [diff] [blame] | 59 | |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 60 | <P> |
Jean-Paul Calderone | c54cc18 | 2008-03-26 21:11:07 -0400 | [diff] [blame] | 61 | <dl><dt><b><a name='l2h-80'><tt class='method'>get_privatekey</tt></a></b>() |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 62 | <dd> |
| 63 | Return private key portion of the PKCS12 structure |
| 64 | </dl> |
Jean-Paul Calderone | 2aa2b33 | 2008-03-06 21:43:14 -0500 | [diff] [blame] | 65 | |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 66 | <P> |
Jean-Paul Calderone | c54cc18 | 2008-03-26 21:11:07 -0400 | [diff] [blame] | 67 | <dl><dt><b><a name='l2h-81'><tt class='method'>get_ca_certificates</tt></a></b>() |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 68 | <dd> |
| 69 | Return CA certificates within the PKCS12 object as a tuple. Returns |
| 70 | None if no CA certificates are present. |
| 71 | </dl> |
Jean-Paul Calderone | 2aa2b33 | 2008-03-06 21:43:14 -0500 | [diff] [blame] | 72 | |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 73 | <P> |
| 74 | |
| 75 | <DIV CLASS="navigation"> |
| 76 | <p><hr> |
| 77 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 78 | <tr> |
| 79 | <td><A href="openssl-pkcs7.html"><img src="previous.gif" |
| 80 | border="0" height="32" |
| 81 | alt="Previous Page" width="32"></A></td> |
| 82 | <td><A href="openssl-crypto.html"><img src="up.gif" |
| 83 | border="0" height="32" |
| 84 | alt="Up One Level" width="32"></A></td> |
| 85 | <td><A href="openssl-509ext.html"><img src="next.gif" |
| 86 | border="0" height="32" |
| 87 | alt="Next Page" width="32"></A></td> |
| 88 | <td align="center" width="100%">Python OpenSSL Manual</td> |
| 89 | <td><A href="contents.html"><img src="contents.gif" |
| 90 | border="0" height="32" |
| 91 | alt="Contents" width="32"></A></td> |
| 92 | <td><img src="blank.gif" |
| 93 | border="0" height="32" |
| 94 | alt="" width="32"></td> |
| 95 | <td><img src="blank.gif" |
| 96 | border="0" height="32" |
| 97 | alt="" width="32"></td> |
| 98 | </tr></table> |
| 99 | <b class="navlabel">Previous:</b> <a class="sectref" href="openssl-pkcs7.html">3.1.6 PKCS7 objects</A> |
| 100 | <b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A> |
| 101 | <b class="navlabel">Next:</b> <a class="sectref" href="openssl-509ext.html">3.1.8 X509Extension objects</A> |
| 102 | <hr> |
Jean-Paul Calderone | f7f0fb4 | 2008-10-19 11:55:13 -0400 | [diff] [blame] | 103 | <span class="release-info">Release 0.8.</span> |
Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 104 | </DIV> |
| 105 | <!--End of Navigation Panel--> |
| 106 | |
| 107 | </BODY> |
| 108 | </HTML> |