x509/cert: reorganized and split credentials and session certificate functions

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Status Job ID Name Coverage
  Stage1 Testing
passed #41765722
aarch64
Debian.aarch64

21:09

passed #41765721
shared
Debian.x86_64

48:11

passed #41765712
shared
FIPS140-2.Fedora.x86_64

35:55

passed #41765719
shared
Fedora.x86

41:46

passed #41765718
freebsd
FreeBSD.x86_64

16:11

passed #41765717
docker shared
MinGW32

20:10

passed #41765716
docker shared
MinGW64

08:57

passed #41765709
shared
abi-coverage.Fedora

37:38

77.9%
passed #41780964
shared
asan.Fedora.x86_64

01:07:19

passed #41765707
shared
doc-dist.Fedora

27:58

passed #41765710
shared
minimal.Fedora.x86_64

20:46

passed #41765711
shared
no-SSL-3.0.Fedora.x86_64

32:02

passed #41765715
shared
static-analyzers.Fedora.x86_64

12:01

passed #41765720
shared
ubsan-Werror.Fedora.x86_64

01:07:55

passed #41765713
shared
valgrind.Fedora.x86_64

39:28

failed #41765714
shared
asan.Fedora.x86_64

01:30:04