Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Doubt in OID algorithm that is used #186

Open
Gonzalo2683 opened this issue Jul 16, 2021 · 0 comments
Open

Doubt in OID algorithm that is used #186

Gonzalo2683 opened this issue Jul 16, 2021 · 0 comments

Comments

@Gonzalo2683
Copy link

Sorry to take this place to look for information, but I have not found a better one.

For the following example:

....
it('asmCrypto.RSA_PSS_SHA256 sign/verify', 
....
  const rsaPssVerify = new asmCrypto.RSA_PSS(pubKey, new asmCrypto.Sha256());
....
  rsaPssVerify.verify(signature, asmCrypto.string_to_bytes(text));

This class asmCrypto.RSA_PSS would be checking the algorithm OID 1.2.840.113549.1.1.11 sha256WithRSAEncryption (PKCS # 1) ?

Or refers to this other OID 1.2.840.113549.1.1.10 rsaPSS (PKCS # 1)?

I am needing to check the first case with the algorithm sha256WithRSAEncryption, Is this possible ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant