java - Access certificate signature from a certificate -
I am working on a project where I need a digital signature to proceed. I tried all manufactured methods, BT unfortunately, nothing worked!
This is what I want to remove:
Algorithm: [SHA 512 BRSA] Signature: 0000: 60 3B FA 8C49 CF 97E3BBFFF 6 FD 75 23 5D96 `; .. i ....... u #] 0010: e 17 c4 10 03 fc 90 b 9 b 4 c 00 43 c 5 a f 5 08 ......... lc z 0020: 93 A 38 Fe 13 42 39 B7 CE 27D 47 01 FB F FB 2.0 .. B 9 ... 'G .... 0030: 28 FB 59 FA FD 04 70 A6 A5 E4 D 59 5D 03 3C2E (Y.Y ... P ... MY). Lt; 0040: 5b 9b 03 3b2a 162b 72 dd 5820 93 8 dc6 77 92 [..; *. + Rx ... Y 0050: D3A9D3AAFFFFF02697794F4FA3F22134 53 ............? 4S 0060: 00 96 24 5C 67 5A 80 61 89 5D AAA 74 63 1a EF .. $ \ gga.] .. TC .. 0070: A180CC7CA852D8F 5 42 10 18 4F 4D 66 98 FA ..... R..b..omph ..
Please help me ...
I know that you say that underlying methods do not work, but this is not very useful. How are they not working? And what does your code look like?
You should be able to load the certificate using certificatefinder, then put it in X.509 certificate. From there, the getSignature () method gives a byte array that has a signature and uses algorithm to calculate the code getSigAlgName () r. This is very well documented in all Java API documents:
Comments
Post a Comment