summaryrefslogtreecommitdiff
path: root/doc/classes/Crypto.xml
blob: bb852f5fff4b1014b8e465adfc90eb337aa127b4 (plain)
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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Crypto" inherits="Reference" category="Core" version="3.2">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="generate_random_bytes">
			<return type="PoolByteArray">
			</return>
			<argument index="0" name="size" type="int">
			</argument>
			<description>
			</description>
		</method>
		<method name="generate_rsa">
			<return type="CryptoKey">
			</return>
			<argument index="0" name="size" type="int">
			</argument>
			<description>
			</description>
		</method>
		<method name="generate_self_signed_certificate">
			<return type="X509Certificate">
			</return>
			<argument index="0" name="key" type="CryptoKey">
			</argument>
			<argument index="1" name="issuer_name" type="String" default="&quot;CN=myserver,O=myorganisation,C=IT&quot;">
			</argument>
			<argument index="2" name="not_before" type="String" default="&quot;20140101000000&quot;">
			</argument>
			<argument index="3" name="not_after" type="String" default="&quot;20340101000000&quot;">
			</argument>
			<description>
			</description>
		</method>
	</methods>
	<constants>
	</constants>
</class>