~myers-1/pyopenssl/npn

« back to all changes in this revision

Viewing changes to doc/html/openssl-netscape-spki.html

  • Committer: Jean-Paul Calderone
  • Date: 2010-01-25 22:55:30 UTC
  • mfrom: (126 trunk)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: exarkun@divmod.com-20100125225530-5e9nsb6bzoesoz42
merge trunk and resolve simple conflict

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
<table align="center" width="100%" cellpadding="0" cellspacing="2">
17
17
<tr>
18
18
<td><A href="openssl-509ext.html"><img src="previous.gif"
19
 
border="0" height="32"
 
19
  border="0" height="32"
20
20
  alt="Previous Page" width="32"></A></td>
21
21
<td><A href="openssl-crypto.html"><img src="up.gif"
22
 
border="0" height="32"
 
22
  border="0" height="32"
23
23
  alt="Up One Level" width="32"></A></td>
24
24
<td><A href="openssl-rand.html"><img src="next.gif"
25
 
border="0" height="32"
 
25
  border="0" height="32"
26
26
  alt="Next Page" width="32"></A></td>
27
27
<td align="center" width="100%">Python OpenSSL Manual</td>
28
28
<td><A href="contents.html"><img src="contents.gif"
29
 
border="0" height="32"
 
29
  border="0" height="32"
30
30
  alt="Contents" width="32"></A></td>
31
31
<td><img src="blank.gif"
32
32
  border="0" height="32"
51
51
NetscapeSPKI objects have the following methods:
52
52
 
53
53
<P>
54
 
<dl><dt><b><a name='l2h-86'><tt class='method'>b64_encode</tt></a></b>()
 
54
<dl><dt><b><a name='l2h-92'><tt class='method'>b64_encode</tt></a></b>()
55
55
<dd>
56
56
Return a base64-encoded string representation of the object.
57
57
</dl>
58
58
 
59
59
<P>
60
 
<dl><dt><b><a name='l2h-87'><tt class='method'>get_pubkey</tt></a></b>()
 
60
<dl><dt><b><a name='l2h-93'><tt class='method'>get_pubkey</tt></a></b>()
61
61
<dd>
62
62
Return the public key of object.
63
63
</dl>
64
64
 
65
65
<P>
66
 
<dl><dt><b><a name='l2h-88'><tt class='method'>set_pubkey</tt></a></b>(<var>key</var>)
 
66
<dl><dt><b><a name='l2h-94'><tt class='method'>set_pubkey</tt></a></b>(<var>key</var>)
67
67
<dd>
68
68
Set the public key of the object to <var>key</var>.
69
69
</dl>
70
70
 
71
71
<P>
72
 
<dl><dt><b><a name='l2h-89'><tt class='method'>sign</tt></a></b>(<var>key, digest_name</var>)
 
72
<dl><dt><b><a name='l2h-95'><tt class='method'>sign</tt></a></b>(<var>key, digest_name</var>)
73
73
<dd>
74
74
Sign the NetscapeSPKI object using the given <var>key</var> and
75
75
<var>digest_name</var>.  <var>digest_name</var> must be a string describing a digest
78
78
</dl>
79
79
 
80
80
<P>
81
 
<dl><dt><b><a name='l2h-90'><tt class='method'>verify</tt></a></b>(<var>key</var>)
 
81
<dl><dt><b><a name='l2h-96'><tt class='method'>verify</tt></a></b>(<var>key</var>)
82
82
<dd>
83
83
Verify the NetscapeSPKI object using the given <var>key</var>.
84
84
</dl>
90
90
<table align="center" width="100%" cellpadding="0" cellspacing="2">
91
91
<tr>
92
92
<td><A href="openssl-509ext.html"><img src="previous.gif"
93
 
border="0" height="32"
 
93
  border="0" height="32"
94
94
  alt="Previous Page" width="32"></A></td>
95
95
<td><A href="openssl-crypto.html"><img src="up.gif"
96
 
border="0" height="32"
 
96
  border="0" height="32"
97
97
  alt="Up One Level" width="32"></A></td>
98
98
<td><A href="openssl-rand.html"><img src="next.gif"
99
 
border="0" height="32"
 
99
  border="0" height="32"
100
100
  alt="Next Page" width="32"></A></td>
101
101
<td align="center" width="100%">Python OpenSSL Manual</td>
102
102
<td><A href="contents.html"><img src="contents.gif"
103
 
border="0" height="32"
 
103
  border="0" height="32"
104
104
  alt="Contents" width="32"></A></td>
105
105
<td><img src="blank.gif"
106
106
  border="0" height="32"
113
113
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto  </A>
114
114
<b class="navlabel">Next:</b> <a class="sectref" href="openssl-rand.html">3.2 rand  </A>
115
115
<hr>
116
 
<span class="release-info">Release 0.9.</span>
 
116
<span class="release-info">Release 0.10.</span>
117
117
</DIV>
118
118
<!--End of Navigation Panel-->
119
119