[wsf-c-dev] WSF4PHP API addtions

nandika at wso2.com nandika at wso2.com
Wed Dec 13 01:23:22 PST 2006


Hi all,

To support WS Security encription , following options will be added to
the options array for client and server.

"encryptionKeyTransportAlgorithm" => algorithm
"encryptionSymAlgorithm" => algorithm

The algorithm can be specified as one of the following constants

constant           corresponding uri

WS_MD5        "http://www.w3.org/2001/04/xmldsig-more#md5"
WS_RSA_MD5    "http://www.w3.org/2001/04/xmldsig-more#rsa-md5"
WS_RIPEMD160  "http://www.w3.org/2001/04/xmldsig-more#rsa-ripemd160"
WS_RSA_SHA1   "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
WS_RSA_SHA224 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha224"
WS_RSA_SHA256 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
WS_RSA_SHA384 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"
WS_RSA_SHA512 "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"
WS_RSA_PKCS1  "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
WS_RSA_OAEP   "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
WS_SHA1       "http://www.w3.org/2000/09/xmldsig#sha1"
WS_SHA224     "http://www.w3.org/2001/04/xmldsig-more#sha224"
WS_SHA256     "http://www.w3.org/2001/04/xmlenc#sha256"
WS_SHA384     "http://www.w3.org/2001/04/xmldsig-more#sha384"
WS_SHA512     "http://www.w3.org/2001/04/xmlenc#sha512"

Thanks
Nandika







More information about the Wsf-c-dev mailing list