Table of Contents

Class SecureMessageTransportHelper

Espace de noms
SecureExchangesSDK.Helpers
Assembly
SecureExchangesSDK.NetCore.dll

This helper is to create SecureMessage Transport. A secure message transport, is an object that is encrypted with an AES 256 bits key. The keys is encrypted with the public keys, and store in the object.

public static class SecureMessageTransportHelper
Héritage
SecureMessageTransportHelper
Membres hérités

Methods

CreateSecureMessageTransport<T>(T, string)

That method will create a json version of a secure transport

public static string CreateSecureMessageTransport<T>(T objectToSecure, string xmlPublicKey)

Paramètres

objectToSecure T

The object to secure

xmlPublicKey string

The minimum size of the public key must be 4096 bits

Retour

string

Paramètres de type

T

The type of the object to secure

RebuildSecureMessageTransport<T>(string, string)

Reverse the object transport

public static T RebuildSecureMessageTransport<T>(string jsonSecureMessageTransport, string xmlPrivateKey)

Paramètres

jsonSecureMessageTransport string
xmlPrivateKey string

Retour

T

Paramètres de type

T