summaryrefslogtreecommitdiffstats
path: root/src/Calls/GetRootCertsRaw.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Calls/GetRootCertsRaw.php')
-rw-r--r--src/Calls/GetRootCertsRaw.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Calls/GetRootCertsRaw.php b/src/Calls/GetRootCertsRaw.php
new file mode 100644
index 0000000..b47a6ec
--- /dev/null
+++ b/src/Calls/GetRootCertsRaw.php
@@ -0,0 +1,35 @@
+<?php
+namespace BjoernrDe\SSLLabsApi\Calls;
+
+/**
+ * API Call 'getRootCertsRaw'
+ *
+ * @author Björn Roland
+ */
+
+class GetRootCertsRaw extends GenericCall
+{
+ /**
+ * Class constructor
+ */
+ public function __construct()
+ {
+ parent::__construct('getRootCertsRaw', null);
+ }
+
+ /**
+ * Send API call
+ *
+ * @return string
+ * @see BjoernrDe\SSLLabsApi\Calls\GenericCall::send()
+ */
+ public function send()
+ {
+ $response = parent::send();
+
+ //getRootCertsRaw API call does not respond with an object
+ //Just raw output of root certificates
+
+ return ($response);
+ }
+} \ No newline at end of file