SSLProtocol.java 467 B

12345678910111213141516
  1. package de.tudarmstadt.informatik.hostage.protocol;
  2. import javax.net.ssl.SSLContext;
  3. /**
  4. * Interface for ssl protocols that are used by hostage
  5. * @author Wulf Pfeiffer
  6. * @param <T> Denotes if the protocol is using Strings or ByteArrays
  7. */
  8. public interface SSLProtocol<T> extends Protocol<T> {
  9. /**
  10. * Returns the initialized SSL Context with the KeyManager and TrustManager that will be used
  11. * @return the used SSLContext
  12. */
  13. SSLContext getSSLContext();
  14. }