Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.hwcrypto.getCertificate({lang: lang, filter: filter})
- .then(function(cert) {
- window.hwcrypto.sign(cert, {type: hashtype, hex: hash}, {lang: lang})
- .then(function(signature){
- // call jquery ajax to do some important thing
- $.ajax({
- url: 'index.php?action=very_important_action',
- dataType: 'html',
- success: function(response) {
- console.log(response);
- });
- });
- });
Add Comment
Please, Sign In to add comment