RsaKeyJsonConverter

A converter that for a RsaKey that write all RSAParameters properties.

Namespace:
Inetdev.Security.Cryptography
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Text.Json.Serialization.JsonConverter{Inetdev.Security.Cryptography.RsaKey}

Constructors

RsaKeyJsonConverter

Default constructor

Signature:
public Void RsaKeyJsonConverter()

Methods

Read

Deserializes the provided documento.

Signature:
public RsaKey Read(reader, typeToConvert, options)
Returns

A RsaKey.

Parameters
Name Type Summary
reader Utf8JsonReader@
typeToConvert Type
options JsonSerializerOptions

Write

Serializes value into writer.

Signature:
public Void Write(writer, value, options)
Parameters
Name Type Summary
writer Utf8JsonWriter
value RsaKey
options JsonSerializerOptions

In this document