~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to third_party/websockify/include/web-socket-js/src/flash-src/third-party/com/hurlant/crypto/tls/ISecurityParameters.as

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * ISecurityParameters
 
3
 * 
 
4
 * This class encapsulates all the security parameters that get negotiated
 
5
 * during the TLS handshake. It also holds all the key derivation methods.
 
6
 * Copyright (c) 2007 Henri Torgemane
 
7
 * 
 
8
 * See LICENSE.txt for full license information.
 
9
 */
 
10
package com.hurlant.crypto.tls {
 
11
        import flash.utils.ByteArray;
 
12
        
 
13
        public interface ISecurityParameters {
 
14
                function get version() : uint;
 
15
                function reset():void;
 
16
                function getBulkCipher():uint;
 
17
                function getCipherType():uint;
 
18
                function getMacAlgorithm():uint;
 
19
                function setCipher(cipher:uint):void;
 
20
                function setCompression(algo:uint):void;
 
21
                function setPreMasterSecret(secret:ByteArray):void;
 
22
                function setClientRandom(secret:ByteArray):void;
 
23
                function setServerRandom(secret:ByteArray):void;
 
24
                function get useRSA():Boolean;
 
25
                function computeVerifyData(side:uint, handshakeMessages:ByteArray):ByteArray;
 
26
                function computeCertificateVerify( side:uint, handshakeRecords:ByteArray):ByteArray;
 
27
                function getConnectionStates():Object;
 
28
        }
 
29
}
 
 
b'\\ No newline at end of file'