Class DTLSProtocol

java.lang.Object
org.bouncycastle.tls.DTLSProtocol
Direct Known Subclasses:
DTLSClientProtocol, DTLSServerProtocol

public abstract class DTLSProtocol extends Object
  • Constructor Details

    • DTLSProtocol

      protected DTLSProtocol()
  • Method Details

    • processFinished

      protected void processFinished(byte[] body, byte[] expected_verify_data) throws IOException
      Throws:
      IOException
    • applyMaxFragmentLengthExtension

      protected static void applyMaxFragmentLengthExtension(org.bouncycastle.tls.DTLSRecordLayer recordLayer, short maxFragmentLength) throws IOException
      Throws:
      IOException
    • evaluateMaxFragmentLengthExtension

      protected static short evaluateMaxFragmentLengthExtension(boolean resumedSession, Hashtable clientExtensions, Hashtable serverExtensions, short alertDescription) throws IOException
      Deprecated.
      Will be removed.
      Throws:
      IOException
    • generateCertificate

      protected static byte[] generateCertificate(TlsContext context, Certificate certificate, OutputStream endPointHash) throws IOException
      Throws:
      IOException
    • generateSupplementalData

      protected static byte[] generateSupplementalData(Vector supplementalData) throws IOException
      Throws:
      IOException
    • sendCertificateMessage

      protected static void sendCertificateMessage(TlsContext context, org.bouncycastle.tls.DTLSReliableHandshake handshake, Certificate certificate, OutputStream endPointHash) throws IOException
      Throws:
      IOException
    • validateSelectedCipherSuite

      protected static int validateSelectedCipherSuite(int selectedCipherSuite, short alertDescription) throws IOException
      Throws:
      IOException