/flash-src/third-party/com/hurlant/crypto/tls/IConnectionState.as

http://github.com/gimite/web-socket-js · ActionScript · 14 lines · 7 code · 0 blank · 7 comment · 0 complexity · d7fd97b9bce831fde2e7dc47276b7a10 MD5 · raw file

  1. /**
  2. * IConnectionState
  3. *
  4. * Interface for TLS/SSL Connection states.
  5. *
  6. * See LICENSE.txt for full license information.
  7. */
  8. package com.hurlant.crypto.tls {
  9. import flash.utils.ByteArray;
  10. public interface IConnectionState {
  11. function decrypt(type:uint, length:uint, p:ByteArray) : ByteArray;
  12. function encrypt(type:uint, p:ByteArray) : ByteArray;
  13. }
  14. }