| Modifier and Type | Method and Description |
|---|---|
boolean |
canSign() |
boolean |
canVerify() |
Set<Algorithm> |
getAlgorithms() |
String |
getId() |
static byte[] |
mockSign(byte[] challengeHash) |
static String |
mockSignBase64(byte[] challengeHash) |
byte[] |
sign(Algorithm algorithm,
byte[] challengeHash) |
boolean |
verify(Algorithm algorithm,
byte[] challengeHash,
byte[] signatureBytes) |
public MockKey(String fingerprint)
public boolean verify(Algorithm algorithm, byte[] challengeHash, byte[] signatureBytes)
public byte[] sign(Algorithm algorithm, byte[] challengeHash)
public static byte[] mockSign(byte[] challengeHash)
public static String mockSignBase64(byte[] challengeHash)
public Set<Algorithm> getAlgorithms()
getAlgorithms in interface KeyCopyright © 2013-2017. All Rights Reserved.