| 1 |
|
package com.atlassian.security.auth.trustedapps; |
| 2 |
|
|
| 3 |
|
import java.security.PrivateKey; |
| 4 |
|
import java.security.PublicKey; |
| 5 |
|
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 3 |
Complexity Density: 1 |
|
| 6 |
|
class MockKey implements PublicKey, PrivateKey |
| 7 |
|
{ |
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 8 |
0
|
public String getAlgorithm()... |
| 9 |
|
{ |
| 10 |
0
|
return "ALGY"; |
| 11 |
|
} |
| 12 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 13 |
0
|
public byte[] getEncoded()... |
| 14 |
|
{ |
| 15 |
0
|
return new byte[] { 1, 2, 3, 4 }; |
| 16 |
|
} |
| 17 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 18 |
0
|
public String getFormat()... |
| 19 |
|
{ |
| 20 |
0
|
return "format"; |
| 21 |
|
} |
| 22 |
|
} |