PageRenderTime 28ms CodeModel.GetById 1ms RepoModel.GetById 0ms 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
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  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. */
  9. package 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. public override function toString():String {
  17. var s:String = DER.indent;
  18. DER.indent += " ";
  19. var t:String = join("\n");
  20. DER.indent= s;
  21. return DER.indent+"Set["+type+"]["+len+"][\n"+t+"\n"+s+"]";
  22. }
  23. }
  24. }