implemented RSAKey structs, still needs work