Merge pull request #75721 from ScorpionInc/Expose_String_functions_for_X509Certificate

Exposes String functions for X509Certificates
This commit is contained in:
Fabio Alessandrelli
2023-05-10 05:26:55 +02:00
committed by GitHub
5 changed files with 49 additions and 0 deletions

View File

@ -17,6 +17,13 @@
Loads a certificate from [param path] ("*.crt" file).
</description>
</method>
<method name="load_from_string">
<return type="int" enum="Error" />
<param index="0" name="string" type="String" />
<description>
Loads a certificate from the given [param string].
</description>
</method>
<method name="save">
<return type="int" enum="Error" />
<param index="0" name="path" type="String" />
@ -24,5 +31,11 @@
Saves a certificate to the given [param path] (should be a "*.crt" file).
</description>
</method>
<method name="save_to_string">
<return type="String" />
<description>
Returns a string representation of the certificate, or an empty string if the certificate is invalid.
</description>
</method>
</methods>
</class>