blob: d881659e3d9ddc3d0ef9a2c9da4f530f0d0903bd [file] [log] [blame]
Jean-Paul Calderone897bc252008-02-18 20:50:23 -05001<!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"
20border="0" height="32"
21 alt="Previous Page" width="32"></A></td>
22<td><A href="openssl-crypto.html"><img src="up.gif"
23border="0" height="32"
24 alt="Up One Level" width="32"></A></td>
25<td><A href="openssl-509ext.html"><img src="next.gif"
26border="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"
30border="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">&nbsp;</A>
47<BR>
483.1.7 PKCS12 objects
49</H3>
50<P>
51<EM><EM><EM>PKCS12 objects have the following methods:
52</EM></EM></EM>
53<P>
54<dl><dt><b><a name='l2h-72'><tt class='method'>get_certificate</tt></a></b>()
55<dd>
56Return certificate portion of the PKCS12 structure.
57</dl>
58<P>
59<dl><dt><b><a name='l2h-73'><tt class='method'>get_privatekey</tt></a></b>()
60<dd>
61Return private key portion of the PKCS12 structure
62</dl>
63<P>
64<dl><dt><b><a name='l2h-74'><tt class='method'>get_ca_certificates</tt></a></b>()
65<dd>
66Return CA certificates within the PKCS12 object as a tuple. Returns
67None if no CA certificates are present.
68</dl>
69<P>
70
71<DIV CLASS="navigation">
72<p><hr>
73<table align="center" width="100%" cellpadding="0" cellspacing="2">
74<tr>
75<td><A href="openssl-pkcs7.html"><img src="previous.gif"
76border="0" height="32"
77 alt="Previous Page" width="32"></A></td>
78<td><A href="openssl-crypto.html"><img src="up.gif"
79border="0" height="32"
80 alt="Up One Level" width="32"></A></td>
81<td><A href="openssl-509ext.html"><img src="next.gif"
82border="0" height="32"
83 alt="Next Page" width="32"></A></td>
84<td align="center" width="100%">Python OpenSSL Manual</td>
85<td><A href="contents.html"><img src="contents.gif"
86border="0" height="32"
87 alt="Contents" width="32"></A></td>
88<td><img src="blank.gif"
89 border="0" height="32"
90 alt="" width="32"></td>
91<td><img src="blank.gif"
92 border="0" height="32"
93 alt="" width="32"></td>
94</tr></table>
95<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-pkcs7.html">3.1.6 PKCS7 objects</A>
96<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A>
97<b class="navlabel">Next:</b> <a class="sectref" href="openssl-509ext.html">3.1.8 X509Extension objects</A>
98<hr>
99<span class="release-info">Release 0.6.</span>
100</DIV>
101<!--End of Navigation Panel-->
102
103</BODY>
104</HTML>