Class DTLSVerifier

java.lang.Object
org.bouncycastle.tls.DTLSVerifier

public class DTLSVerifier extends Object
Implements cookie generation/verification for a DTLS server as described in RFC 4347, 4.2.1. Denial of Service Countermeasures.

RFC 4347 4.2.1 additionally recommends changing the secret frequently. This class does not handle that internally, so the instance should be replaced instead.

  • Constructor Details

    • DTLSVerifier

      public DTLSVerifier(TlsCrypto crypto)
  • Method Details

    • verifyRequest

      public DTLSRequest verifyRequest(byte[] clientID, byte[] data, int dataOff, int dataLen, DatagramSender sender)