I have an X509Certificate instance in java and need to check if the issuer is trusted?
thanks gal
If you only have a certificate (out of context), you must create a certification path using Java PKI Cert. API paths . If this is in the context of SSL, you should use TrustManager and verify it when using SSLContext .
TrustManager
SSLContext
This will check if you issued a CA certificate that you trust (or perhaps through one of its intermediate CAs).
You may also be interested in “ What data should I verify when verifying X.509 certificates using Java? ” (Under Security.SE).
Source: https://habr.com/ru/post/1399180/More articles:Symfony2: How can I use different parameters (.ini) for the host name? - symfonyHow to bypass a trigger on SQL Server 2008 - sql-serverJqgrid Sort Column - jqueryhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1399178/aspnet-mvc3-rc2-bug-binding-from-request-parameters-to-method-parameters&usg=ALkJrhiOEZ7JSt8oKq1T8AWCsUo1XJURSQHiding text in an element - cssRelated problems with RadioButton - c #How to add children to children using jsoup document - javaProblems understanding the implementation of a linked list - javaurllib2 doesn't return full webpage - pythonJRXmlDataSource with queryString not writing - jasper-reportsAll Articles