blob: 0bfcd6bf9ed4dec5473a9445accda7425ca1ce15 (
plain)
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
|
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OC\Security\IdentityProof;
class Key {
public function __construct(
private string $publicKey,
private string $privateKey,
) {
}
public function getPrivate(): string {
return $this->privateKey;
}
public function getPublic(): string {
return $this->publicKey;
}
}
|