AM6421: Can SBL use TI's BootLoader driver to decrypt the 'binary'?

Part Number: AM6421

Tool/software:

Hi TI expert,

I'm using the MCU SDK: mcu_plus_sdk_am64x_10_00_00_20.

I have some questions for secure boot on AM64, I want to enable authenticaiton and encryption both for SBL and RTOS App.

Following screenshot shows the authentication steps while secure boot. 

If I enable the secure boot, and generated a secure image of SBL(with x509 certificate), RBL(First bootloader) will do all steps for me, right? including steps 3&4(in yellow)?

But for application's secure boot, how can I enable all the steps? will the Bootloader driver's API(Bootloader_socAuthImage) do those?

will it 'load whole app images' -->'cacluate its hash'--->'compare with x509's hash'?

and what about the 'Step 4', when will be executed in Bootloader driver?