Example #1
0
datum_t
ssl_issuer_dn(PG_FUNC_ARGS)
{
	if (!(proc_port->peer))
		RET_NULL();
	return X509_NAME_to_text(X509_get_issuer_name(proc_port->peer));
}
Example #2
0
Datum
ssl_issuer_dn(PG_FUNCTION_ARGS)
{
	if (!(MyProcPort->peer))
		PG_RETURN_NULL();
	return X509_NAME_to_text(X509_get_issuer_name(MyProcPort->peer));
}
Example #3
0
datum_t
ssl_client_dn(PG_FUNC_ARGS)
{
	if (!(proc_port->peer))
		RET_NULL();
	return X509_NAME_to_text(X509_get_subject_name(proc_port->peer));
}
Example #4
0
Datum
ssl_client_dn(PG_FUNCTION_ARGS)
{
	if (!(MyProcPort->peer))
		PG_RETURN_NULL();
	return X509_NAME_to_text(X509_get_subject_name(MyProcPort->peer));
}