Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

github.com/unidoc/globalsign-dss

Package Overview
Dependencies
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/unidoc/globalsign-dss

Source
Go Modules
Version
v0.0.0-20220330092912-b69d85b63736
Version published
Created
Source

globalsign-dss

Client SDK for GlobalSign Digital Signing Service API.

Requirements

  • mTLS certificate
  • Private Key that used to generate mTLS
  • API credentials

Usage

Example usage:

  • For unipdf integration with unipdf see unipdf-examples.
...

// Create GlobalSign client.
client, err := globalsign.NewClient("<API_KEY>", "<API_SECRET>", "<KEY_PATH>", "<CERT_PATH>")
if err != nil {
	return err
}

// Create signature handler.
handler, err := sign_handler.NewGlobalSignDSS(context.Background(), manager, option.SignedBy, map[string]interface{}{
	"common_name": "UniDoc"
})
if err != nil {
	return err
}

License Information

This source code package is licensed with MIT license.
However, when used in a software package with UniPDF it obeys the UniDoc EULA which is available at: https://unidoc.io/eula/

Credits

Thanks to @wja-id.
This package is modified from https://github.com/wja-id/globalsign-sdk

FAQs

Package last updated on 30 Mar 2022

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