| Constructor | Description |
|---|---|
DirKeyRing(File baseDir) |
| Modifier and Type | Method | Description |
|---|---|---|
PublicKey |
getKey(String keyName,
String scope,
SigType type) |
Cert must be in the file (escaped keyName).crt,
and have a CN == keyName.
|
void |
setKey(String keyName,
String scope,
PublicKey key) |
Unimplemented, unused.
|
public DirKeyRing(File baseDir)
public PublicKey getKey(String keyName, String scope, SigType type) throws GeneralSecurityException, IOException
getKey in interface KeyRingscope - a domain identifier, indicating router update, reseed, etc.GeneralSecurityExceptionIOException