Comments (3)
I was able to build it for .NET Core 2.0 but I had to make the following two changes and will try to test the areas that this affects. If you have any feedback about these two changes, that would be great to receive.
private static readonly SecureRandom _secureRandom = new SecureRandom(new CryptoApiRandomGenerator());
to
private static readonly SecureRandom _secureRandom = new SecureRandom(new VmpcRandomGenerator());
AND
selectedBytes = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(DotNetUtilities.FromX509Certificate(certificate).GetPublicKey()).GetDerEncoded();
to
selectedBytes = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(PublicKeyFactory.CreateKey(certificate.GetPublicKey())).GetDerEncoded();
from arsoft.tools.net.
You could have spared you the work.
I ported it a long time ago, to .NET Core 1.Whatever
If you had googled it, you would have found it here:
https://github.com/ststeiger/Arsoft
from arsoft.tools.net.
Thank you, that helps out a lot!
from arsoft.tools.net.
Related Issues (20)
- Nuget package update required! (Bouncy Castle) HOT 2
- Add documentation link to README.md HOT 1
- ResolveAsync does not iterate through all servers HOT 2
- DnsClient.Default.ResolveAsync is returning null while DnsClient.Default.Resolve is returing results correctly HOT 1
- Server throws NullReferenceException on incoming update request with TSIG HOT 1
- TsigKeySelector not set on DnsServer during incoming TSig packet HOT 1
- Support for .NET 5? HOT 1
- Tcp client is not properly disposed in case of error. HOT 1
- The ExpandMacroAsync method formats the 'd' case incorrectly HOT 3
- DnsClient.Default.Resolve is returing null in server, even though we got the result in public dns lookup HOT 9
- HTTPS and SVCB support HOT 5
- RFC2136 delete operations not working HOT 6
- Use a port different than port 53 for DNS Server HOT 2
- Exception has found after migration. HOT 4
- Exception handling missing details
- Any possibilities to make DnsMessageBase.Encode() method public?
- .NET Core: System.Private.Networking HOT 2
- DnsSec Server Sample HOT 8
- How to set timeout or stop resolving ? HOT 2
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 arsoft.tools.net.