/**
 * Set
 * 
 * An ASN1 type for an Set, that extends a Sequence
 * Copyright (c) 2007 Henri Torgemane
 * 
 * See LICENSE.txt for full license information.
 */
package com.hurlant.util.der
{
	public dynamic class Set extends Sequence implements IAsn1Type
	{
		public function Set(type:uint = 0x31, length:uint = 0x00) {
			super(type, length);
		}


		public override function toString():String {
			var s:String = DER.indent;
			DER.indent += "    ";
			var t:String = join("\n");
			DER.indent= s;
			return DER.indent+"Set["+type+"]["+len+"][\n"+t+"\n"+s+"]";
		}
		
	}
}