Rfc2253 NuGet Package

Accepts and parses strings in the format of an RFC 2253 Distinguished Name, and optionally normalizes them for direct comparison of equivalency.

This project is a .NET Standard 1.3 solution to parse LDAP (or X.509) Distinguished Names and optionally normalize them so that two (or more) Distinguished Names can be compared to one another for equivalency.

Closely follows [RFC 2253](https://www.ietf.org/rfc/rfc2253.txt) for parsing.

Parses both LDAPv2 and LDAPv3, but normalizes output for LDAPv3.

Instructions for Use
1. Supply a Distinguished Name to be parsed to the `DistinguishedName.Create(string distinguishedName)` method
2. Call the `Normalized()` method on the returned object to normalize the internal structures to be strictly compliant to RFC 2253
3. Do the same two calls for another Distinguished Name
4.

To compare the two Distinguished Names for equivalency, compare the `DistinguishedName` objects' `ToString()` results to one another.




Got any Rfc2253 Question?





Info

Version: 1.1.2
Author(s): Eric S. Li
Last Update: Monday, February 1, 2021
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Rfc2253


Install
Install-Package Rfc2253
dotnet add package Rfc2253
paket add Rfc2253
Rfc2253 Download (Unzip the "nupkg" after downloading)

2 packages depend on this package.


Tags



STATS

must-have-score

1.5

avg-downloads-per-day

1

days-since-last-release

1373