-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSimpleVerifiedKey.php
62 lines (56 loc) · 1.32 KB
/
SimpleVerifiedKey.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
/**
* Project codeigniter-basic-helper
* Created by PhpStorm
* User: 713uk13m <dev@nguyenanhung.com>
* Copyright: 713uk13m <dev@nguyenanhung.com>
* Date: 22/08/2022
* Time: 14:16
*/
namespace nguyenanhung\CodeIgniter\BasicHelper;
/**
* Class SimpleVerifiedKey
*
* @package nguyenanhung\CodeIgniter\BasicHelper
* @author 713uk13m <dev@nguyenanhung.com>
* @copyright 713uk13m <dev@nguyenanhung.com>
*/
class SimpleVerifiedKey extends BaseHelper
{
public $remotePublicKey = <<<EOD
-----BEGIN PUBLIC KEY-----
Remote-Public-Key-Example
-----END PUBLIC KEY-----
EOD;
public $remotePrivateKey = <<<EOD
-----BEGIN RSA PRIVATE KEY-----
Remote-Private-Key-Example
-----END RSA PRIVATE KEY-----
EOD;
public $clientPublicKey = <<<EOD
-----BEGIN PUBLIC KEY-----
Client-Public-Key-Example
-----END PUBLIC KEY-----
EOD;
public $clientPrivateKey = <<<EOD
-----BEGIN RSA PRIVATE KEY-----
Client-Private-Key-Example
-----END RSA PRIVATE KEY-----
EOD;
public function getRemotePrivateKey()
{
return $this->remotePrivateKey;
}
public function getRemotePublicKey()
{
return $this->remotePublicKey;
}
public function getClientPrivateKey()
{
return $this->clientPrivateKey;
}
public function getClientPublicKey()
{
return $this->clientPublicKey;
}
}