Sign with USB Token - Digital Signing and Digital Signature based Authentication from Web Browser - Extension is completely free for unlimited uses by end users.
Signer.Digital Browser Extension is completely free for unlimited uses by end users.
NOTE: This section is for Software Developers. If you are looking for ready to use software solution, please Contact Us.
If you are here looking to Digitally Sign your PDF online (causally) using Digital Signature from your USB Token or Smartcard, please visit Free Online PDF Signing
Local system (host running behind the browser on windows) may be downloaded from CNet Download.
Installing this host and restarting browser will automatically add Signer.Digital Browser Extension.
The actual working of this extension is illustrated here
Download the sample .NET Integration Project for Signer.Digital.Weblib with complete Source Code.
JavaScript for different operations is as below:
Javascript to Sign PDF:
//Calculate Sign for the Hash by Calling function from Extension SignerDigital
SignerDigital.signPdfHash(hash, $("#CertThumbPrint").val(), "SHA-256") //or "SHA256"
.then(
function (signDataResp) {
//Send signDataResp to Server
},
function (errmsg) {
//Send errmsg to server or display the result in browser.
}
);
If success, returns Base64 encoded pkcs7 signature - use any suitable library or one provided by [Signer.Digital](https://www.signer.digital) to inject sign to pdf
If Failed, returns error msg starting with "SDHost Error:"
Javascript to create CMS and PKCS1 Signatures:
function getSignature(hash){
//Sign GSTR Return Hash using Signer.Digital Chrome Extension
//This method returns CMS (PKCS7) Signature
SignerDigital.signGstHash(hash)
.then(function(signature){
//send signature to return filing server
},function(error){
//send error to server and/or report error to user
});
}
//For Income Tax Return signing use method:
//This method returns SHA256 Signature
SignerDigital.signITHash(hash, PAN)
To Register Certificate on Server:
//Get Selected Certificate Information
SignerDigital.getSelectedCertificate()
.then(
function (CertInfo) {
//Success returns Certificate Subject and Thumbprint
},
function (errmsg) {
//Send errmsg to server or display the result in browser.
}
);
To authenticate or Login using Digital Signature:
SignerDigital.signAuthToken(authToken, "SHA-256") //or "SHA256"
.then(
function (SignData) { //Success returns Signed Auth Token
},
function (errmsg) {
//Send errmsg to server or display the result in browser.
}
);
---------------