![]() We can use any other option, this is just an example but I change them all the same way and it works!! M圜ameraControl.addCaptureRequestOptions(requestOptionsBuilder) I am using camera2 in my application and my friend is developing the same app for ios, the requires changing the request options for the camera like changing the lens position using: val requestOptionsBuilder = CaptureRequestOptions.Builder() #ANDROID STUDIO EMULATOR WARNING OPENING AUDIO INPUT FAILED MAC CODE#I'm not familar with this part of code and realy don't understand. If it is, for example, signature - than what is signedData ? I can retrive data which is signed as base45 encrypted JSON but can't understand what is that GeneratePublic(new X509EncodedKeySpec(DatatypeConverter.parseBase64Binary(publicKeyString))) PublicKey publicKey = KeyFactory.getInstance("RSA"). Code below i used to transform it to PublicKey String publicKeyString = "base64PublicKey" ![]() 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |