Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

globalsign

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globalsign

GLOBALSIGN API node client.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

GLOBALSIGN Node Module

GLOBALSIGN API Node client.

Installation

npm install globalsign

Usage

First you need to instantiate it.


var GlobalSign = require('globalsign');

var config = {
  dev: process.env.GSIGN_DEV || false,
  username: process.env.GSIGN_USER,
  password: process.env.GSIGN_PASSWORD,
};

var globalsignsexample = new GlobalSign(config);

Using the created client, call the methods you need, example:




globalsignsexample.on('ready', function() {
  globalsignsexample.getAccountInfo(function(err, data) {
    if (err) { ... }
    else { ... }
  };

  var csr = '...';
  var ptype = 'xpto';
  globalsignsexample.asslDecodeCSR(csr, ptype, function(err, data) {
    if (err) { ... }
    else { ... }
  };

}

Examples

Check the examples folder for more specific use cases examples.

License

Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:

http://www.apache.org/licenses/LICENSE-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.

Keywords

FAQs

Package last updated on 07 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc