[xmlsec] nss updates

Andrew Fan Andrew.Fan@sun.com
Tue, 29 Jul 2003 13:32:58 +0800


Aleksey Sanin wrote:

>> I'm not sure this distinction is visible in the
>> Transform Klass that does the RSA wrapping.  Aleksey?.
>> In order for me to use PK11_PubWrapSymKey instead of
>> PK11_PubEncryptRaw, I need to know the type of the
>> key I'm wrapping.
>>
> I am not sure you can get it easily right now. First of all, I would 
> suggest
> to check that PK11_PubWrapSymKey() produces the format required by 
> xmlenc specification.

Can I get something from xmlSecTransformCtx? You know, when wraping a 
key,  firstly, a key data should should be known; when unwraping a key, 
the result should be used to create a new key data. So from the chain, 
can I get the key type?