Comments (3)
I don't know the API of DnsContextFactory. But if this is still supported in Java 9+ then why not give it a go?
It might be a good idea to implement this as a separate project though to support any implementation of Dnsjava's Resolver interface. The suggested DnssecContextFactory would then simply be a specific implementation taking care of the initialization (setting options, key loading).
from dnssecjava.
see http://www.docjar.com/html/api/com/sun/jndi/dns/DnsContextFactory.java.html or https://github.com/frohoff/jdk8u-jdk/blob/master/src/share/classes/com/sun/jndi/dns/DnsContextFactory.java
from dnssecjava.
There's basically nothing to reuse in DnsContextFactory
and it's in a private namespace that cannot be used in Java 9+.
A DnssecContextFactory
doesn't make much sense to me, while a DnsjavaContextFactory
could be useful. Which resolver type/class to use could be specified with a property in the env-Hashtable.
Implementing this would basically follow the JNDI DNS specification and API.
from dnssecjava.
Related Issues (17)
- Release version 1.0 HOT 8
- mvn target to make a .jar library HOT 2
- Root key rollover support HOT 4
- Support of ECDSA key to DNSKEY ? HOT 2
- Leading zeroes in in (r|s)-parameters of ECDSA signature cause validation to fail HOT 14
- Additional NS records in Authority section can cause validation failure HOT 8
- nsec3 issue with sgkb.ch HOT 8
- Very old log4j version HOT 5
- Java 6/Java 7 compatible jar HOT 1
- Support more algorithms HOT 5
- Support for dnsjava 3 HOT 1
- TrustAnchorStore lookup method is case sensitive HOT 1
- Release dnssecjava 1.1 with slf4j changes HOT 2
- PatternSyntaxException: Look-behind pattern matches must have a bounded maximum length HOT 6
- Throw an error (or indicate it) on timeout instead of logging HOT 1
- Provide alternative to the resource bundle mechanism HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnssecjava.