Utils.encodeString(out, "user");
Utils.encodeString(out, "ssh-connection");
Utils.encodeString(out, "publickey");
Utils.encodeBoolean(out, true);
Utils.encodeString(out, "ssh-rsa");
Utils.encodeBytes(out, pkey.encode());
verify.update(out.toByteArray());
assertTrue("Signature should be verified", verify.verify(md.getSignature()));
} catch (InvalidKeyException ike) {
fail(ike.getMessage());
} catch (NoSuchAlgorithmException nsae) {