2
0

index.js 587 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright 2018 Scytl Secure Electronic Voting SA
  3. *
  4. * All rights reserved
  5. *
  6. * See our extended copyright notice in *file 'Copyright.txt' which is part of this source code package
  7. */
  8. /* jshint node:true */
  9. 'use strict';
  10. var CertificateService = require('./service');
  11. module.exports = {
  12. /**
  13. * Creates a new CertificateService object, which encapsulates a certificate
  14. * service.
  15. *
  16. * @function newService
  17. * @global
  18. * @returns {CertificateService} The new CertificateService object.
  19. */
  20. newService: function() {
  21. return new CertificateService();
  22. }
  23. };