AM62A7: How to develop applications on hsm?

Part Number: AM62A7

Tool/software:

Where can I get the source code of hsm and dm? , and how should I communicate with them, tisci or pkcs#8?, please provide me a sample program?