Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67552

Create RsaPublicKey class

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2022-07-11, Security 2022-07-25

      Create a generic RsaPublicKey class that serves as a wrapper around RSA public key material in OpenSSL. Aside from the key material, it should also store a unique_ptr to the EVP_PKEY representation of the public key so that it can be used with the AsymmetricKeySignatureVerifier.

      Write a unit test to verify that the class can be created and properly converts Base64EncodedURL keys into byte arrays in the class.

      More details are available in the design document here.

            Assignee:
            adhishree.abhyankar@mongodb.com Adhishree Abhyankar (Inactive)
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: