1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>3.1.8 X509Extension objects </title>
5
<META NAME="description" CONTENT="3.1.8 X509Extension 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-netscape-spki.html">
11
<LINK REL="previous" href="openssl-pkcs12.html">
12
<LINK REL="up" href="openssl-crypto.html">
13
<LINK REL="next" href="openssl-netscape-spki.html">
16
<DIV CLASS="navigation">
17
<table align="center" width="100%" cellpadding="0" cellspacing="2">
19
<td><A href="openssl-pkcs12.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-netscape-spki.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>
39
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-pkcs12.html">3.1.7 PKCS12 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-netscape-spki.html">3.1.9 NetscapeSPKI objects</A>
44
<!--End of Navigation Panel-->
46
<H3><A NAME="SECTION000418000000000000000"> </A>
48
3.1.8 X509Extension objects
52
X509Extension objects have several methods:
55
<dl><dt><b><a name='l2h-99'><tt class='method'>get_critical</tt></a></b>()
57
Return the critical field of the extension object.
61
<dl><dt><b><a name='l2h-100'><tt class='method'>get_short_name</tt></a></b>()
63
Retrieve the short descriptive name for this extension.
66
The result is a byte string like <code>``basicConstraints''</code>.
68
<span class='versionnote'>New in version 0.12.</span>
73
<dl><dt><b><a name='l2h-101'><tt class='method'>get_data</tt></a></b>()
75
Retrieve the data for this extension.
78
The result is the ASN.1 encoded form of the extension data as a byte string.
80
<span class='versionnote'>New in version 0.12.</span>
86
<DIV CLASS="navigation">
88
<table align="center" width="100%" cellpadding="0" cellspacing="2">
90
<td><A href="openssl-pkcs12.html"><img src="previous.gif"
91
border="0" height="32"
92
alt="Previous Page" width="32"></A></td>
93
<td><A href="openssl-crypto.html"><img src="up.gif"
94
border="0" height="32"
95
alt="Up One Level" width="32"></A></td>
96
<td><A href="openssl-netscape-spki.html"><img src="next.gif"
97
border="0" height="32"
98
alt="Next Page" width="32"></A></td>
99
<td align="center" width="100%">Python OpenSSL Manual</td>
100
<td><A href="contents.html"><img src="contents.gif"
101
border="0" height="32"
102
alt="Contents" width="32"></A></td>
103
<td><img src="blank.gif"
104
border="0" height="32"
105
alt="" width="32"></td>
106
<td><img src="blank.gif"
107
border="0" height="32"
108
alt="" width="32"></td>
110
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-pkcs12.html">3.1.7 PKCS12 objects</A>
111
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto </A>
112
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-netscape-spki.html">3.1.9 NetscapeSPKI objects</A>
114
<span class="release-info">Release 0.13.</span>
116
<!--End of Navigation Panel-->