rust-cryptoki icon indicating copy to clipboard operation
rust-cryptoki copied to clipboard

PkcsOaepParams

Open salih-okur opened this issue 1 year ago • 3 comments

I need to get PkcsOaepParams hash algorithm but it is not pub and it has not try_from CK_RSA_PKCS_OAEP_PARAMS. Is there any work you will do on this in the near future?

salih-okur avatar Dec 29 '23 20:12 salih-okur

Hello @salih-okur , I see that there is a new function defined. Is this not suitable for your needs?

tgonzalezorlandoarm avatar Jan 17 '24 14:01 tgonzalezorlandoarm

Hi @tgonzalezorlandoarm , Actually ı need to access the hash_alg parameter of PkcsOaepParams. I am using from trait for Mechanism and ı am getting Mechanism::RsaPkcsOaep(params). But I want to perform different operations according to hash_alg type of PkcsOaepParams.Because of that ı need to access hash_alg value directly or by functions of impl.

salih-okur avatar Jan 18 '24 17:01 salih-okur

Hi @salih-okur , is this what you were looking for? #207

tgonzalezorlandoarm avatar Mar 13 '24 19:03 tgonzalezorlandoarm