Configuration of boot stages in secure boot

Hi All
In case, if we want to boot the system with securely, we have to sign the files with keys, So what are the configuration needs to be taken care in u-boot, kernel and rootfs files for authenticating or checking the boot stages from u-boot to kernel and kernel to rootfs.?