3940414243444546
public void setKeyType(SSHKeyType type, String publicKey) throws OpenShiftException { Assert.notNull(type); Assert.notNull(publicKey); KeyResourceDTO dto = new UpdateKeyRequest().execute(type, publicKey); update(dto); }
5455565758596061
} public void setPublicKey(String publicKey) throws OpenShiftException { Assert.notNull(publicKey); KeyResourceDTO dto = new UpdateKeyRequest().execute(getKeyType(), publicKey); update(dto); }