Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CoAP.NET/CoAP.Std10.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ It is intented primarily for research and verification work.

<ItemGroup>
<PackageReference Include="Com.AugustCellars.COSE" Version="1.6.0" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.10" />
<PackageReference Include="System.Collections.Specialized" Version="4.3.0" />
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
<PackageReference Include="System.Net.Primitives" Version="4.3.0" />
Expand Down
5 changes: 5 additions & 0 deletions CoAP.NET/DTLS/DtlsServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public DtlsServer(TlsKeyPairSet serverKeys, KeySet userKeys)
public OneKey AuthenticationKey => mPskIdentityManager.AuthenticationKey;
public Certificate AuthenticationCertificate { get; private set; }

public override int GetHandshakeTimeoutMillis()
{
return 60000; // 60 seconds
}

// Chain all of our events to the next level up.

private void OnTlsEvent(Object o, TlsEvent e)
Expand Down
2 changes: 1 addition & 1 deletion CoAP.Test/CoAP.Test.Std10.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
<PackageReference Include="PeterO.Cbor" Version="4.0.1" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5" />
<PackageReference Include="Portable.BouncyCastle" Version="1.8.10" />
<PackageReference Include="Com.AugustCellars.COSE" Version="1.6.0" />
</ItemGroup>

Expand Down