Hi Sammy,
I'm not the WSE guy, so I can only answer some of them :).
1. Yes, that's right. This is an EncryptedKey
2. A symmetric key is generated using AES128 or AES256 according to the WSE
configuration. That key is encrypted using an assymetric algorithm, RSA15 or
RSA_AOP.
4. I'm not sure to understand this question clearly. Could you clarify it ?
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
http://www.lagash.com
> Using the UsernameForCertificate example provided with WSE 3.0, the XML
> request generated by the client had this:
[quoted text clipped - 16 lines]
> Thank you,
> Sammy
Sammy - 23 Nov 2005 17:26 GMT
4- What I'm saying is, KeyIdentifier has attributes, and a string. How is
this string (element value) generated?
> Hi Sammy,
> I'm not the WSE guy, so I can only answer some of them :).
[quoted text clipped - 31 lines]
>> Thank you,
>> Sammy
Pablo Cibraro - 23 Nov 2005 21:20 GMT
It is the subject key identifier for the X509 certificate. You can get that
value using the Certificate tool provided in WSE.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
http://www.lagash.com
> 4- What I'm saying is, KeyIdentifier has attributes, and a string. How is
> this string (element value) generated?
[quoted text clipped - 34 lines]
>>> Thank you,
>>> Sammy
Sammy - 24 Nov 2005 07:15 GMT
Yes, but how can I calculate this value without WSE!
> It is the subject key identifier for the X509 certificate. You can get
> that value using the Certificate tool provided in WSE.
[quoted text clipped - 43 lines]
>>>> Thank you,
>>>> Sammy
Ales Pour - 28 Nov 2005 11:52 GMT
From "X.509 Certificate Token Profile 1.1":
"The <wsse:KeyIdentifier> element MUST have a ValueType attribute with the
value or
http://docs.oasisopen.org/wss/2005/xx/oasis-2005xx-wss-soap-message-security-1.1
#ThumbprintSHA1
and its contents MUST be the thumbprint for the desired certificate . If the
certificate does not contain a X.509 Thumbprint extension, then one is
computed as the SHA1 of the raw octets which would be encoded within the
<wsse:BinarySecurityToken> element were it to be included. The thumbprint is
encoded as per the <wsse:KeyIdentifier> element's EncodingType attribute.
The default encoding is Base64."
HTH,
A.
> Yes, but how can I calculate this value without WSE!
>
[quoted text clipped - 45 lines]
>>>>> Thank you,
>>>>> Sammy