~exarkun/pyopenssl/trunk

« back to all changes in this revision

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

  • Committer: Jean-Paul Calderone
  • Date: 2011-09-02 15:43:50 UTC
  • mfrom: (156.1.5 release-0.13)
  • Revision ID: exarkun@twistedmatrix.com-20110902154350-rwick8zfl3dgyzva
Merge 0.13 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.10 NetscapeSPKI objects </title>
5
 
<META NAME="description" CONTENT="3.1.10 NetscapeSPKI objects ">
 
4
<title>3.1.9 NetscapeSPKI objects </title>
 
5
<META NAME="description" CONTENT="3.1.9 NetscapeSPKI 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-509ext.html">3.1.9 X509Extension objects</A>
 
39
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-509ext.html">3.1.8 X509Extension 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="crl.html">3.1.11 CRL objects</A>
 
41
<b class="navlabel">Next:</b> <a class="sectref" href="crl.html">3.1.10 CRL objects</A>
42
42
<br><hr>
43
43
</DIV>
44
44
<!--End of Navigation Panel-->
45
45
 
46
 
<H3><A NAME="SECTION0004110000000000000000">&nbsp;</A>
 
46
<H3><A NAME="SECTION000419000000000000000">&nbsp;</A>
47
47
<BR>
48
 
3.1.10 NetscapeSPKI objects 
 
48
3.1.9 NetscapeSPKI objects 
49
49
</H3>
50
50
 
51
51
<P>
52
52
NetscapeSPKI objects have the following methods:
53
53
 
54
54
<P>
55
 
<dl><dt><b><a name='l2h-101'><tt class='method'>b64_encode</tt></a></b>()
 
55
<dl><dt><b><a name='l2h-102'><tt class='method'>b64_encode</tt></a></b>()
56
56
<dd>
57
57
Return a base64-encoded string representation of the object.
58
58
</dl>
59
59
 
60
60
<P>
61
 
<dl><dt><b><a name='l2h-102'><tt class='method'>get_pubkey</tt></a></b>()
 
61
<dl><dt><b><a name='l2h-103'><tt class='method'>get_pubkey</tt></a></b>()
62
62
<dd>
63
63
Return the public key of object.
64
64
</dl>
65
65
 
66
66
<P>
67
 
<dl><dt><b><a name='l2h-103'><tt class='method'>set_pubkey</tt></a></b>(<var>key</var>)
 
67
<dl><dt><b><a name='l2h-104'><tt class='method'>set_pubkey</tt></a></b>(<var>key</var>)
68
68
<dd>
69
69
Set the public key of the object to <var>key</var>.
70
70
</dl>
71
71
 
72
72
<P>
73
 
<dl><dt><b><a name='l2h-104'><tt class='method'>sign</tt></a></b>(<var>key, digest_name</var>)
 
73
<dl><dt><b><a name='l2h-105'><tt class='method'>sign</tt></a></b>(<var>key, digest_name</var>)
74
74
<dd>
75
75
Sign the NetscapeSPKI object using the given <var>key</var> and
76
76
<var>digest_name</var>.  <var>digest_name</var> must be a string describing a digest
79
79
</dl>
80
80
 
81
81
<P>
82
 
<dl><dt><b><a name='l2h-105'><tt class='method'>verify</tt></a></b>(<var>key</var>)
 
82
<dl><dt><b><a name='l2h-106'><tt class='method'>verify</tt></a></b>(<var>key</var>)
83
83
<dd>
84
84
Verify the NetscapeSPKI object using the given <var>key</var>.
85
85
</dl>
110
110
  border="0" height="32"
111
111
  alt="" width="32"></td>
112
112
</tr></table>
113
 
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-509ext.html">3.1.9 X509Extension objects</A>
 
113
<b class="navlabel">Previous:</b> <a class="sectref" href="openssl-509ext.html">3.1.8 X509Extension objects</A>
114
114
<b class="navlabel">Up:</b> <a class="sectref" href="openssl-crypto.html">3.1 crypto  </A>
115
 
<b class="navlabel">Next:</b> <a class="sectref" href="crl.html">3.1.11 CRL objects</A>
 
115
<b class="navlabel">Next:</b> <a class="sectref" href="crl.html">3.1.10 CRL objects</A>
116
116
<hr>
117
 
<span class="release-info">Release 0.12.</span>
 
117
<span class="release-info">Release 0.13.</span>
118
118
</DIV>
119
119
<!--End of Navigation Panel-->
120
120