ReadObject can't read binary file in sessionless access PnT nano

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ReadObject can't read binary file in sessionless access PnT nano

Jump to solution
1,276 Views
Jansch
Contributor II

How to I allow my ReadObject command to output a binary file while in sessionless access? I am just receiving 0's when checking for content, instead of the actual content. Maybe I have to set policies differently when writing the binary file? I thought default policies enable all access.

Labels (1)
0 Kudos
Reply
1 Solution
1,198 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Jansch ,

 

Please kindly refer to https://github.com/NXPPlugNTrust/nano-package/blob/ccd5782c1acc855b4bee7be9de6a1d6c9416e7e0/examples... for details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

3 Replies
1,225 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Jansch ,

 

The demo in simw-top\demos\se05x\se05x_GetCertificate shows how to use SSS APIs to get a certificate in the SE, you may use it as a reference.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,214 Views
Jansch
Contributor II
Thank you very much for your answer Kan!

Is there an example on how to do this with the nano mw aswell, which doesn't have the SSS API?

Best wishes

Jansch
0 Kudos
Reply
1,199 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Jansch ,

 

Please kindly refer to https://github.com/NXPPlugNTrust/nano-package/blob/ccd5782c1acc855b4bee7be9de6a1d6c9416e7e0/examples... for details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------