makdimka077 / xades4j

Automatically exported from code.google.com/p/xades4j
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Is ds:X509SubjectName tag included in API? #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
HI,
ds:X509SubjectName tag is also not added.
Any suggestion about it as i read old issue that it does not exist in api.

Regards
Jay

Original issue reported on code.google.com by jay...@gmail.com on 18 Mar 2014 at 12:12

GoogleCodeExporter commented 9 years ago
The same comment applies: 
https://code.google.com/p/xades4j/issues/detail?id=43#c1.

Original comment by luis.fgoncalv on 18 Mar 2014 at 12:19

GoogleCodeExporter commented 9 years ago
Please give me an idea to add ds:x509SubjectName tag under ds:x509Data tag so 
that i can implement it since it is mandatory in signed document.

I am waiting for your valuable response.

Thanks & Regards
Jay

Original comment by jay...@gmail.com on 19 Mar 2014 at 10:59

GoogleCodeExporter commented 9 years ago
As stated on the metioned comment, you'd have to change the KeyInfoBuilder 
class, since that's where the ds:KeyInfo is created. You'd get the subject name 
from the certificate and add it to the KeyInfo being constructed.

Original comment by luis.fgoncalv on 19 Mar 2014 at 11:05