SignatureInstance.update(signedData.getBytes('UTF-8')) īoolean result = signatureInstance.verify(signatureBytes) Signature signatureInstance = Signature.getInstance('SHA256withRSA', 'BC') I found some code and can't understand some paramaters (maybe i wrong in all) byte signatureBytes = code(signature, Base64.DEFAULT) Main goal - verify data which i retrive from server.
I am trying to verify signature which is signed base45 encrypted JSON passport data.