PeterO.Cbor 3.0.0

A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.
   This implementation also doubles as a reader and writer of JSON, and can convert data from JSON to CBOR and back.

Advisory: Severity: high
Additional Details

Use PeterO.Cbor version 4.1.0 (or the latest available version) rather than this legacy version.

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
Install-Package PeterO.Cbor -Version 3.0.0
dotnet add package PeterO.Cbor --version 3.0.0
<PackageReference Include="PeterO.Cbor" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PeterO.Cbor --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PeterO.Cbor, 3.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PeterO.Cbor as a Cake Addin
#addin nuget:?package=PeterO.Cbor&version=3.0.0

// Install PeterO.Cbor as a Cake Tool
#tool nuget:?package=PeterO.Cbor&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 3.0.0

- Moved from .NET Portable to .NET Standard 1.0.
- Deprecated arbitrary-precision classes in PeterO namespace; use the classes from the "PeterO.Numbers" library and namespace instead.  In particular, methods that used the former classes were deprecated and often replaced with versions that use the newer classes.
- Change JSON output behavior slightly, including preserving negative zero
- Hash code calculation was changed in this version
- Deprecated OutermostTag in favor of MostOuterTag in CBORObject
- Deprecated InnermostTag in favor of MostInnerTag in CBORObject
- Bug fixes

NuGet packages (13)

Showing the top 5 NuGet packages that depend on PeterO.Cbor:

Package Downloads
AWS DynamoDB Accelerator (DAX) .NET Client -- DAX is a fully managed, in-memory cache for DynamoDB.
FIDO2 .NET library (WebAuthn)
An implementation of the CBOR Object Signing and Encryption standards.
An embedded IPFS engine for .Net
This package is shared between all other DSInternals packages. Its main features are Azure AD Graph API and ADSI clients for for retrieval of cryptographic material. It contains implementations of common hash functions used by Windows, including NT hash, LM hash and OrgId hash. It also contains methods for SysKey/BootKey retrieval.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on PeterO.Cbor:

Repository Stars
Directory Services Internals (DSInternals) PowerShell Module and Framework
FIDO2 .NET library for FIDO2 / WebAuthn Attestation and Assertion using .NET

Version History

Version Downloads Last updated
4.4.0 0 4/19/2021
4.3.0 9,571 12/7/2020
4.2.0 14,738 7/18/2020
4.1.3 20,662 5/27/2020
4.1.2 4,936 4/25/2020
4.1.1 668 4/15/2020
4.1.0 44,825 12/15/2019
4.0.0 15,712 9/3/2019
3.5.2 11,578 7/4/2019
3.5.1 742 7/1/2019
3.5.0 3,507 6/2/2019
3.4.0-beta1 892 10/1/2018
3.3.0 4,835 9/3/2018
3.2.0 1,000 7/30/2018
Show less