if(!t) return false; fromX509(t); return true;
if(r) { reset(); separate(r, &pub, &sec); return true; } else {  bi = BIO_new(BIO_s_mem()); BIO_write(bi, in, len); r = PEM_read_bio_RSAPublicKey(bi, NULL, NULL, NULL); BIO_free(bi); if(r) { if(pub) { RSA_free(pub); } pub = r; return true; } }  return false;
	bool createFromPEM(const char *in, unsigned int len)	{		BIO *bi = BIO_new(BIO_s_mem());		BIO_write(bi, in, len);		X509 *t = PEM_read_bio_X509(bi, NULL, NULL, NULL);		BIO_free(bi);		if(!t)			return false;		fromX509(t);		return true;	}