aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/lib.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-16 00:04:33 +0900
committernsfisis <nsfisis@gmail.com>2026-05-16 10:00:40 +0900
commitc5f9f02edab222fbf37a593dd35c04b4976273e2 (patch)
tree2badebb41deb4954cc18dfbcd15575645c27a49d /crates/shirabe-php-shim/src/lib.rs
parentf349711071dc66696fc120af122620de1b9234ee (diff)
downloadphp-shirabe-c5f9f02edab222fbf37a593dd35c04b4976273e2.tar.gz
php-shirabe-c5f9f02edab222fbf37a593dd35c04b4976273e2.tar.zst
php-shirabe-c5f9f02edab222fbf37a593dd35c04b4976273e2.zip
feat(port): port TlsHelper.php
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index 27ccb0e..512c932 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -463,6 +463,26 @@ pub fn base64_encode(data: &str) -> String {
todo!()
}
+pub fn base64_decode(data: &str) -> Option<Vec<u8>> {
+ todo!()
+}
+
+pub fn substr_count(haystack: &str, needle: &str) -> i64 {
+ todo!()
+}
+
+pub fn openssl_x509_parse(certificate: &str, short_names: bool) -> Option<IndexMap<String, Box<PhpMixed>>> {
+ todo!()
+}
+
+pub fn openssl_get_publickey(certificate: &str) -> Option<PhpMixed> {
+ todo!()
+}
+
+pub fn openssl_pkey_get_details(key: PhpMixed) -> Option<IndexMap<String, Box<PhpMixed>>> {
+ todo!()
+}
+
pub fn fileperms(path: &str) -> i64 {
todo!()
}