|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
2 | | -<!-- EN-Revision: 5bc68add3da3cd18c40f851e944b15095d3a26aa Maintainer: nilgun Status: ready --> |
3 | | -<refentry xml:id="function.openssl-cms-sign" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
4 | | - <refnamediv> |
5 | | - <refname>openssl_cms_sign</refname> |
6 | | - <refpurpose>Bir dosyayı imzalar</refpurpose> |
7 | | - </refnamediv> |
8 | | - |
9 | | - <refsect1 role="description"> |
10 | | - &reftitle.description; |
11 | | - <methodsynopsis> |
12 | | - <type>bool</type><methodname>openssl_cms_sign</methodname> |
13 | | - <methodparam><type>string</type><parameter>girdi_dosyası</parameter></methodparam> |
14 | | - <methodparam><type>string</type><parameter>çıktı_dosyası</parameter></methodparam> |
15 | | - <methodparam><type class="union"><type>OpenSSLCertificate</type><type>string</type></type><parameter>sertifika</parameter></methodparam> |
16 | | - <methodparam><modifier role="attribute">#[\SensitiveParameter]</modifier><type class="union"><type>OpenSSLAsymmetricKey</type><type>OpenSSLCertificate</type><type>array</type><type>string</type></type><parameter>özel_anahtar</parameter></methodparam> |
17 | | - <methodparam><type class="union"><type>array</type><type>null</type></type><parameter>başlıklar</parameter></methodparam> |
18 | | - <methodparam choice="opt"><type>int</type><parameter>seçenekler</parameter><initializer>0</initializer></methodparam> |
19 | | - <methodparam choice="opt"><type>int</type><parameter>kodlama</parameter><initializer><constant>OPENSSL_ENCODING_SMIME</constant></initializer></methodparam> |
20 | | - <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>güvenilmeyen_sertifikalar_dosyası</parameter><initializer>&null;</initializer></methodparam> |
21 | | - </methodsynopsis> |
22 | | - <para> |
23 | | - Bu işlev bir dosyayı bir X.509 sertifikası ve anahtarı ile imzalar. |
24 | | - </para> |
25 | | - </refsect1> |
26 | | - |
27 | | - <refsect1 role="parameters"> |
28 | | - &reftitle.parameters; |
29 | | - <variablelist> |
30 | | - <varlistentry> |
31 | | - <term><parameter>girdi_dosyası</parameter></term> |
32 | | - <listitem> |
33 | | - <para> |
34 | | - İmzalanacak dosyanın ismi. |
35 | | - </para> |
36 | | - </listitem> |
37 | | - </varlistentry> |
38 | | - <varlistentry> |
39 | | - <term><parameter>çıktı_dosyası</parameter></term> |
40 | | - <listitem> |
41 | | - <para> |
42 | | - Sonuçların saklanacağı dosya. |
43 | | - </para> |
44 | | - </listitem> |
45 | | - </varlistentry> |
46 | | - <varlistentry> |
47 | | - <term><parameter>sertifika</parameter></term> |
48 | | - <listitem> |
49 | | - <para> |
50 | | - İmzalama setifikası. Geçerli değerler için bkz: |
51 | | - <link linkend="openssl.certparams">Anahtar/Sertifika bağımsız değişkenleri</link> |
52 | | - </para> |
53 | | - </listitem> |
54 | | - </varlistentry> |
55 | | - <varlistentry> |
56 | | - <term><parameter>özel_anahtar</parameter></term> |
57 | | - <listitem> |
58 | | - <para> |
59 | | - <parameter>sertifika</parameter> ile ilişkili anahtarı içeren |
60 | | - dosyanın ismi. Geçerli değerler için bkz: |
61 | | - <link linkend="openssl.certparams">Anahtar/Sertifika bağımsız değişkenleri</link> |
62 | | - </para> |
63 | | - </listitem> |
64 | | - </varlistentry> |
65 | | - <varlistentry> |
66 | | - <term><parameter>başlıklar</parameter></term> |
67 | | - <listitem> |
68 | | - <para> |
69 | | - S/MIME çıktıda içerilecek başlıklar dizisi. |
70 | | - </para> |
71 | | - </listitem> |
72 | | - </varlistentry> |
73 | | - <varlistentry> |
74 | | - <term><parameter>seçenekler</parameter></term> |
75 | | - <listitem> |
76 | | - <para> |
77 | | - <function>cms_sign</function> işlevine aktarılacak seçenekler. |
78 | | - </para> |
79 | | - </listitem> |
80 | | - </varlistentry> |
81 | | - <varlistentry> |
82 | | - <term><parameter>kodlama</parameter></term> |
83 | | - <listitem> |
84 | | - <para> |
85 | | - Çıktı dosyasının kodlaması. Şunlardan biri olabilir: |
86 | | - <constant>OPENSSL_CMS_SMIME</constant>, |
87 | | - <constant>OPENSLL_CMS_DER</constant> veya |
88 | | - <constant>OPENSSL_CMS_PEM</constant>. |
89 | | - </para> |
90 | | - </listitem> |
91 | | - </varlistentry> |
92 | | - <varlistentry> |
93 | | - <term><parameter>güvenilmeyen_sertifikalar_dosyası</parameter></term> |
94 | | - <listitem> |
95 | | - <para> |
96 | | - İmzaya dahil edilecek ara sertifikalar. |
97 | | - </para> |
98 | | - </listitem> |
99 | | - </varlistentry> |
100 | | - </variablelist> |
101 | | - </refsect1> |
102 | | - |
103 | | - <refsect1 role="returnvalues"> |
104 | | - &reftitle.returnvalues; |
105 | | - <para> |
106 | | - &return.success; |
107 | | - </para> |
108 | | - </refsect1> |
109 | | - |
110 | | - <refsect1 role="examples"> |
111 | | - &reftitle.examples; |
112 | | - <para> |
113 | | - <example> |
114 | | - <title>- <function>openssl_cms_sign</function> örneği</title> |
115 | | - <programlisting role="php"> |
116 | | -<![CDATA[ |
117 | | -<?php |
118 | | -
|
119 | | -openssl_cms_sign('input.txt', 'output.txt', 'file://cert.pem', 'file://privkey.pem', null, OPENSSL_CMS_BINARY, OPENSSL_ENCODING_DER, 'chain.pem'); |
120 | | -?> |
121 | | -]]> |
122 | | - </programlisting> |
123 | | - </example> |
124 | | - </para> |
125 | | - </refsect1> |
126 | | - |
127 | | -</refentry> |
128 | | - |
129 | | -<!-- Keep this comment at the end of the file |
130 | | -Local variables: |
131 | | -mode: sgml |
132 | | -sgml-omittag:t |
133 | | -sgml-shorttag:t |
134 | | -sgml-minimize-attributes:nil |
135 | | -sgml-always-quote-attributes:t |
136 | | -sgml-indent-step:1 |
137 | | -sgml-indent-data:t |
138 | | -indent-tabs-mode:nil |
139 | | -sgml-parent-document:nil |
140 | | -sgml-default-dtd-file:"~/.phpdoc/manual.ced" |
141 | | -sgml-exposed-tags:nil |
142 | | -sgml-local-catalogs:nil |
143 | | -sgml-local-ecat-files:nil |
144 | | -End: |
145 | | -vim600: syn=xml fen fdm=syntax fdl=2 si |
146 | | -vim: et tw=78 syn=sgml |
147 | | -vi: ts=1 sw=1 |
148 | | ---> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- EN-Revision: 5bc68add3da3cd18c40f851e944b15095d3a26aa Maintainer: nilgun Status: ready --> |
| 3 | +<refentry xml:id="function.openssl-cms-sign" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 | + <refnamediv> |
| 5 | + <refname>openssl_cms_sign</refname> |
| 6 | + <refpurpose>Bir dosyayı imzalar</refpurpose> |
| 7 | + </refnamediv> |
| 8 | + |
| 9 | + <refsect1 role="description"> |
| 10 | + &reftitle.description; |
| 11 | + <methodsynopsis> |
| 12 | + <type>bool</type><methodname>openssl_cms_sign</methodname> |
| 13 | + <methodparam><type>string</type><parameter>girdi_dosyası</parameter></methodparam> |
| 14 | + <methodparam><type>string</type><parameter>çıktı_dosyası</parameter></methodparam> |
| 15 | + <methodparam><type class="union"><type>OpenSSLCertificate</type><type>string</type></type><parameter>sertifika</parameter></methodparam> |
| 16 | + <methodparam><modifier role="attribute">#[\SensitiveParameter]</modifier><type class="union"><type>OpenSSLAsymmetricKey</type><type>OpenSSLCertificate</type><type>array</type><type>string</type></type><parameter>özel_anahtar</parameter></methodparam> |
| 17 | + <methodparam><type class="union"><type>array</type><type>null</type></type><parameter>başlıklar</parameter></methodparam> |
| 18 | + <methodparam choice="opt"><type>int</type><parameter>seçenekler</parameter><initializer>0</initializer></methodparam> |
| 19 | + <methodparam choice="opt"><type>int</type><parameter>kodlama</parameter><initializer><constant>OPENSSL_ENCODING_SMIME</constant></initializer></methodparam> |
| 20 | + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>güvenilmeyen_sertifikalar_dosyası</parameter><initializer>&null;</initializer></methodparam> |
| 21 | + </methodsynopsis> |
| 22 | + <para> |
| 23 | + Bu işlev bir dosyayı bir X.509 sertifikası ve anahtarı ile imzalar. |
| 24 | + </para> |
| 25 | + </refsect1> |
| 26 | + |
| 27 | + <refsect1 role="parameters"> |
| 28 | + &reftitle.parameters; |
| 29 | + <variablelist> |
| 30 | + <varlistentry> |
| 31 | + <term><parameter>girdi_dosyası</parameter></term> |
| 32 | + <listitem> |
| 33 | + <para> |
| 34 | + İmzalanacak dosyanın ismi. |
| 35 | + </para> |
| 36 | + </listitem> |
| 37 | + </varlistentry> |
| 38 | + <varlistentry> |
| 39 | + <term><parameter>çıktı_dosyası</parameter></term> |
| 40 | + <listitem> |
| 41 | + <para> |
| 42 | + Sonuçların saklanacağı dosya. |
| 43 | + </para> |
| 44 | + </listitem> |
| 45 | + </varlistentry> |
| 46 | + <varlistentry> |
| 47 | + <term><parameter>sertifika</parameter></term> |
| 48 | + <listitem> |
| 49 | + <para> |
| 50 | + İmzalama setifikası. Geçerli değerler için bkz: |
| 51 | + <link linkend="openssl.certparams">Anahtar/Sertifika bağımsız değişkenleri</link> |
| 52 | + </para> |
| 53 | + </listitem> |
| 54 | + </varlistentry> |
| 55 | + <varlistentry> |
| 56 | + <term><parameter>özel_anahtar</parameter></term> |
| 57 | + <listitem> |
| 58 | + <para> |
| 59 | + <parameter>sertifika</parameter> ile ilişkili anahtarı içeren |
| 60 | + dosyanın ismi. Geçerli değerler için bkz: |
| 61 | + <link linkend="openssl.certparams">Anahtar/Sertifika bağımsız değişkenleri</link> |
| 62 | + </para> |
| 63 | + </listitem> |
| 64 | + </varlistentry> |
| 65 | + <varlistentry> |
| 66 | + <term><parameter>başlıklar</parameter></term> |
| 67 | + <listitem> |
| 68 | + <para> |
| 69 | + S/MIME çıktıda içerilecek başlıklar dizisi. |
| 70 | + </para> |
| 71 | + </listitem> |
| 72 | + </varlistentry> |
| 73 | + <varlistentry> |
| 74 | + <term><parameter>seçenekler</parameter></term> |
| 75 | + <listitem> |
| 76 | + <para> |
| 77 | + <function>cms_sign</function> işlevine aktarılacak seçenekler. |
| 78 | + </para> |
| 79 | + </listitem> |
| 80 | + </varlistentry> |
| 81 | + <varlistentry> |
| 82 | + <term><parameter>kodlama</parameter></term> |
| 83 | + <listitem> |
| 84 | + <para> |
| 85 | + Çıktı dosyasının kodlaması. Şunlardan biri olabilir: |
| 86 | + <constant>OPENSSL_CMS_SMIME</constant>, |
| 87 | + <constant>OPENSLL_CMS_DER</constant> veya |
| 88 | + <constant>OPENSSL_CMS_PEM</constant>. |
| 89 | + </para> |
| 90 | + </listitem> |
| 91 | + </varlistentry> |
| 92 | + <varlistentry> |
| 93 | + <term><parameter>güvenilmeyen_sertifikalar_dosyası</parameter></term> |
| 94 | + <listitem> |
| 95 | + <para> |
| 96 | + İmzaya dahil edilecek ara sertifikalar. |
| 97 | + </para> |
| 98 | + </listitem> |
| 99 | + </varlistentry> |
| 100 | + </variablelist> |
| 101 | + </refsect1> |
| 102 | + |
| 103 | + <refsect1 role="returnvalues"> |
| 104 | + &reftitle.returnvalues; |
| 105 | + <para> |
| 106 | + &return.success; |
| 107 | + </para> |
| 108 | + </refsect1> |
| 109 | + |
| 110 | + <refsect1 role="examples"> |
| 111 | + &reftitle.examples; |
| 112 | + <para> |
| 113 | + <example> |
| 114 | + <title>- <function>openssl_cms_sign</function> örneği</title> |
| 115 | + <programlisting role="php"> |
| 116 | +<![CDATA[ |
| 117 | +<?php |
| 118 | +
|
| 119 | +openssl_cms_sign('input.txt', 'output.txt', 'file://cert.pem', 'file://privkey.pem', null, OPENSSL_CMS_BINARY, OPENSSL_ENCODING_DER, 'chain.pem'); |
| 120 | +?> |
| 121 | +]]> |
| 122 | + </programlisting> |
| 123 | + </example> |
| 124 | + </para> |
| 125 | + </refsect1> |
| 126 | + |
| 127 | +</refentry> |
| 128 | + |
| 129 | +<!-- Keep this comment at the end of the file |
| 130 | +Local variables: |
| 131 | +mode: sgml |
| 132 | +sgml-omittag:t |
| 133 | +sgml-shorttag:t |
| 134 | +sgml-minimize-attributes:nil |
| 135 | +sgml-always-quote-attributes:t |
| 136 | +sgml-indent-step:1 |
| 137 | +sgml-indent-data:t |
| 138 | +indent-tabs-mode:nil |
| 139 | +sgml-parent-document:nil |
| 140 | +sgml-default-dtd-file:"~/.phpdoc/manual.ced" |
| 141 | +sgml-exposed-tags:nil |
| 142 | +sgml-local-catalogs:nil |
| 143 | +sgml-local-ecat-files:nil |
| 144 | +End: |
| 145 | +vim600: syn=xml fen fdm=syntax fdl=2 si |
| 146 | +vim: et tw=78 syn=sgml |
| 147 | +vi: ts=1 sw=1 |
| 148 | +--> |
0 commit comments