Closed AlbRoehm closed 3 months ago
SDK will request a session from Hellgate
SDK will get the session configuration and JWKS key with public key
[x] You need to use that public key, stringy the JSON payload and encrypt with the public key and return the enc_payload
enc_payload
[x] Research a library that can perform this - > https://mvnrepository.com/artifact/com.nimbusds/nimbus-jose-jwt
Note: Additional data is also supported -> Will be clarified by https://github.com/starfish-codes/hellgate-requirements/issues/157
Context
SDK will request a session from Hellgate
SDK will get the session configuration and JWKS key with public key
[x] You need to use that public key, stringy the JSON payload and encrypt with the public key and return the
enc_payload
[x] Research a library that can perform this - > https://mvnrepository.com/artifact/com.nimbusds/nimbus-jose-jwt
Note: Additional data is also supported -> Will be clarified by https://github.com/starfish-codes/hellgate-requirements/issues/157