Package org.bouncycastle.tls
Class DTLSVerifier
java.lang.Object
org.bouncycastle.tls.DTLSVerifier
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionverifyRequest
(byte[] clientID, byte[] data, int dataOff, int dataLen, DatagramSender sender)
-
Constructor Details
-
DTLSVerifier
-
-
Method Details
-
verifyRequest
public DTLSRequest verifyRequest(byte[] clientID, byte[] data, int dataOff, int dataLen, DatagramSender sender)
-