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 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


Back to the top