Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class SubjectAccessDescription extends AccessDescription |
||
11 | { |
||
12 | /** |
||
13 | * Access method OID's. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | const OID_METHOD_TIME_STAMPING = '1.3.6.1.5.5.7.48.3'; |
||
18 | const OID_METHOD_CA_REPOSITORY = '1.3.6.1.5.5.7.48.5'; |
||
19 | |||
20 | /** |
||
21 | * Check whether access method is time stamping. |
||
22 | * |
||
23 | * @return bool |
||
24 | */ |
||
25 | 1 | public function isTimeStampingMethod(): bool |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Check whether access method is CA repository. |
||
32 | * |
||
33 | * @return bool |
||
34 | */ |
||
35 | 1 | public function isCARepositoryMethod(): bool |
|
40 |