Constructor and Description |
---|
DirKeyRing(File baseDir) |
Modifier and Type | Method and 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 KeyRing
scope
- a domain identifier, indicating router update, reseed, etc.GeneralSecurityException
IOException