Menu

Retrieve UserData from certificate

Help
SMVN
2020-09-01
2020-09-02
  • SMVN

    SMVN - 2020-09-01

    Hi there,

    I'm using EJBCA WS for my application.
    The question is, can I retrieve the end entity object or UserDataVOWS from my certificate's serial number?

    I see on the admin web, we can search end entity by cert sn in HEX. But there is no method equivalent in EJBCA WS

    Am I missing something?

     
  • Tomas Gustavsson

    There is no such one-step search in WS. You have to go two steps. You can do:
    1. getCertificate(String certSNinHex, String issuerDN)
    2. findUser(UserMatch usermatch)

    Where you get the input to usermatch from the certificate.

    Cheers,
    Tomas
    Save time and money with an Enterprise support subscription. Please see www.primekey.com for more information.
    https://www.primekey.com/products/software/

     

Log in to post a comment.