ElipticCurvePemPublicKeyReader 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package ElipticCurvePemPublicKeyReader --version 1.0.1                
NuGet\Install-Package ElipticCurvePemPublicKeyReader -Version 1.0.1                
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="ElipticCurvePemPublicKeyReader" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ElipticCurvePemPublicKeyReader --version 1.0.1                
#r "nuget: ElipticCurvePemPublicKeyReader, 1.0.1"                
#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 ElipticCurvePemPublicKeyReader as a Cake Addin
#addin nuget:?package=ElipticCurvePemPublicKeyReader&version=1.0.1

// Install ElipticCurvePemPublicKeyReader as a Cake Tool
#tool nuget:?package=ElipticCurvePemPublicKeyReader&version=1.0.1                

Eliptic Curve PEM Reader

Parses PEM format Eliptic Curver Public keys

Tonelli-Shanks algorithm code from https://rosettacode.org/wiki/Tonelli-Shanks_algorithm#C.23

https://tools.ietf.org/html/rfc548 <pre><code> PublicKeyInfo ::= SEQUENCE { algorithm AlgorithmIdentifier, PublicKey BIT STRING }

AlgorithmIdentifier ::= SEQUENCE { algorithm OBJECT IDENTIFIER, parameters ANY DEFINED BY algorithm OPTIONAL } </code></pre>

secp256r1 example

<pre><code> -----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvV35p9glAuGf0 Z5k+OxTXgFNU4II+2yOw43dFf8AkEgMcfGt+FRlSmGYW1Zkwi o2jDXqmB5WbGw0JB+4QRMkyg== -----END PUBLIC KEY-----

30 (SubjectPublicKeyInfo ASN-1 SEQUENCE) 59 (payload length 0x59 89) 30(ASN-1 SEQUENCE) 13 (AlgorithmIdentifier payload length 0x13 19) 06 (ASN-1 OCTET STRING) 07 ( Algorithm payload Oid length 0x07 7 always ECC/id-ecPubliKey) 2A 86 48 CE 3D 02 01 (1.2.840.10045.2.1) 06 (ASN-1 OCTET STRING) 08 (EC Curve payload length 0x08 8) 2A 86 48 CE 3D 03 01 07 (secp256r1 1.2.840.10045.3.1.7) 03 (ASN-1 BIT STRING) 42 (EC Public key payload length 0x42 66 (unused(1) + uncompressed(1) + (2 x 32))) 00 (unused BITS) 04 (Uncompressed Key) (02 Compressed Y==odd) (03 Compressed Y==even) BD 5D F9 A7 D8 25 02 E1 9F D1 9E 64 F8 EC 53 5E 01 4D 53 82 08 FB 6C 8E C3 8D DD 15 FF 00 90 48 (EcPoint.X 32 bits) 0C 71 F1 AD F8 54 65 4A 61 98 5B 56 64 C2 2A 36 8C 35 EA 98 1E 56 6C 6C 34 24 1F B8 41 13 24 CA (EcPoint.Y 32 bits) </code></pre>

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.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework 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. 
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 2,378 7/11/2020
1.0.1 516 3/13/2020
1.0.0-beta 342 3/12/2020