Example 1: Summary
No longer need to worry about memory management.
- Constructors and destructors handle it for you.
- No more SE_FreeObject calls.
Didn’t have to check the status code of every function. One try…catch block handles everything.
Didn’t have to remember “SE_AC_MODE_READ_ONLY” everytime you want to open a transmittal.
Didn’t have to specify SE_DRM_CLS_DESCRIPTION because a seDRMDescription object reference was passed into root_obj.getComponent.