04-01-2011 10:28 AM
Hi to all.
I want to secure my library by using Sign Authority Tool.
I wanna use something like :
CodeSigningKey csk = CodeSigningKey.getPublicKey(); byte[] pubkey = csk.getPublicKey(); return Arrays.equals(pubkey, Sign_Authority_Tool_Public_Key);
inside the app to check if the lib wasn't sign by using different sign authority tool key.
My problem is how I can convert the folowing sign authority public key:
AA3EFBB7 80B39511 1E65D3FA 8AB86A60 412C4659 8312749B BD38B418 E09B9B3F D1A49AF6 AF997287 82C43A5C 8226C067 ...
to byte array ?
Thank you in advance.