autodoc.git
/
onepage.xml
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/onepage.xml:3286:
<variable name='client_cert_distinguished_names'><type><array><valuetype><string/></valuetype></array></type></variable> </docgroup> <docgroup homogen-type='variable'><doc><text><p>Random cookies, sent and received with the hello-messages.</p> </text></doc> <variable name='client_random'><type><string/></type></variable> <variable name='server_random'><type><string/></type></variable> </docgroup> <docgroup homogen-name='create' homogen-type='method'><doc><group><param name='is_server'/><text><p>Whether this is the server end of the connection or not.</p> </text></group><group><param name='ctx'/><text><p>The context for the connection.</p> </text></group><group><param name='min_version'/><text><p>Minimum version of SSL to support.
-
Defaults to <ref resolved='
7.8
::SSL.Constants.ProtocolVersion.PROTOCOL_SSL_3_0'>Constants.PROTOCOL_SSL_3_0</ref>.</p>
+
Defaults to <ref resolved='
predef
::SSL.Constants.ProtocolVersion.PROTOCOL_SSL_3_0'>Constants.PROTOCOL_SSL_3_0</ref>.</p>
</text></group><group><param name='max_version'/><text><p>Maximum version of SSL to support. Defaults to <ref resolved='7.8::SSL.Constants.PROTOCOL_minor'>Constants.PROTOCOL_minor</ref>.</p> </text></group></doc> <method name='create'> <arguments><argument name='is_server'><type><int/></type></argument><argument name='ctx'><type><or><void/><object resolved='7.8::SSL.context'>SSL.context</object></or></type></argument><argument name='min_version'><type><or><void/><object resolved='7.8::SSL.Constants.ProtocolVersion'>ProtocolVersion</object></or></type></argument><argument name='max_version'><type><or><void/><object resolved='7.8::SSL.Constants.ProtocolVersion'>ProtocolVersion</object></or></type></argument></arguments> <returntype><void/></returntype> </method> </docgroup> <docgroup homogen-name='handle_handshake' homogen-type='method'><doc><text><p>Do handshake processing. Type is one of HANDSHAKE_*, data is the contents of the packet, and raw is the raw packet received (needed
autodoc.git/onepage.xml:6817:
<docgroup homogen-name='make_time' homogen-type='method'><doc><text><p>Creates a <ref resolved='predef::Standards.ASN1.Types.UTC'>Standards.ASN1.Types.UTC</ref> object from the posix time <ref resolved='8.0::Tools.X509.make_time.t'>t</ref>.</p> </text></doc> <method name='make_time'> <arguments><argument name='t'><type><int/></type></argument></arguments> <returntype><object resolved='predef::Standards.ASN1.Types.UTC'>UTC</object></returntype> </method> </docgroup> <docgroup homogen-name='make_verifier' homogen-type='method'> <method name='make_verifier'>
-
<arguments><argument name='_keyinfo'><type><object resolved='predef::Object'>Object</object></type></argument></arguments>
+
<arguments><argument name='_keyinfo'><type><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></type></argument></arguments>
<returntype><object>Verifier</object></returntype> </method> </docgroup> <docgroup homogen-name='parse_time' homogen-type='method'><doc><text><p>Returns a mapping similar to that returned by gmtime</p> </text><group><returns/><text><mapping><group><member><type><int/></type><index>"year"</index></member><member><type><int/></type><index>"mon"</index></member><member><type><int/></type><index>"mday"</index></member><member><type><int/></type><index>"hour"</index></member><member><type><int/></type><index>"min"</index></member><member><type><int/></type><index>"sec"</index></member></group></mapping> </text></group></doc> <method name='parse_time'> <arguments><argument name='asn1'><type><object resolved='predef::Standards.ASN1.Types.UTC'>UTC</object></type></argument></arguments> <returntype><mapping><indextype><string/></indextype><valuetype><int/></valuetype></mapping></returntype> </method>
autodoc.git/onepage.xml:6918:
</docgroup> <docgroup homogen-name='der' homogen-type='variable'> <variable name='der'><type><string/></type></variable> </docgroup> <docgroup homogen-name='extensions' homogen-type='variable'><doc><group><note/><text><p>optional</p> </text></group></doc> <variable name='extensions'><type><object resolved='8.0::Tools.X509.TBSCertificate'/></type></variable> </docgroup> <docgroup homogen-name='init' homogen-type='method'> <method name='init'>
-
<arguments><argument name='asn1'><type><object resolved='predef::Object'>Object</object></type></argument></arguments>
+
<arguments><argument name='asn1'><type><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></type></argument></arguments>
<returntype><object resolved='8.0::Tools.X509.TBSCertificate'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='issuer' homogen-type='variable'> <variable name='issuer'><type><object resolved='predef::Standards.ASN1.Types.Sequence'>Sequence</object></type></variable> </docgroup> <docgroup homogen-name='issuer_id' homogen-type='variable'><doc><group><note/><text><p>optional</p> </text></group></doc> <variable name='issuer_id'><type><object resolved='predef::Standards.ASN1.Types.BitString'>BitString</object></type></variable> </docgroup>
autodoc.git/onepage.xml:23294:
or will fail with <ref resolved='predef::.UNDEFINED'>UNDEFINED</ref> if it returns false.</p> </text></doc> <method name='filter'> <arguments><argument name='fun'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><int><min>0</min><max>1</max></int></returntype></function></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='flat_map' homogen-type='method'><doc><text><p>Return a <ref resolved='predef::Concurrent.Future'>Future</ref> that will be fulfilled with the fulfilled result of applying <ref resolved='predef::Concurrent.Future.flat_map.fun'>fun</ref> with the fulfilled result of this <ref resolved='predef::Concurrent.Future'>Future</ref> followed by <ref resolved='predef::Concurrent.Future.flat_map.extra'>extra</ref>.</p>
-
</text></doc>
+
</text><
group><note
/
><text><p>This method is used if your <ref resolved='predef::Concurrent.Future.flat_map.fun'>fun</ref> returns a <ref resolved='predef::Concurrent.Future'>Future</ref> again.</p>
+
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.map'>map()</ref>, <ref resolved='predef::Concurrent.Future.transform_with'>transform_with()</ref></p>
+
</text></group></
doc>
<method name='flat_map'> <arguments><argument name='fun'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype></function></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='get' homogen-type='method'><doc><text><p>Wait for fulfillment and return the value.</p> </text><group><throws/><text><p>Throws on rejection.</p> </text></group></doc> <method name='get'> <arguments/> <returntype><mixed/></returntype> </method> </docgroup> <docgroup homogen-name='map' homogen-type='method'><doc><text><p>Return a <ref resolved='predef::Concurrent.Future'>Future</ref> that will be fulfilled with the result of applying <ref resolved='predef::Concurrent.Future.map.fun'>fun</ref> with the fulfilled result of this <ref resolved='predef::Concurrent.Future'>Future</ref> followed by <ref resolved='predef::Concurrent.Future.map.extra'>extra</ref>.</p>
-
</text></doc>
+
</text><
group><note
/
><text><p>This method is used if your <ref resolved='predef::Concurrent.Future.map.fun'>fun</ref> returns a regular value (i.e.
+
<b>not</b> a <ref resolved='predef::Concurrent.Future'>Future</ref>).</p>
+
</text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.flat_map'>flat_map()</ref>, <ref resolved='predef::Concurrent.Future.transform'>transform()</ref></p>
+
</text></group></
doc>
<method name='map'> <arguments><argument name='fun'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><mixed/></returntype></function></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='on_failure' homogen-type='method'><doc><text><p>Register a callback that is to be called on failure.</p> </text><group><param name='cb'/><text><p>Function to be called. The first argument will be the failure result of the <ref resolved='predef::Concurrent.Future'>Future</ref>.</p> </text></group><group><param name='extra'/><text><p>Any extra context needed for <ref resolved='predef::Concurrent.Future.on_failure.cb'>cb</ref>. They will be provided as arguments two and onwards when <ref resolved='predef::Concurrent.Future.on_failure.cb'>cb</ref> is called.</p>
autodoc.git/onepage.xml:23419:
<method name='timeout'> <arguments><argument name='seconds'><type><or><int/><float/></or></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='transform' homogen-type='method'><doc><text><p>Return a <ref resolved='predef::Concurrent.Future'>Future</ref> that will be fulfilled with either the result of applying <ref resolved='predef::Concurrent.Future.transform.success'>success</ref> with the fulfilled result followed by <ref resolved='predef::Concurrent.Future.transform.extra'>extra</ref>, or the result of applying <ref resolved='predef::Concurrent.Future.transform.failure'>failure</ref> with the failed result followed by <ref resolved='predef::Concurrent.Future.transform.extra'>extra</ref>.</p> <p> <ref resolved='predef::Concurrent.Future.transform.failure'>failure</ref> defaults to <ref resolved='predef::Concurrent.Future.transform.success'>success</ref>.</p>
-
</text><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.map'>map</ref></p>
+
</text><group><
note/><text><p>This method is used if your callbacks returns a regular value (i.e.
+
<b>not</b> a <ref resolved='predef::Concurrent.Future'>Future</ref>).</p>
+
</text></group><group><
seealso/><text><p><ref resolved='predef::Concurrent.Future.map'>map
()
</ref>
,
<
ref resolved='predef::Concurrent.Future.transform_with'>transform_with()<
/
ref></
p>
</text></group></doc> <method name='transform'> <arguments><argument name='success'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><mixed/></returntype></function></type></argument><argument name='failure'><type><or><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><mixed/></returntype></function><void/></or></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments> <returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='transform_with' homogen-type='method'><doc><text><p>Return a <ref resolved='predef::Concurrent.Future'>Future</ref> that will be fulfilled with either the fulfilled result of applying <ref resolved='predef::Concurrent.Future.transform_with.success'>success</ref> with the fulfilled result followed by <ref resolved='predef::Concurrent.Future.transform_with.extra'>extra</ref>, or the fulfilled result of applying <ref resolved='predef::Concurrent.Future.transform_with.failure'>failure</ref> with the failed result followed by <ref resolved='predef::Concurrent.Future.transform_with.extra'>extra</ref>.</p> <p> <ref resolved='predef::Concurrent.Future.transform_with.failure'>failure</ref> defaults to <ref resolved='predef::Concurrent.Future.transform_with.success'>success</ref>.</p>
-
</text><group><seealso/><text><p><ref resolved='predef::Concurrent.Future.flat_map'>flat_map</ref></p>
+
</text><group><
note/><text><p>This method is used if your callbacks returns a <ref resolved='predef::Concurrent.Future'>Future</ref> again.</p>
+
</text></group><group><
seealso/><text><p><ref resolved='predef::Concurrent.Future.flat_map'>flat_map
()
</ref>
,
<
ref resolved='predef::Concurrent.Future.transform'>transform()<
/
ref></
p>
</text></group></doc> <method name='transform_with'>
-
<arguments><argument name='success'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><object resolved='predef::Concurrent.Future'>
Future
</object></returntype></function></type></argument><argument name='failure'><type><or><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><object resolved='predef::Concurrent.Future'>
Future
</object></returntype></function><void/></or></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments>
+
<arguments><argument name='success'><type><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><object resolved='predef::Concurrent.Future'>
this_program
</object></returntype></function></type></argument><argument name='failure'><type><or><function><argtype><mixed/></argtype><argtype><varargs><mixed/></varargs></argtype><returntype><object resolved='predef::Concurrent.Future'>
this_program
</object></returntype></function><void/></or></type></argument><argument name='extra'><type><varargs><mixed/></varargs></type></argument></arguments>
<returntype><object resolved='predef::Concurrent.Future'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='zip' homogen-type='method'><doc><group><returns/><text><p>A <ref resolved='predef::Concurrent.Future'>Future</ref> that will be fulfilled with an array of the fulfilled result of this object followed by the fulfilled results of <ref resolved='predef::Concurrent.Future.zip.others'>others</ref>.</p> </text></group><group><seealso/><text><p><ref resolved='predef::Concurrent.results'>results()</ref></p> </text></group></doc> <method name='zip'> <arguments><argument name='others'><type><varargs><object resolved='predef::Concurrent.Future'>this_program</object></varargs></type></argument></arguments>
autodoc.git/onepage.xml:119033:
<p> Primarily useful with <ref resolved='predef::Sql.mysql.big_query.charset'>charset</ref> set to <expr>"latin1"</expr> if unicode encode mode (see <ref resolved='predef::Sql.mysql.set_unicode_encode_mode'>set_unicode_encode_mode</ref>) is enabled (the default) and you have some large queries (typically blob inserts) where you want to avoid the query parsing overhead.</p> </text></group><group><returns/><text><p>A <ref resolved='predef::Mysql.mysql.Result'>Result</ref> object is returned if the query is of a kind that returns a result. Zero is returned otherwise.</p> <p> The individual fields are returned as strings except for <tt>NULL</tt>, which is returned as <ref resolved='predef::.UNDEFINED'>UNDEFINED</ref>.</p> </text></group><group><seealso/><text><p><ref>Sql.big_query()</ref>, <ref resolved='predef::Sql.mysql.big_typed_query'>big_typed_query()</ref>, <ref resolved='predef::Sql.mysql.streaming_query'>streaming_query()</ref></p> </text></group></doc>
-
<method name='big_query'>
+
<method name='big_query'>
<modifiers><variant/></modifiers>
<arguments><argument name='query'><type><string/></type></argument><argument name='bindings'><type><or><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping><void/></or></type></argument><argument name='charset'><type><or><void/><string/></or></type></argument></arguments> <returntype><object resolved='predef::Mysql.mysql.Result'>Result</object></returntype> </method> </docgroup> <docgroup homogen-name='big_typed_query' homogen-type='method'><doc><text><p>Makes a typed SQL query.</p> <p> This function sends the SQL query <ref resolved='predef::Sql.mysql.big_typed_query.query'>query</ref> to the MySQL server and returns a result object in typed mode, which means that the types of the result fields depend on the corresponding SQL types. See the class docs for details.</p> <p> In all other respects, it behaves like <ref resolved='predef::Sql.mysql.big_query'>big_query</ref>.</p> </text><group><seealso/><text><p><ref resolved='predef::Sql.mysql.big_query'>big_query()</ref>, <ref resolved='predef::Sql.mysql.streaming_typed_query'>streaming_typed_query()</ref></p> </text></group></doc>
-
<method name='big_typed_query'>
+
<method name='big_typed_query'>
<modifiers><variant/></modifiers>
<arguments><argument name='query'><type><string/></type></argument><argument name='bindings'><type><or><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping><void/></or></type></argument><argument name='charset'><type><or><void/><string/></or></type></argument></arguments> <returntype><object resolved='predef::Mysql.mysql.Result'>Result</object></returntype> </method> </docgroup> <docgroup homogen-name='encode_date' homogen-type='method'><doc><text><p>Converts a system time value to an appropriately formatted date-only spec for the database.</p> </text><group><param name='time'/><text><p>Time to encode.</p> </text></group></doc> <method name='encode_date'> <arguments><argument name='time'><type><int/></type></argument></arguments>
autodoc.git/onepage.xml:119278:
</method> </docgroup> <docgroup homogen-name='streaming_query' homogen-type='method'><doc><text><p>Makes a streaming SQL query.</p> <p> This function sends the SQL query <ref resolved='predef::Sql.mysql.streaming_query.query'>query</ref> to the Mysql-server. The result of the query is streamed through the returned <ref resolved='predef::Mysql.mysql.Result'>Result</ref> object. Note that the involved database tables are locked until all the results has been read.</p> <p> In all other respects, it behaves like <ref resolved='predef::Sql.mysql.big_query'>big_query</ref>.</p> </text><group><seealso/><text><p><ref resolved='predef::Sql.mysql.big_query'>big_query()</ref>, <ref resolved='predef::Sql.mysql.streaming_typed_query'>streaming_typed_query()</ref></p> </text></group></doc>
-
<method name='streaming_query'>
+
<method name='streaming_query'>
<modifiers><variant/></modifiers>
<arguments><argument name='query'><type><string/></type></argument><argument name='bindings'><type><or><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping><void/></or></type></argument><argument name='charset'><type><or><void/><string/></or></type></argument></arguments> <returntype><object resolved='predef::Mysql.mysql.Result'>Result</object></returntype> </method> </docgroup> <docgroup homogen-name='streaming_typed_query' homogen-type='method'><doc><text><p>Makes a streaming typed SQL query.</p> <p> This function acts as the combination of <ref resolved='predef::Sql.mysql.streaming_query'>streaming_query()</ref> and <ref resolved='predef::Sql.mysql.big_typed_query'>big_typed_query()</ref>.</p> </text><group><seealso/><text><p><ref resolved='predef::Sql.mysql.big_typed_query'>big_typed_query()</ref>, <ref resolved='predef::Sql.mysql.streaming_typed_query'>streaming_typed_query()</ref></p> </text></group></doc>
-
<method name='streaming_typed_query'>
+
<method name='streaming_typed_query'>
<modifiers><variant/></modifiers>
<arguments><argument name='query'><type><string/></type></argument><argument name='bindings'><type><or><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping><void/></or></type></argument><argument name='charset'><type><or><void/><string/></or></type></argument></arguments> <returntype><object resolved='predef::Mysql.mysql.Result'>Result</object></returntype> </method> </docgroup> <docgroup homogen-name='utf8_encode_query' homogen-type='method'><doc><text><p>Encodes the appropriate sections of the query with <ref resolved='predef::Sql.mysql.utf8_encode_query.encode_fn'>encode_fn</ref>. Everything except strings prefixed by an introducer (i.e. <expr>_something</expr> or <expr>N</expr>) is encoded.</p> </text></doc> <method name='utf8_encode_query'> <arguments><argument name='q'><type><string/></type></argument><argument name='encode_fn'><type><function><argtype><string/></argtype><returntype><string/></returntype></function></type></argument></arguments>
autodoc.git/onepage.xml:119540:
</text></group><group><note/><text><p>This function, by default, does not support multiple queries in one querystring. I.e. it allows for but does not require a trailing semicolon, but it simply ignores any commands after the first unquoted semicolon. This can be viewed as a limited protection against SQL-injection attacks. To make it support multiple queries in one querystring, use the <ref resolved='predef::Sql.pgsql.big_query'>:_text</ref> option (not recommended).</p> </text></group><group><seealso/><text><p><ref resolved='predef::Sql.pgsql.big_typed_query'>big_typed_query()</ref>, <ref resolved='predef::Sql.Connection'>Sql.Connection</ref>, <ref resolved='predef::Sql.Result'>Sql.Result</ref>, <ref resolved='predef::__builtin.Sql.Connection.query'>query()</ref>, <ref resolved='predef::Sql.pgsql_util.Result'>Sql.pgsql_util.Result</ref></p> </text></group></doc>
-
<method name='big_query'><modifiers><final/></modifiers>
+
<method name='big_query'><modifiers><final/><
variant
/
></
modifiers>
<arguments><argument name='q'><type><string/></type></argument><argument name='bindings'><type><or><void/><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping></or></type></argument><argument name='_alltyped'><type><or><void/><int/></or></type></argument></arguments> <returntype><object resolved='predef::Sql.pgsql_util.Result'>.pgsql_util.Result</object></returntype> </method> </docgroup> <docgroup homogen-name='big_typed_query' homogen-type='method'><doc><text><p>This function returns an object that allows streaming and typed results.</p> </text><group><seealso/><text><p><ref resolved='predef::Sql.pgsql.big_query'>big_query()</ref>, <ref resolved='predef::Sql.Connection'>Sql.Connection</ref>, <ref resolved='predef::Sql.Result'>Sql.Result</ref></p> </text></group></doc>
-
<method name='big_typed_query'><modifiers><final/></modifiers>
+
<method name='big_typed_query'><modifiers><final/><
variant
/
></
modifiers>
<arguments><argument name='q'><type><string/></type></argument><argument name='bindings'><type><or><void/><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping></or></type></argument></arguments> <returntype><object resolved='predef::Sql.pgsql_util.Result'>.pgsql_util.Result</object></returntype> </method> </docgroup> <docgroup homogen-name='cancelquery' homogen-type='method'><doc><text><p>Cancels all currently running queries in this session.</p> </text><group><seealso/><text><p><ref resolved='predef::Sql.pgsql.reload'>reload()</ref>, <ref resolved='predef::Sql.pgsql.resync'>resync()</ref></p> </text></group><group><note/><text><p>This function is PostgreSQL-specific.</p> </text></group></doc> <method name='cancelquery'><modifiers><final/></modifiers> <arguments/>
autodoc.git/onepage.xml:119978:
</text></group></doc> <method name='status_commit'><modifiers><final/></modifiers> <arguments/> <returntype><string/></returntype> </method> </docgroup> <docgroup homogen-name='streaming_query' homogen-type='method'><doc><text><p>This is an alias for <ref resolved='predef::Sql.pgsql.big_query'>big_query()</ref>, since <ref resolved='predef::Sql.pgsql.big_query'>big_query()</ref> already supports streaming of multiple simultaneous queries through the same connection.</p> </text><group><seealso/><text><p><ref resolved='predef::Sql.pgsql.big_query'>big_query()</ref>, <ref resolved='predef::Sql.pgsql.big_typed_query'>big_typed_query()</ref>, <ref resolved='predef::Sql.Connection'>Sql.Connection</ref>, <ref resolved='predef::Sql.Result'>Sql.Result</ref></p> </text></group></doc>
-
<method name='streaming_query'><modifiers><final/></modifiers>
+
<method name='streaming_query'><modifiers><final/><
variant
/
></
modifiers>
<arguments><argument name='q'><type><string/></type></argument><argument name='bindings'><type><or><void/><mapping><indextype><or><string/><int/></or></indextype><valuetype><mixed/></valuetype></mapping></or></type></argument></arguments> <returntype><object resolved='predef::Sql.pgsql_util.Result'>.pgsql_util.Result</object></returntype> </method> </docgroup> </class> <module name='pgsql_util'> <doc><text><p>The pgsql backend, shared between all connection instances. It runs even in non-callback mode in a separate thread and makes sure that communication with the database is real-time and event driven at all times.</p>
autodoc.git/onepage.xml:122924:
public keys must be set.</p> </text></group><group><param name='name'/><text><p>The distinguished name for the certificate.</p> </text></group><group><param name='attributes'/><text><p>Attributes from PKCS #9 to add to the certificate.</p> </text></group><group><param name='hash'/><text><p>Hash algoritm to use for the CSR signature. Defaults to <ref resolved='predef::Crypto.SHA256'>Crypto.SHA256</ref>.</p> </text></group><group><note/><text><p>Prior to Pike 8.0 this function only supported signing with <ref resolved='predef::Crypto.RSA'>Crypto.RSA</ref> and the default (and only) hash was <ref resolved='predef::Crypto.MD5'>Crypto.MD5</ref>.</p> </text></group></doc> <method name='build_csr'>
-
<arguments><argument name='sign'><type><object resolved='predef::Crypto.Sign'>Crypto.Sign</object></type></argument><argument name='name'><type><object resolved='predef::Standards.ASN1.Types.Sequence'>Sequence</object></type></argument><argument name='attributes'><type><mapping><indextype><string/></indextype><valuetype><array><valuetype><object resolved='predef::Object'>Object</object></valuetype></array></valuetype></mapping></type></argument><argument name='hash'><type><or><object resolved='predef::Crypto.Hash'>Crypto.Hash</object><void/></or></type></argument></arguments>
+
<arguments><argument name='sign'><type><object resolved='predef::Crypto.Sign'>Crypto.Sign</object></type></argument><argument name='name'><type><object resolved='predef::Standards.ASN1.Types.Sequence'>Sequence</object></type></argument><argument name='attributes'><type><mapping><indextype><string/></indextype><valuetype><array><valuetype><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></valuetype></array></valuetype></mapping></type></argument><argument name='hash'><type><or><object resolved='predef::Crypto.Hash'>Crypto.Hash</object><void/></or></type></argument></arguments>
<returntype><object resolved='predef::Standards.ASN1.Types.Sequence'>Sequence</object></returntype> </method> </docgroup> <docgroup homogen-name='' homogen-type='import'> <import name=''><classname resolved='predef::'>predef::</classname></import> </docgroup> <docgroup homogen-name='Types' homogen-type='import'> <import name='Types'><classname resolved='predef::Standards.ASN1.Types'>Standards.ASN1.Types</classname></import> </docgroup> <docgroup homogen-name='sign_cri' homogen-type='method'><doc><text><p>Sign a <ref resolved='predef::Standards.PKCS.CSR.CRI'>CRI</ref> to generate a Certificate Signing Request.</p>
autodoc.git/onepage.xml:123374:
<p>Setting</p> <p> The signature.</p> </text></doc> <variable name='signature'><type><object resolved='predef::Standards.ASN1.Types.BitString'>BitString</object></type></variable> </docgroup> <docgroup homogen-name='tbs' homogen-type='variable'><doc><text><p>Getting</p> <p> ASN.1 structure that has been signed.</p> <p>Setting</p> <p> ASN.1 structure that has been signed.</p> </text></doc>
-
<variable name='tbs'><type><object resolved='predef::Object'>Object</object></type></variable>
+
<variable name='tbs'><type><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></type></variable>
</docgroup> </class> </module> </module> <module name='TLD'> <docgroup homogen-name='cc' homogen-type='constant'><doc><text><p>A mapping between country TLDs and the name of the country.</p> </text></doc> <constant name='cc'/> </docgroup> <docgroup homogen-name='generic' homogen-type='variable'><doc><text><p>A multiset containing the generic TLDs, such as "com" and "info".</p>
autodoc.git/onepage.xml:123886:
<method name='load_authorities'> <arguments><argument name='root_cert_dirs'><type><or><string/><array><valuetype><string/></valuetype></array><void/></or></type></argument><argument name='cache'><type><or><int><min>0</min><max>1</max></int><void/></or></type></argument></arguments> <returntype><mapping><indextype><string/></indextype><valuetype><array><valuetype><object resolved='predef::Standards.X509.Verifier'>Verifier</object></valuetype></array></valuetype></mapping></returntype> </method> </docgroup> <docgroup homogen-name='make_extension' homogen-type='method'><doc><text><p>Creates a certificate extension with the <ref resolved='predef::Standards.X509.make_extension.id'>id</ref> as identifier and <ref resolved='predef::Standards.X509.make_extension.ext'>ext</ref> as the extension payload. If the <ref resolved='predef::Standards.X509.make_extension.critical'>critical</ref> flag is set the extension will be marked as critical.</p> </text></doc> <method name='make_extension'>
-
<arguments><argument name='id'><type><object resolved='predef::Standards.ASN1.Types.Identifier'>Identifier</object></type></argument><argument name='ext'><type><object resolved='predef::Object'>Object</object></type></argument><argument name='critical'><type><or><void/><int/></or></type></argument></arguments>
+
<arguments><argument name='id'><type><object resolved='predef::Standards.ASN1.Types.Identifier'>Identifier</object></type></argument><argument name='ext'><type><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></type></argument><argument name='critical'><type><or><void/><int/></or></type></argument></arguments>
<returntype><object resolved='predef::Standards.ASN1.Types.Sequence'>Sequence</object></returntype> </method> </docgroup> <docgroup homogen-name='make_selfsigned_certificate' homogen-type='method'><doc><text><p>Creates a selfsigned certificate, i.e. where issuer and subject are the same entity. This entity is derived from the list of pairs in <ref resolved='predef::Standards.X509.make_selfsigned_certificate.name'>name</ref>, which is encoded into an distinguished_name by <ref resolved='predef::Standards.PKCS.Certificate.build_distinguished_name'>Standards.PKCS.Certificate.build_distinguished_name</ref>.</p> </text><group><param name='c'/><text><p>The public key cipher used for the certificate, <ref resolved='predef::Crypto.RSA'>Crypto.RSA</ref>, <ref resolved='predef::Crypto.DSA'>Crypto.DSA</ref> or <ref resolved='predef::Crypto.ECC.Curve.ECDSA'>Crypto.ECC.Curve.ECDSA</ref>. The object should be initialized with both public and private keys.</p>
autodoc.git/onepage.xml:124170:
</docgroup> <docgroup homogen-name='ext_subjectKeyIdentifier' homogen-type='variable'><doc><text><p>Set to the value of the SubjectKeyIdentifier if the certificate contains the subjectKeyIdentifier extension. <rfc>3280:4.2.1.2</rfc>.</p> </text></doc> <variable name='ext_subjectKeyIdentifier'><type><string/></type></variable> </docgroup> <docgroup homogen-name='extensions' homogen-type='variable'><doc><group><note/><text><p>optional</p> </text></group><group><note/><text><p>Read only</p> </text></group></doc>
-
<variable name='extensions'><type><mapping><indextype><object resolved='predef::Standards.ASN1.Types.Identifier'>Identifier</object></indextype><valuetype><object resolved='predef::Object'>Object</object></valuetype></mapping></type></variable>
+
<variable name='extensions'><type><mapping><indextype><object resolved='predef::Standards.ASN1.Types.Identifier'>Identifier</object></indextype><valuetype><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></valuetype></mapping></type></variable>
</docgroup> <docgroup homogen-name='hash' homogen-type='variable'><doc><text><p>Algorithm hash if known and supported. Otherwise <ref resolved='predef::.UNDEFINED'>UNDEFINED</ref>.</p> </text><group><note/><text><p>Read only</p> </text></group></doc> <variable name='hash'><type><object resolved='predef::Crypto.Hash'>Crypto.Hash</object></type></variable> </docgroup> <docgroup homogen-name='Sequence' homogen-type='inherit'> <inherit name='Sequence'><classname resolved='predef::Standards.ASN1.Types.Sequence'>Sequence</classname></inherit> </docgroup> <docgroup homogen-name='init' homogen-type='method'><doc><text><p>Populates the object from a certificate decoded into an ASN.1 Object. Returns the object on success, otherwise <expr>0</expr>. You probably want to call <ref resolved='predef::Standards.X509.decode_certificate'>decode_certificate</ref> or even <ref resolved='predef::Standards.X509.verify_certificate'>verify_certificate</ref>.</p> </text></doc> <method name='init'>
-
<arguments><argument name='asn1'><type><or><array/><object resolved='predef::Object'>Object</object></or></type></argument></arguments>
+
<arguments><argument name='asn1'><type><or><array/><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></or></type></argument></arguments>
<returntype><object resolved='predef::Standards.X509.TBSCertificate'>this_program</object></returntype> </method> </docgroup> <docgroup homogen-name='internal_critical' homogen-type='variable'><doc><group><note/><text><p>optional</p> </text></group></doc> <variable name='internal_critical'><modifiers><protected/></modifiers><type><multiset/></type></variable> </docgroup> <docgroup homogen-name='internal_extensions' homogen-type='variable'><doc><group><note/><text><p>optional</p> </text></group></doc>
-
<variable name='internal_extensions'><modifiers><protected/></modifiers><type><mapping><indextype><object resolved='predef::Standards.ASN1.Types.Identifier'>Identifier</object></indextype><valuetype><object resolved='predef::Object'>Object</object></valuetype></mapping></type></variable>
+
<variable name='internal_extensions'><modifiers><protected/></modifiers><type><mapping><indextype><object resolved='predef::Standards.ASN1.Types.Identifier'>Identifier</object></indextype><valuetype><object resolved='predef::
Standards.ASN1.Types.
Object'>Object</object></valuetype></mapping></type></variable>
</docgroup> <docgroup homogen-name='issuer' homogen-type='variable'><doc><text><p>Certificate issuer.</p> </text></doc> <variable name='issuer'><type><void/></type></variable> </docgroup> <docgroup homogen-name='issuer_id' homogen-type='variable'><doc><group><note/><text><p>optional</p> </text></group></doc> <variable name='issuer_id'><type><void/></type></variable> </docgroup> <docgroup homogen-name='keyinfo' homogen-type='variable'>