source: trunk/Packages/synapse/docs/help/ssl_cryptlib.TSSLCryptLib.html

Last change on this file was 2, checked in by chronos, 12 years ago
  • Přidáno: Základní kostra projektu.
  • Přidáno: Knihovna synapse.
File size: 16.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
2<html>
3<head>
4<meta name="GENERATOR" content="PasDoc 0.9.0">
5<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
6<title>ssl_cryptlib: Class TSSLCryptLib</title>
7<link rel="StyleSheet" type="text/css" href="pasdoc.css">
8</head>
9<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
10<a name="TSSLCryptLib"></a><h1 class="cio">Class TSSLCryptLib</h1>
11<table class="sections">
12<tr>
13<td><a class="section" href="#@Description">Description</a></td><td><a class="section" href="#@Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section" href="#@Methods">Methods</a></td><td><a class="section" href="#@Properties">Properties</a></td></tr></table>
14<a name="@Description"></a><h2 class="unit">Unit</h2>
15<p class="unitlink">
16<a href="ssl_cryptlib.html">ssl_cryptlib</a></p>
17<h2 class="declaration">Declaration</h2>
18<p class="declaration">
19<code>type TSSLCryptLib = class(<a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>)</code></p>
20<h2 class="description">Description</h2>
21<p>
22class implementing CryptLib SSL/SSH plugin.</p>
23<p>
24 Instance of this class will be created for each <a class="normal" href="blcksock.TTCPBlockSocket.html">TTCPBlockSocket</a>. You not need to create instance of this class, all is done by Synapse itself!</p>
25<a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
26<ul class="hierarchy"><li class="ancestor">TObject</li>
27<li class="ancestor"><a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a></li>
28<li class="thisitem">TSSLCryptLib</li></ul><h2 class="overview">Overview</h2>
29<a name="@Methods"></a><h3 class="summary">Methods</h3>
30<table class="summary">
31<tr class="list">
32<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
33<td class="itemcode"><code>constructor <b><a href="ssl_cryptlib.TSSLCryptLib.html#Create">Create</a></b>(const Value: <a href="blcksock.TTCPBlockSocket.html">TTCPBlockSocket</a>); override;</code></td>
34</tr>
35<tr class="list2">
36<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
37<td class="itemcode"><code>destructor <b><a href="ssl_cryptlib.TSSLCryptLib.html#Destroy">Destroy</a></b>; override;</code></td>
38</tr>
39<tr class="list">
40<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
41<td class="itemcode"><code>procedure <b><a href="ssl_cryptlib.TSSLCryptLib.html#SetCertCAFile">SetCertCAFile</a></b>(const Value: string); override;</code></td>
42</tr>
43<tr class="list2">
44<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
45<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#LibVersion">LibVersion</a></b>: String; override;</code></td>
46</tr>
47<tr class="list">
48<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
49<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#LibName">LibName</a></b>: String; override;</code></td>
50</tr>
51<tr class="list2">
52<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
53<td class="itemcode"><code>procedure <b><a href="ssl_cryptlib.TSSLCryptLib.html#Assign">Assign</a></b>(const Value: <a href="blcksock.TCustomSSL.html">TCustomSSL</a>); override;</code></td>
54</tr>
55<tr class="list">
56<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
57<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#Connect">Connect</a></b>: boolean; override;</code></td>
58</tr>
59<tr class="list2">
60<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
61<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#Accept">Accept</a></b>: boolean; override;</code></td>
62</tr>
63<tr class="list">
64<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
65<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#Shutdown">Shutdown</a></b>: boolean; override;</code></td>
66</tr>
67<tr class="list2">
68<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
69<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#BiShutdown">BiShutdown</a></b>: boolean; override;</code></td>
70</tr>
71<tr class="list">
72<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
73<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#SendBuffer">SendBuffer</a></b>(Buffer: TMemory; Len: Integer): Integer; override;</code></td>
74</tr>
75<tr class="list2">
76<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
77<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#RecvBuffer">RecvBuffer</a></b>(Buffer: TMemory; Len: Integer): Integer; override;</code></td>
78</tr>
79<tr class="list">
80<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
81<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#WaitingData">WaitingData</a></b>: Integer; override;</code></td>
82</tr>
83<tr class="list2">
84<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
85<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#GetSSLVersion">GetSSLVersion</a></b>: string; override;</code></td>
86</tr>
87<tr class="list">
88<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
89<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#GetPeerSubject">GetPeerSubject</a></b>: string; override;</code></td>
90</tr>
91<tr class="list2">
92<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
93<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#GetPeerIssuer">GetPeerIssuer</a></b>: string; override;</code></td>
94</tr>
95<tr class="list">
96<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
97<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#GetPeerName">GetPeerName</a></b>: string; override;</code></td>
98</tr>
99<tr class="list2">
100<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
101<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#GetPeerFingerprint">GetPeerFingerprint</a></b>: string; override;</code></td>
102</tr>
103<tr class="list">
104<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
105<td class="itemcode"><code>function <b><a href="ssl_cryptlib.TSSLCryptLib.html#GetVerifyCert">GetVerifyCert</a></b>: integer; override;</code></td>
106</tr>
107</table>
108<a name="@Properties"></a><h3 class="summary">Properties</h3>
109<table class="summary">
110<tr class="list">
111<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
112<td class="itemcode"><code>property <b><a href="ssl_cryptlib.TSSLCryptLib.html#PrivateKeyLabel">PrivateKeyLabel</a></b>: string read FPrivateKeyLabel Write FPrivateKeyLabel;</code></td>
113</tr>
114</table>
115<h2 class="description">Description</h2>
116<h3 class="detail">Methods</h3>
117<table class="detail">
118<tr class="list">
119<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
120<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(const Value: <a href="blcksock.TTCPBlockSocket.html">TTCPBlockSocket</a>); override;</code></td>
121</tr>
122</table>
123<p>
124See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#Create">Create</a></p>
125<table class="detail">
126<tr class="list">
127<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
128<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
129</tr>
130</table>
131&nbsp;<table class="detail">
132<tr class="list">
133<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
134<td class="itemcode"><a name="SetCertCAFile"></a><code>procedure <b>SetCertCAFile</b>(const Value: string); override;</code></td>
135</tr>
136</table>
137<p>
138Load trusted CA's in PEM format</p>
139<table class="detail">
140<tr class="list">
141<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
142<td class="itemcode"><a name="LibVersion"></a><code>function <b>LibVersion</b>: String; override;</code></td>
143</tr>
144</table>
145<p>
146See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#LibVersion">LibVersion</a></p>
147<table class="detail">
148<tr class="list">
149<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
150<td class="itemcode"><a name="LibName"></a><code>function <b>LibName</b>: String; override;</code></td>
151</tr>
152</table>
153<p>
154See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#LibName">LibName</a></p>
155<table class="detail">
156<tr class="list">
157<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
158<td class="itemcode"><a name="Assign"></a><code>procedure <b>Assign</b>(const Value: <a href="blcksock.TCustomSSL.html">TCustomSSL</a>); override;</code></td>
159</tr>
160</table>
161<p>
162See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#Assign">Assign</a></p>
163<table class="detail">
164<tr class="list">
165<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
166<td class="itemcode"><a name="Connect"></a><code>function <b>Connect</b>: boolean; override;</code></td>
167</tr>
168</table>
169<p>
170See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#Connect">Connect</a> and <a class="normal" href="ssl_cryptlib.html">ssl_cryptlib</a> for more details.</p>
171<table class="detail">
172<tr class="list">
173<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
174<td class="itemcode"><a name="Accept"></a><code>function <b>Accept</b>: boolean; override;</code></td>
175</tr>
176</table>
177<p>
178See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#Accept">Accept</a> and <a class="normal" href="ssl_cryptlib.html">ssl_cryptlib</a> for more details.</p>
179<table class="detail">
180<tr class="list">
181<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
182<td class="itemcode"><a name="Shutdown"></a><code>function <b>Shutdown</b>: boolean; override;</code></td>
183</tr>
184</table>
185<p>
186See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#Shutdown">Shutdown</a></p>
187<table class="detail">
188<tr class="list">
189<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
190<td class="itemcode"><a name="BiShutdown"></a><code>function <b>BiShutdown</b>: boolean; override;</code></td>
191</tr>
192</table>
193<p>
194See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#BiShutdown">BiShutdown</a></p>
195<table class="detail">
196<tr class="list">
197<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
198<td class="itemcode"><a name="SendBuffer"></a><code>function <b>SendBuffer</b>(Buffer: TMemory; Len: Integer): Integer; override;</code></td>
199</tr>
200</table>
201<p>
202See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#SendBuffer">SendBuffer</a></p>
203<table class="detail">
204<tr class="list">
205<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
206<td class="itemcode"><a name="RecvBuffer"></a><code>function <b>RecvBuffer</b>(Buffer: TMemory; Len: Integer): Integer; override;</code></td>
207</tr>
208</table>
209<p>
210See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#RecvBuffer">RecvBuffer</a></p>
211<table class="detail">
212<tr class="list">
213<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
214<td class="itemcode"><a name="WaitingData"></a><code>function <b>WaitingData</b>: Integer; override;</code></td>
215</tr>
216</table>
217<p>
218See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#WaitingData">WaitingData</a></p>
219<table class="detail">
220<tr class="list">
221<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
222<td class="itemcode"><a name="GetSSLVersion"></a><code>function <b>GetSSLVersion</b>: string; override;</code></td>
223</tr>
224</table>
225<p>
226See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#GetSSLVersion">GetSSLVersion</a></p>
227<table class="detail">
228<tr class="list">
229<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
230<td class="itemcode"><a name="GetPeerSubject"></a><code>function <b>GetPeerSubject</b>: string; override;</code></td>
231</tr>
232</table>
233<p>
234See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#GetPeerSubject">GetPeerSubject</a></p>
235<table class="detail">
236<tr class="list">
237<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
238<td class="itemcode"><a name="GetPeerIssuer"></a><code>function <b>GetPeerIssuer</b>: string; override;</code></td>
239</tr>
240</table>
241<p>
242See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#GetPeerIssuer">GetPeerIssuer</a></p>
243<table class="detail">
244<tr class="list">
245<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
246<td class="itemcode"><a name="GetPeerName"></a><code>function <b>GetPeerName</b>: string; override;</code></td>
247</tr>
248</table>
249<p>
250See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#GetPeerName">GetPeerName</a></p>
251<table class="detail">
252<tr class="list">
253<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
254<td class="itemcode"><a name="GetPeerFingerprint"></a><code>function <b>GetPeerFingerprint</b>: string; override;</code></td>
255</tr>
256</table>
257<p>
258See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#GetPeerFingerprint">GetPeerFingerprint</a></p>
259<table class="detail">
260<tr class="list">
261<td class="visibility"><a href="legend.html"><img src="public.gif" alt="Public" title="Public"></a></td>
262<td class="itemcode"><a name="GetVerifyCert"></a><code>function <b>GetVerifyCert</b>: integer; override;</code></td>
263</tr>
264</table>
265<p>
266See <a class="normal" href="blcksock.TCustomSSL.html">TCustomSSL</a>.<a class="normal" href="blcksock.TCustomSSL.html#GetVerifyCert">GetVerifyCert</a></p>
267<h3 class="detail">Properties</h3>
268<table class="detail">
269<tr class="list">
270<td class="visibility"><a href="legend.html"><img src="published.gif" alt="Published" title="Published"></a></td>
271<td class="itemcode"><a name="PrivateKeyLabel"></a><code>property <b>PrivateKeyLabel</b>: string read FPrivateKeyLabel Write FPrivateKeyLabel;</code></td>
272</tr>
273</table>
274<p>
275name of certificate/key within PKCS#15 file. It can hold more then one certificate/key and each certificate/key must have unique label within one file.</p>
276<hr noshade size="1"><span class="appinfo"><em>Generated by <a target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.9.0</a> on 2012-04-23 21:38:51</em>
277</span>
278</body></html>
Note: See TracBrowser for help on using the repository browser.