Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

cbourgois/wsseHeader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WsseHeader

Generate WSSE Header with CryptoJs library.

Installation

Via Bower:

bower install cryptojs-wsse-header --save

And in your html file:

<script type="text/javascript" src="bower_components/cryptojslib/rollups/sha1.js"></script>
<script type="text/javascript" src="bower_components/cryptojslib/components/enc-base64.js"></script>

<script type="text/javascript" src="bower_components/cryptojs-wsse-header/WsseHeader.js"></script>

Usage

var wsseHeader = new WsseHeader();

wsseHeader.buildWsseHeader("cyrille", "BwWNPWAuOcuzI+WeMPQL4PVnqe76irLVBEQDSD25U57gscun/5k+mKo0a+9NA6nanK1utxQELgDA2XomHm0bOg==", "f5hdgfd6jjkfd7oj4f6jbfl2dj")
// UsernameToken Username="cyrille", PasswordDigest="kmsaFE3ehpSesjwxrEsWf1p+zbM=", Nonce="NGhtaG10em5peWtmYnQ5", Created="2015-09-29T07:43:54.007Z"

About

Simple WSSE Header Generator in javascript

Resources

License

Stars

Watchers

Forks

Packages

No packages published