From 241768da2cd7fa9e841028b34ef36bb7d71c4ae4 Mon Sep 17 00:00:00 2001 From: Artem Vasilev Date: Mon, 24 Oct 2022 20:03:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BE=D0=BA=D0=B1=D0=BB=D0=BE=D0=BA?= =?UTF-8?q?=D0=B0=20=D1=83=20=D0=B2=D1=8B=D0=B7=D1=8B=D0=B2=D0=B0=D0=B5?= =?UTF-8?q?=D0=BC=D1=8B=D1=85=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CPEKU.php | 15 +++++++++------ src/CPEKUs.php | 24 ++++++++++++++++-------- src/CPExtendedKeyUsage.php | 13 ++++++++----- src/CPOID.php | 32 +++++++++++++++++++++++--------- src/CPPublicKey.php | 15 +++++++++------ 5 files changed, 65 insertions(+), 34 deletions(-) diff --git a/src/CPEKU.php b/src/CPEKU.php index 21b0a22..4c92bb0 100644 --- a/src/CPEKU.php +++ b/src/CPEKU.php @@ -2,15 +2,18 @@ class CPEKU { - + public function __construct(){} - + public function get_Name(){} - + public function set_Name(){} - + + /** + * @return string + */ public function get_OID(){} - + public function set_OID(){} - + } diff --git a/src/CPEKUs.php b/src/CPEKUs.php index abd536f..8c765ef 100644 --- a/src/CPEKUs.php +++ b/src/CPEKUs.php @@ -2,17 +2,25 @@ class CPEKUs { - + public function __construct(){} - + public function Add(){} - + + /** + * @return int + */ public function get_Count(){} - - public function get_Item(){} - + + /** + * @param int $index + * + * @return \CPEKU + */ + public function get_Item(int $index){} + public function Clear(){} - + public function Remove(){} - + } diff --git a/src/CPExtendedKeyUsage.php b/src/CPExtendedKeyUsage.php index b687756..f6eb752 100644 --- a/src/CPExtendedKeyUsage.php +++ b/src/CPExtendedKeyUsage.php @@ -2,13 +2,16 @@ class CPExtendedKeyUsage { - + public function __construct(){} - + public function get_IsPresent(){} - + public function get_IsCritical(){} - + + /** + * @return \CPEKUs + */ public function get_EKUs(){} - + } diff --git a/src/CPOID.php b/src/CPOID.php index b7efc11..38f9ebd 100644 --- a/src/CPOID.php +++ b/src/CPOID.php @@ -2,13 +2,27 @@ class CPOID { - - public function __construct(){} - - public function get_Value(){} - - public function set_Value(){} - - public function get_FriendlyName(){} - + + public function __construct() + { + } + + /** + * @return string + */ + public function get_Value() + { + } + + public function set_Value() + { + } + + /** + * @return string + */ + public function get_FriendlyName() + { + } + } diff --git a/src/CPPublicKey.php b/src/CPPublicKey.php index dd0a76a..f8fbbbf 100644 --- a/src/CPPublicKey.php +++ b/src/CPPublicKey.php @@ -2,15 +2,18 @@ class CPPublicKey { - + public function __construct(){} - + + /** + * @return \CPOID + */ public function get_Algorithm(){} - + public function get_Length(){} - + public function get_EncodedKey(){} - + public function get_EncodedParameters(){} - + }