case SSH_RSA: {
try {
SignatureRSA rsa = AlgorithmManager.getManager().createAlgorithm(Algorithms.SIGNATURE_RSA);
rsa.setPrvKey(_dRSA, _nRSA);
rsa.update(data);
byte[] sig = rsa.sign();
byte[] buffer = new byte[KeyType.SSH_RSA.toString().length() + 4 + sig.length + 4];
Buffer buf = new Buffer(buffer);
buf.putString(KeyType.SSH_RSA.getBytes());
buf.putString(sig);
return buffer;