PageRenderTime 438ms CodeModel.GetById 272ms app.highlight 7ms RepoModel.GetById 154ms app.codeStats 0ms

/flash-src/third-party/com/hurlant/util/der/Set.as

http://github.com/gimite/web-socket-js
ActionScript | 27 lines | 16 code | 3 blank | 8 comment | 0 complexity | 50436f8bcf98b6493c44c3e7bce85ead 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}