PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
ActionScript | 27 lines | 16 code | 3 blank | 8 comment | 0 complexity | 0c607fd98ec7299d686698b90def0ade MD5 | raw file
 1/**
 2 * Set
 3 * 
 4 * An ASN1 type for an Set, that extends a Sequence
 5 * Copyright (c) 2007 Henri Torgemane
 6 * 
 7 * See LICENSE.txt for full license information.
 8 */
 9package com.hurlant.util.der
10{
11	public dynamic class Set extends Sequence implements IAsn1Type
12	{
13		public function Set(type:uint = 0x31, length:uint = 0x00) {
14			super(type, length);
15		}
16
17
18		public override function toString():String {
19			var s:String = DER.indent;
20			DER.indent += "    ";
21			var t:String = join("\n");
22			DER.indent= s;
23			return DER.indent+"Set["+type+"]["+len+"][\n"+t+"\n"+s+"]";
24		}
25		
26	}
27}