verify rsa.Key object to prevent segfault