Method to recreate from a String source a key
the key recreated as T
: the string source from recreate the RSA key
: whether the key to recreate is a private key