~myers-1/pyopenssl/npn

« back to all changes in this revision

Viewing changes to doc/html/openssl-x509req.html

  • Committer: Jean-Paul Calderone
  • Date: 2011-04-11 23:26:11 UTC
  • mfrom: (143.1.6 release-0.12)
  • Revision ID: exarkun@divmod.com-20110411232611-z1xtswwjxqorzjrn
Merge 0.12 release branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<title>3.1.3 X509Req objects </title>
5
 
<META NAME="description" CONTENT="3.1.3 X509Req objects ">
 
4
<title>3.1.4 X509Req objects </title>
 
5
<META NAME="description" CONTENT="3.1.4 X509Req objects ">
6
6
<META NAME="keywords" CONTENT="pyOpenSSL">
7
7
<META NAME="resource-type" CONTENT="document">
8
8
<META NAME="distribution" CONTENT="global">
36
36
  border="0" height="32"
37
37
  alt="" width="32"></td>
38
38
</tr></table>
39
 
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-x509name.html">3.1.2 X509Name objects</A>
 
39
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-x509name.html">3.1.3 X509Name objects</A>
40
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-x509store.html">3.1.4 X509Store objects</A>
 
41
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-x509store.html">3.1.5 X509Store objects</A>
42
42
<br><hr>
43
43
</DIV>
44
44
<!--End of Navigation Panel-->
45
45
 
46
 
<H3><A NAME="SECTION000413000000000000000">&nbsp;</A>
 
46
<H3><A NAME="SECTION000414000000000000000">&nbsp;</A>
47
47
<BR>
48
 
3.1.3 X509Req objects 
 
48
3.1.4 X509Req objects 
49
49
</H3>
50
50
 
51
51
<P>
52
52
X509Req objects have the following methods:
53
53
 
54
54
<P>
55
 
<dl><dt><b><a name='l2h-70'><tt class='method'>get_pubkey</tt></a></b>()
 
55
<dl><dt><b><a name='l2h-74'><tt class='method'>get_pubkey</tt></a></b>()
56
56
<dd>
57
57
Return a PKey object representing the public key of the certificate request.
58
58
</dl>
59
59
 
60
60
<P>
61
 
<dl><dt><b><a name='l2h-71'><tt class='method'>get_subject</tt></a></b>()
 
61
<dl><dt><b><a name='l2h-75'><tt class='method'>get_subject</tt></a></b>()
62
62
<dd>
63
63
Return an X509Name object representing the subject of the certificate.
64
64
</dl>
65
65
 
66
66
<P>
67
 
<dl><dt><b><a name='l2h-72'><tt class='method'>set_pubkey</tt></a></b>(<var>pkey</var>)
 
67
<dl><dt><b><a name='l2h-76'><tt class='method'>set_pubkey</tt></a></b>(<var>pkey</var>)
68
68
<dd>
69
69
Set the public key of the certificate request to <var>pkey</var>.
70
70
</dl>
71
71
 
72
72
<P>
73
 
<dl><dt><b><a name='l2h-73'><tt class='method'>sign</tt></a></b>(<var>pkey, digest</var>)
 
73
<dl><dt><b><a name='l2h-77'><tt class='method'>sign</tt></a></b>(<var>pkey, digest</var>)
74
74
<dd>
75
75
Sign the certificate request, using the key <var>pkey</var> and the message digest
76
76
algorithm identified by the string <var>digest</var>.
77
77
</dl>
78
78
 
79
79
<P>
80
 
<dl><dt><b><a name='l2h-74'><tt class='method'>verify</tt></a></b>(<var>pkey</var>)
 
80
<dl><dt><b><a name='l2h-78'><tt class='method'>verify</tt></a></b>(<var>pkey</var>)
81
81
<dd>
82
82
Verify a certificate request using the public key <var>pkey</var>.
83
83
</dl>
84
84
 
85
85
<P>
86
 
<dl><dt><b><a name='l2h-75'><tt class='method'>set_version</tt></a></b>(<var>version</var>)
 
86
<dl><dt><b><a name='l2h-79'><tt class='method'>set_version</tt></a></b>(<var>version</var>)
87
87
<dd>
88
88
Set the version (RFC 2459, 4.1.2.1) of the certificate request to
89
89
<var>version</var>.
90
90
</dl>
91
91
 
92
92
<P>
93
 
<dl><dt><b><a name='l2h-76'><tt class='method'>get_version</tt></a></b>()
 
93
<dl><dt><b><a name='l2h-80'><tt class='method'>get_version</tt></a></b>()
94
94
<dd>
95
95
Get the version (RFC 2459, 4.1.2.1) of the certificate request.
96
96
</dl>
121
121
  border="0" height="32"
122
122
  alt="" width="32"></td>
123
123
</tr></table>
124
 
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-x509name.html">3.1.2 X509Name objects</A>
 
124
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-x509name.html">3.1.3 X509Name objects</A>
125
125
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto  </A>
126
 
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-x509store.html">3.1.4 X509Store objects</A>
 
126
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-x509store.html">3.1.5 X509Store objects</A>
127
127
<hr>
128
128
<span class="release-info">Release 0.11.</span>
129
129
</DIV>