Rfc2253 1.1.2

dotnet add package Rfc2253 --version 1.1.2
NuGet\Install-Package Rfc2253 -Version 1.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rfc2253" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rfc2253 --version 1.1.2
#r "nuget: Rfc2253, 1.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rfc2253 as a Cake Addin
#addin nuget:?package=Rfc2253&version=1.1.2

// Install Rfc2253 as a Cake Tool
#tool nuget:?package=Rfc2253&version=1.1.2

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 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
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Rfc2253:

Package Downloads

SK Smart-ID external authentication for ASP.NET Core applications.


SK ID-card external authentication for ASP.NET Core applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 48,526 2/1/2021
1.1.1 364 1/23/2021
1.1.0 360 1/23/2021
1.0.0 7,007 6/6/2018

Released under the MIT License.

This project was originally released targeting .NET Core 2.0.
RFC 2253 Distinguished Name Parser Version 1.1.0 now targets .NET Standard 1.3 to make it compatible with a larger number of projects.  Refer to https://docs.microsoft.com/en-us/dotnet/standard/net-standard for more details.

Version 1.1.2 fixes a bug that dropped a trailing space in an attribute value that was properly escaped.

Version 1.1.0 fixes a bug in the `ToString()` method (commas were missing), which may be a breaking change for some implementors.

Version 1.1.0 also fixes another bug in the `ToString()` method with regards to multi-valued attibutes, and now also sorts multi-valued attributes so that two distinguished names will now match if they have the same, but dis-ordered multi-valued attributes.