Certificate checking question


I’m wondering if there is a way to validate a certificate against already loaded certificate chain ?

I’ll create a webservice to make the certificate management easier.



Class X509Certificate can be used to validate the certificates. You can explore this class if any method supports its validation against certification chain.

Thanks, for the tip, I will investigate.

By the way, reading WmTN documentation, it said that “certificates are loaded in the database”.
If I have to use directly the Java class, I guess I’ll have to retrieve active chains form TN BD … but how can I do that ?

wm.tn.security:getCertificateData - this service provides the certificate data as bytes from the database.

partnerid : Get it from the table - partners
certid: Get it from the table - certificatedata

chainbytes - certificate information in bytes.