17
17
<table align="center" width="100%" cellpadding="0" cellspacing="2">
19
19
<td><A href="openssl.html"><img src="previous.gif"
20
border="0" height="32"
20
border="0" height="32"
21
21
alt="Previous Page" width="32"></A></td>
22
22
<td><A href="openssl.html"><img src="up.gif"
23
border="0" height="32"
23
border="0" height="32"
24
24
alt="Up One Level" width="32"></A></td>
25
25
<td><A href="openssl-x509.html"><img src="next.gif"
26
border="0" height="32"
26
border="0" height="32"
27
27
alt="Next Page" width="32"></A></td>
28
28
<td align="center" width="100%">Python OpenSSL Manual</td>
29
29
<td><A href="contents.html"><img src="contents.gif"
30
border="0" height="32"
30
border="0" height="32"
31
31
alt="Contents" width="32"></A></td>
32
32
<td><img src="blank.gif"
33
33
border="0" height="32"
54
55
<dl><dt><b><a name='l2h-6'><tt>X509Type</tt></a></b>
56
A Python type object representing the X509 object type.
57
See <tt class="class">X509</tt>.
60
<dl><dt><b><a name='l2h-7'><tt class='function'>X509</tt></a></b>()
61
<dl><dt><b>class <a name='l2h-7'><tt class='class'>X509</tt></a></b>()
62
Factory function that creates an X509 object.
63
A class representing X.509 certificates.
66
67
<dl><dt><b><a name='l2h-8'><tt>X509NameType</tt></a></b>
68
A Python type object representing the X509Name object type.
69
See <tt class="class">X509Name</tt>.
72
<dl><dt><b><a name='l2h-9'><tt class='function'>X509Name</tt></a></b>(<var>x509name</var>)
73
<dl><dt><b>class <a name='l2h-9'><tt class='class'>X509Name</tt></a></b>(<var>x509name</var>)
74
Factory function that creates a copy of <var>x509name</var>.
75
A class representing X.509 Distinguished Names.
78
This constructor creates a copy of <var>x509name</var> which should be an
79
instance of <tt class="class">X509Name</tt>.
78
83
<dl><dt><b><a name='l2h-10'><tt>X509ReqType</tt></a></b>
80
A Python type object representing the X509Req object type.
85
See <tt class="class">X509Req</tt>.
84
<dl><dt><b><a name='l2h-11'><tt class='function'>X509Req</tt></a></b>()
89
<dl><dt><b>class <a name='l2h-11'><tt class='class'>X509Req</tt></a></b>()
86
Factory function that creates an X509Req object.
91
A class representing X.509 certificate requests.
96
101
<dl><dt><b><a name='l2h-13'><tt>PKeyType</tt></a></b>
98
A Python type object representing the PKey object type.
103
See <tt class="class">PKey</tt>.
102
<dl><dt><b><a name='l2h-14'><tt class='function'>PKey</tt></a></b>()
107
<dl><dt><b>class <a name='l2h-14'><tt class='class'>PKey</tt></a></b>()
104
Factory function that creates a PKey object.
109
A class representing DSA or RSA keys.
120
125
<dl><dt><b><a name='l2h-17'><tt>X509ExtensionType</tt></a></b>
122
A Python type object representing the X509Extension object type.
127
See <tt class="class">X509Extension</tt>.
126
<dl><dt><b><a name='l2h-18'><tt class='function'>X509Extension</tt></a></b>(<var>typename, critical, value</var>)
131
<dl><dt><b>class <a name='l2h-18'><tt class='class'>X509Extension</tt></a></b>(<var>typename, critical, value</var><big>[</big><var>, subject</var><big>]</big><big>[</big><var>, issuer</var><big>]</big>)
128
Factory function that creates a X509Extension object.
133
A class representing an X.509 v3 certificate extensions.
134
See <a class="url" href="http://openssl.org/docs/apps/x509v3_config.html#STANDARD_EXTENSIONS">http://openssl.org/docs/apps/x509v3_config.html#STANDARD_EXTENSIONS</a>for <var>typename</var> strings and their options.
135
Optional parameters <var>subject</var> and <var>issuer</var> must be X509 objects.
132
139
<dl><dt><b><a name='l2h-19'><tt>NetscapeSPKIType</tt></a></b>
134
A Python type object representing the NetscapeSPKI object type.
141
See <tt class="class">NetscapeSPKI</tt>.
138
<dl><dt><b><a name='l2h-20'><tt class='function'>NetscapeSPKI</tt></a></b>(<big>[</big><var>enc</var><big>]</big>)
145
<dl><dt><b>class <a name='l2h-20'><tt class='class'>NetscapeSPKI</tt></a></b>(<big>[</big><var>enc</var><big>]</big>)
140
Factory function that creates a NetscapeSPKI object. If the <var>enc</var> argument
141
is present, it should be a base64-encoded string representing a NetscapeSPKI
142
object, as returned by the <tt class="method">b64_encode</tt> method.
147
A class representing Netscape SPKI objects.
150
If the <var>enc</var> argument is present, it should be a base64-encoded string
151
representing a NetscapeSPKI object, as returned by the <tt class="method">b64_encode</tt>
224
234
<dl><dt><b><a name='l2h-31'><tt class='function'>load_pkcs12</tt></a></b>(<var>buffer</var><big>[</big><var>, passphrase</var><big>]</big>)
226
236
Load pkcs12 data from the string <var>buffer</var>. If the pkcs12 structure is
227
encrypted, a <var>passphrase</var> must be included.
237
encrypted, a <var>passphrase</var> must be included. The MAC is always
238
checked and thus required.
241
See also the man page for the C function <tt class="function">PKCS12_parse</tt>.
234
247
<!--Table of Child-Links-->
235
248
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
261
274
<table align="center" width="100%" cellpadding="0" cellspacing="2">
263
276
<td><A href="openssl.html"><img src="previous.gif"
264
border="0" height="32"
277
border="0" height="32"
265
278
alt="Previous Page" width="32"></A></td>
266
279
<td><A href="openssl.html"><img src="up.gif"
267
border="0" height="32"
280
border="0" height="32"
268
281
alt="Up One Level" width="32"></A></td>
269
282
<td><A href="openssl-x509.html"><img src="next.gif"
270
border="0" height="32"
283
border="0" height="32"
271
284
alt="Next Page" width="32"></A></td>
272
285
<td align="center" width="100%">Python OpenSSL Manual</td>
273
286
<td><A href="contents.html"><img src="contents.gif"
274
border="0" height="32"
287
border="0" height="32"
275
288
alt="Contents" width="32"></A></td>
276
289
<td><img src="blank.gif"
277
290
border="0" height="32"
284
297
<b class="navlabel">Up:</b> <a class="sectref" href="openssl.html">3 OpenSSL </A>
285
298
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-x509.html">3.1.1 X509 objects</A>
287
<span class="release-info">Release 0.9.</span>
300
<span class="release-info">Release 0.10.</span>
289
302
<!--End of Navigation Panel-->