Packagecom.adobe.crypto
Classpublic class WSSEUsernameToken

Web Services Security Username Token Implementation based on algorithm description at http://www.oasis-open.org/committees/wss/documents/WSS-Username-02-0223-merged.pdf



Public Methods
 MethodDefined by
  
getUsernameToken(username:String, password:String, nonce:String = null, timestamp:Date = null):String
[static] Generates a WSSE Username Token.
WSSEUsernameToken
Method detail
getUsernameToken()method
public static function getUsernameToken(username:String, password:String, nonce:String = null, timestamp:Date = null):String

Generates a WSSE Username Token.

Parameters
username:String — The username
 
password:String — The password
 
nonce:String (default = null) — A cryptographically random nonce (if null, the nonce will be generated)
 
timestamp:Date (default = null) — The time at which the token is generated (if null, the time will be set to the moment of execution)

Returns
String — The generated token