Hi.
I have a encrypted xml.

I managed to decrypt xml with this key
Alias=|Tomaz 3 Grenko's Encryption Certificate|
  is certificate=|CN=Tomaz 3 Grenko, O=TestCA, C=si
  is private key=|true
  key=RSAPrivateKey [size=2048 bits, type=Exchange, 
container=4|3|1|0|X8AQID1iQeev7AsBo6NoVQ==]
  key.algorithm=RSA
  key.format=null

but not with this.

Alias=|Tomaz 3 Grenko's Verification Certificate|
  is certificate=|CN=Tomaz 3 Grenko, O=TestCA, C=si
  is private key=|true
  key=RSAPrivateKey [size=2048 bits, type=Signature, 
container=4|3|2|0|X8AQID1iQeev7AsBo6NoVQ==]
  key.algorithm=RSA
  key.format=null

I noticed that key type is different. Key is in both cases stored on smartcard, 
that is accessed via SUN MSCAPI provider.

Is it theoretically even possible to decrypt using second key?

Thanks in advance,
ivan

Reply via email to