How can I write a X509TrustManager in Java that used DANE (DNS-based Authentication of Named Entities)?
Are there any samples or a library? Or has Java build in support for DANE?
BouncyCastle cryptographic library provides DANE support. You can find dane package documentation here.