i am getting bytes cannot be dereferenced
Type: Posts; User: Paytheprice
i am getting bytes cannot be dereferenced
nah i am asking how do i copy the value of the byte array to another byte array using a for loop
ok i found the error here
these code does not transfer the value of the byte to encryptedobj somehow.. any ideas on how to fix it?
thanks for the help so far.
ok sorry here the error
the problem is sending the decrypting the AESKey after being encrypted with rsa private and public key from certificate
17331734
heres both of them.
System.out.println("fufiffofo");
//decrypt it
byte[] aesobj=DecryptRSA(ServerPriv,serverCert.getPublicKey(),encryptedobj);...
hi,
so currently i am still trying the send the aes key encrypted with private and public key from keystore but it keep java.crypto.badpaddingexception blocktype mismatch:0
nullpointerexception
...