ObjectDescriptor.php 560 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of the PHPASN1 library.
  4. *
  5. * Copyright © Friedrich Große <friedrich.grosse@gmail.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace FG\ASN1\Universal;
  11. use FG\ASN1\Identifier;
  12. class ObjectDescriptor extends GraphicString
  13. {
  14. public function __construct($objectDescription)
  15. {
  16. parent::__construct($objectDescription);
  17. }
  18. public function getType()
  19. {
  20. return Identifier::OBJECT_DESCRIPTOR;
  21. }
  22. }