This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Provisioning how to generate a public key in android app

Hello.

In according to screen below, how to generate public key X and Y (with no OBB autentication)?

Should I create a method for generating these values?

I found something here:

https://github.com/NordicSemiconductor/IOS-nRF-Mesh-Library/issues/29

In this case in logs we can see that 

Public Key = C6B34656780894C87098280F63BE363592DD048A4663DA814A65A78CE3B5FB40AAB6A41CBED8A9BF98F6A716027767E8172E63C8E92F39609ABBEFE63FE4FF61

how to generate key? should I create a byte array?

 byte[] data_public_key = new byte[]{0x03,0x03,
                            0x47, (byte) 0xE1, (byte) 0xE2,0x1E,0x69,0x24,0x6A,0x74,0x67, (byte) 0xCA, (byte) 0x84,0x15, (byte) 0xA3, (byte) 0x98,0x2E,0x19,0x46,0x7B,0x03, (byte) 0x93,
                            0x20, (byte) 0xE2, (byte) 0x97, (byte) 0xAC, (byte) 0xEA,0x10,0x3E,0x78,0x6E, (byte) 0xE8, (byte) 0xD7,0x7D, (byte) 0xFF, (byte) 0xD8, (byte) 0xDE, (byte) 0xFB,
                            (byte) 0xB8,0x07, (byte) 0xCE, (byte) 0xF1,0x6E,0x7F, (byte) 0xBD,0x40,0x32,0x06, (byte) 0xF2, (byte) 0xF8,
                            0x24,0x28,0x25, (byte) 0xCF,0x7E,0x79,0x40,0x31,0x52,0x76,0x67, (byte) 0xFA, (byte) 0x81, (byte) 0x82, (byte) 0xA7,0x03};

Parents Reply Children
No Data
Related