| 1 | <?php |
||
| 10 | class KeyManager implements KeyManagerInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $content; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $passphrase; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | public function setContent($content) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function getContent() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function setContentFromCertFile($file) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | public function setPassphrase($passphrase = '') |
||
| 62 | |||
| 63 | /** |
||
| 64 | * {@inheritdoc} |
||
| 65 | */ |
||
| 66 | public function getPassphrase() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Strip 'file://' from given filename. |
||
| 73 | * |
||
| 74 | * @param string $file |
||
| 75 | * @return string |
||
| 76 | */ |
||
| 77 | private function stripProtocolNameFromCertFile($file) |
||
| 83 | } |
||
| 84 |