public OutboundEncryptedMessage(String myRecipient, byte[] dataBytes) throws SMSLibException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException, NoSuchPaddingException, NoSuchAlgorithmException
{
setRecipient(myRecipient);
KeyManager km = KeyManager.getInstance();
setDataBytes(km.encrypt(myRecipient, dataBytes));
}
}