public class RouterPrivateKeyFile extends PrivateKeyFile
dest, file, privKey, signingPrivKey| Constructor and Description |
|---|
RouterPrivateKeyFile(File file)Constructor with the router private key file path. |
| Modifier and Type | Method and Description |
|---|---|
RouterIdentity | getRouterIdentity()Read it in from the file. |
checkSignature, createIfAbsent, createIfAbsent, getDestination, getOfflineExpiration, getOfflineSignature, getPrivKey, getSigningPrivKey, getTransientSigningPrivKey, getTransientSigningPubKey, isOffline, main, open, open, setCertType, setDestination, setKeyCert, setOfflineData, setSignedCert, toString, validateKeyPairs, verifySignature, writepublic RouterPrivateKeyFile(File file)
public RouterIdentity getRouterIdentity() throws IOException, DataFormatException
IOExceptionDataFormatException