File: elementindex_Crypt_RSA.html

package info (click to toggle)
ldap-account-manager 3.7-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 34,660 kB
  • sloc: php: 49,813; perl: 305; makefile: 169; sh: 156; pascal: 132; xml: 111
file content (249 lines) | stat: -rw-r--r-- 13,791 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<html>
<head>
<title>Package Crypt_RSA Element Index</title>
<link rel="stylesheet" type="text/css" href="media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Crypt_RSA</td>
  </tr>
  <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                  		  [ <a href="classtrees_Crypt_RSA.html" class="menu">class tree: Crypt_RSA</a> ]
		  [ <a href="elementindex_Crypt_RSA.html" class="menu">index: Crypt_RSA</a> ]
		  	    [ <a href="elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
	<div id="ric">
					<p><a href="ric_README.html">README</a></p>
			</div>
	<div id="todolist">
			<p><a href="todolist.html">Todo List</a></p>
	</div>
      <b>Packages:</b><br />
              <a href="li_PDF.html">PDF</a><br />
              <a href="li_profiles.html">profiles</a><br />
              <a href="li_main.html">main</a><br />
              <a href="li_LDAP.html">LDAP</a><br />
              <a href="li_tools.html">tools</a><br />
              <a href="li_types.html">types</a><br />
              <a href="li_lists.html">lists</a><br />
              <a href="li_lib.html">lib</a><br />
              <a href="li_modules.html">modules</a><br />
              <a href="li_metaHTML.html">metaHTML</a><br />
              <a href="li_selfService.html">selfService</a><br />
              <a href="li_configuration.html">configuration</a><br />
              <a href="li_PHP_Compat.html">PHP_Compat</a><br />
              <a href="li_Net_SSH1.html">Net_SSH1</a><br />
              <a href="li_Net_SSH2.html">Net_SSH2</a><br />
              <a href="li_Net_SFTP.html">Net_SFTP</a><br />
              <a href="li_Math_BigInteger.html">Math_BigInteger</a><br />
              <a href="li_Crypt_RSA.html">Crypt_RSA</a><br />
              <a href="li_Crypt_Hash.html">Crypt_Hash</a><br />
              <a href="li_Crypt_TripleDES.html">Crypt_TripleDES</a><br />
              <a href="li_Crypt_TerraDES.html">Crypt_TerraDES</a><br />
              <a href="li_Crypt_AES.html">Crypt_AES</a><br />
              <a href="li_Crypt_RC4.html">Crypt_RC4</a><br />
              <a href="li_Crypt_DES.html">Crypt_DES</a><br />
              <a href="li_Crypt_Random.html">Crypt_Random</a><br />
              <a href="li_Crypt_Rijndael.html">Crypt_Rijndael</a><br />
              <a href="li_Help.html">Help</a><br />
              <a href="li_phpLDAPadmin.html">phpLDAPadmin</a><br />
              <a href="li_horde-cipher.html">horde-cipher</a><br />
              <a href="li_lam.html">lam</a><br />
              <a href="li_default.html">default</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html">		RSA.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="Crypt_RSA/Crypt_RSA.html">Crypt_RSA</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<a name="top"></a>
<h1>Element index for package Crypt_RSA</h1>
	[ <a href="elementindex_Crypt_RSA.html#c">c</a> ]
	[ <a href="elementindex_Crypt_RSA.html#d">d</a> ]
	[ <a href="elementindex_Crypt_RSA.html#e">e</a> ]
	[ <a href="elementindex_Crypt_RSA.html#g">g</a> ]
	[ <a href="elementindex_Crypt_RSA.html#l">l</a> ]
	[ <a href="elementindex_Crypt_RSA.html#p">p</a> ]
	[ <a href="elementindex_Crypt_RSA.html#r">r</a> ]
	[ <a href="elementindex_Crypt_RSA.html#s">s</a> ]
	[ <a href="elementindex_Crypt_RSA.html#v">v</a> ]
	[ <a href="elementindex_Crypt_RSA.html#_">_</a> ]

  <hr />
	<a name="_"></a>
	<div>
		<h2>_</h2>
		<dl>
							<dt><b>_random</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#method_random">Crypt_RSA::_random()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Generates a random string x bytes long</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="c"></a>
	<div>
		<h2>c</h2>
		<dl>
							<dt><b>createKey</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodcreateKey">Crypt_RSA::createKey()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Create public / private key pair</dd>
							<dt><b>Crypt_RSA</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodCrypt_RSA">Crypt_RSA::Crypt_RSA()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;The constructor</dd>
							<dt><b>Crypt_RSA</b></dt>
				<dd>in file RSA.php, class <a href="Crypt_RSA/Crypt_RSA.html">Crypt_RSA</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Pure-PHP PKCS#1 compliant implementation of RSA.</dd>
							<dt><b>CRYPT_RSA_ENCRYPTION_OAEP</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_ENCRYPTION_OAEP">CRYPT_RSA_ENCRYPTION_OAEP</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Use <a href="http://en.wikipedia.org/wiki/Optimal_Asymmetric_Encryption_Padding">Optimal Asymmetric Encryption Padding</a>  (OAEP) for encryption / decryption.</dd>
							<dt><b>CRYPT_RSA_ENCRYPTION_PKCS1</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_ENCRYPTION_PKCS1">CRYPT_RSA_ENCRYPTION_PKCS1</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Use PKCS#1 padding.</dd>
							<dt><b>CRYPT_RSA_PRIVATE_FORMAT_PKCS1</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PRIVATE_FORMAT_PKCS1">CRYPT_RSA_PRIVATE_FORMAT_PKCS1</a><br>&nbsp;&nbsp;&nbsp;&nbsp;PKCS#1 formatted private key</dd>
							<dt><b>CRYPT_RSA_PRIVATE_FORMAT_PUTTY</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PRIVATE_FORMAT_PUTTY">CRYPT_RSA_PRIVATE_FORMAT_PUTTY</a><br>&nbsp;&nbsp;&nbsp;&nbsp;PuTTY formatted private key</dd>
							<dt><b>CRYPT_RSA_PRIVATE_FORMAT_XML</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PRIVATE_FORMAT_XML">CRYPT_RSA_PRIVATE_FORMAT_XML</a><br>&nbsp;&nbsp;&nbsp;&nbsp;XML formatted private key</dd>
							<dt><b>CRYPT_RSA_PUBLIC_FORMAT_OPENSSH</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PUBLIC_FORMAT_OPENSSH">CRYPT_RSA_PUBLIC_FORMAT_OPENSSH</a><br>&nbsp;&nbsp;&nbsp;&nbsp;OpenSSH formatted public key</dd>
							<dt><b>CRYPT_RSA_PUBLIC_FORMAT_PKCS1</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PUBLIC_FORMAT_PKCS1">CRYPT_RSA_PUBLIC_FORMAT_PKCS1</a><br>&nbsp;&nbsp;&nbsp;&nbsp;PKCS#1 formatted public key</dd>
							<dt><b>CRYPT_RSA_PUBLIC_FORMAT_RAW</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PUBLIC_FORMAT_RAW">CRYPT_RSA_PUBLIC_FORMAT_RAW</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Raw public key</dd>
							<dt><b>CRYPT_RSA_PUBLIC_FORMAT_XML</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_PUBLIC_FORMAT_XML">CRYPT_RSA_PUBLIC_FORMAT_XML</a><br>&nbsp;&nbsp;&nbsp;&nbsp;XML formatted public key</dd>
							<dt><b>CRYPT_RSA_SIGNATURE_PKCS1</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_SIGNATURE_PKCS1">CRYPT_RSA_SIGNATURE_PKCS1</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Use the PKCS#1 scheme by default.</dd>
							<dt><b>CRYPT_RSA_SIGNATURE_PSS</b></dt>
				<dd>in file RSA.php, constant <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html#defineCRYPT_RSA_SIGNATURE_PSS">CRYPT_RSA_SIGNATURE_PSS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Use the Probabilistic Signature Scheme for signing</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="d"></a>
	<div>
		<h2>d</h2>
		<dl>
							<dt><b>decrypt</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methoddecrypt">Crypt_RSA::decrypt()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Decryption</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="e"></a>
	<div>
		<h2>e</h2>
		<dl>
							<dt><b>encrypt</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodencrypt">Crypt_RSA::encrypt()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Encryption</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="g"></a>
	<div>
		<h2>g</h2>
		<dl>
							<dt><b>getPublicKey</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodgetPublicKey">Crypt_RSA::getPublicKey()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Returns the public key</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="l"></a>
	<div>
		<h2>l</h2>
		<dl>
							<dt><b>loadKey</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodloadKey">Crypt_RSA::loadKey()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Loads a public or private key</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="p"></a>
	<div>
		<h2>p</h2>
		<dl>
							<dt><b>$publicKeyFormat</b></dt>
				<dd>in file RSA.php, variable <a href="Crypt_RSA/Crypt_RSA.html#var$publicKeyFormat">Crypt_RSA::$publicKeyFormat</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Public Key Format</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="r"></a>
	<div>
		<h2>r</h2>
		<dl>
							<dt><b>RSA.php</b></dt>
				<dd>procedural page <a href="Crypt_RSA/_lib---3rdParty---phpseclib---Crypt---RSA.php.html">RSA.php</a></dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="s"></a>
	<div>
		<h2>s</h2>
		<dl>
							<dt><b>setEncryptionMode</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetEncryptionMode">Crypt_RSA::setEncryptionMode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set Encryption Mode</dd>
							<dt><b>setHash</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetHash">Crypt_RSA::setHash()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Determines which hashing function should be used</dd>
							<dt><b>setMGFHash</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetMGFHash">Crypt_RSA::setMGFHash()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Determines which hashing function should be used for the mask generation function</dd>
							<dt><b>setPassword</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetPassword">Crypt_RSA::setPassword()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Sets the password</dd>
							<dt><b>setPrivateKeyFormat</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetPrivateKeyFormat">Crypt_RSA::setPrivateKeyFormat()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Determines the private key format</dd>
							<dt><b>setPublicKey</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetPublicKey">Crypt_RSA::setPublicKey()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Defines the public key</dd>
							<dt><b>setPublicKeyFormat</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetPublicKeyFormat">Crypt_RSA::setPublicKeyFormat()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Determines the public key format</dd>
							<dt><b>setSaltLength</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetSaltLength">Crypt_RSA::setSaltLength()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Determines the salt length</dd>
							<dt><b>setSignatureMode</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsetSignatureMode">Crypt_RSA::setSignatureMode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Set Signature Mode</dd>
							<dt><b>sign</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodsign">Crypt_RSA::sign()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Create a signature</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
  <hr />
	<a name="v"></a>
	<div>
		<h2>v</h2>
		<dl>
							<dt><b>verify</b></dt>
				<dd>in file RSA.php, method <a href="Crypt_RSA/Crypt_RSA.html#methodverify">Crypt_RSA::verify()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Verifies a signature</dd>
					</dl>
	</div>
	<a href="elementindex_Crypt_RSA.html#top">top</a><br>
        <div class="credit">
		    <hr />
		    Documentation generated on Sun, 25 Mar 2012 19:35:19 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>