Package convex.cli.mixins
Class PeerKeyMixin
java.lang.Object
convex.cli.ACommand
convex.cli.mixins.AMixin
convex.cli.mixins.PeerKeyMixin
- All Implemented Interfaces:
Runnable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar[]
Keys the password for the current keyGets the specified public key alias for the PeerMethods inherited from class convex.cli.ACommand
commandLine, inform, inform, informError, informSuccess, informWarning, isColoured, isInteractive, isParanoid, paranoia, println, println, printRecord, printResult, prompt, readPassword, run, showUsage, verbose
-
Field Details
-
publicKey
-
keyPassword
-
-
Constructor Details
-
PeerKeyMixin
public PeerKeyMixin()
-
-
Method Details
-
getPublicKey
Gets the specified public key alias for the Peer- Returns:
- Public key alias specified on CLI, or null if unspecified
-
getKeyPassword
public char[] getKeyPassword()Keys the password for the current key- Returns:
- password
-