Class GoogleKeyPair
- java.lang.Object
-
- com.google.jenkins.plugins.computeengine.ssh.GoogleKeyCredential
-
- com.google.jenkins.plugins.computeengine.ssh.GoogleKeyPair
-
- All Implemented Interfaces:
Serializable
public class GoogleKeyPair extends GoogleKeyCredential implements Serializable
Class to store auto generated key pair from SshKeysHelper Utility- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GoogleKeyPair
generate(String user)
Secret
getPrivateKey()
String
getPublicKey()
String
toString()
-
-
-
Method Detail
-
generate
public static GoogleKeyPair generate(String user)
-
getPublicKey
public String getPublicKey()
-
getPrivateKey
public Secret getPrivateKey()
- Specified by:
getPrivateKey
in classGoogleKeyCredential
-
-