Secure Exchanges SDK Documentation
Search Results for

    Show / Hide Table of Contents

    Class SecureMessageTransportHelper

    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.

    Inheritance
    object
    SecureMessageTransportHelper
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SecureExchangesSDK.Helpers
    Assembly: SecureExchangesSDK.dll
    Syntax
    public static class SecureMessageTransportHelper

    Methods

    CreateSecureMessageTransport<T>(T, string)

    That method will create a json version of a secure transport

    Declaration
    public static string CreateSecureMessageTransport<T>(T objectToSecure, string xmlPublicKey)
    Parameters
    Type Name Description
    T objectToSecure

    The object to secure

    string xmlPublicKey

    The minimum size of the public key must be 4096 bits

    Returns
    Type Description
    string
    Type Parameters
    Name Description
    T

    The type of the object to secure

    RebuildSecureMessageTransport<T>(string, string)

    Reverse the object transport

    Declaration
    public static T RebuildSecureMessageTransport<T>(string jsonSecureMessageTransport, string xmlPrivateKey)
    Parameters
    Type Name Description
    string jsonSecureMessageTransport
    string xmlPrivateKey
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    In this article
    Back to top Secure Exchanges Inc. - Documentation