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

Doubt in OID algorithm that is used #186

@Gonzalo2683

Description

@Gonzalo2683

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions