Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Cipher suite for LWM2M PSK Mode

Hi Manu,
 
Thanks a lot for the clarification.
With the help of your answer I managed to locate the relevant functions (in the scandium source code).
 
In LWM2M PSK-Mode the client supports TLS_PSK_WITH_AES_128_CCM_8 and TLS_PSK_WITH_AES_128_CBC_SHA256 in the "ClientHello" message, but the server selects TLS_PSK_WITH_AES_128_CCM_8 within the "ServerHello" message.
 
Kind regards
Peter
 
Gesendet: Dienstag, 09. August 2016 um 15:58 Uhr
Von: "Manu Sangoi Dev" <manu.sangoi.dev@xxxxxxxxx>
An: "leshan developer discussions" <leshan-dev@xxxxxxxxxxx>
Betreff: Re: [leshan-dev] Cipher suite for LWM2M PSK Mode
Hi Peter, 
 
The leshan client is based on the Eclipse Scandium DTLS implementation.
Both cipher suites are supported in this given order of preference: TLS_PSK_WITH_AES_128_CCM_8, TLS_PSK_WITH_AES_128_CBC_SHA256.
 
The LeshanClient API does not allow to set the list of supported cipher suites. 
If you need to change it, you can have a look at the Scandium class DtlsConnectorConfig and the way it is instantiated in the LeshanClient constructor.
 
Thanks.
Manu
 
On 08 Aug 2016, at 11:58, halo_lh@xxxxxx wrote:
 
Hi All,
 
i was wondering which cipher suite is in use, when a Leshan-LWM2M-demo-client is in PSK-mode.
Is it "TLS_PSK_WITH_AES_128_CCM_8" or is it "TLS_PSK_WITH_AES_128_CBC_SHA256"?
 
Furthermore, is it possible to select a particular cipher suite?
 
Thanks in advance : )
Peter
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev
_______________________________________________ leshan-dev mailing list leshan-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/leshan-dev

Back to the top