mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
23 lines
698 B
C#
23 lines
698 B
C#
using System;
|
|
|
|
namespace System.IdentityModel.Protocols.WSTrust
|
|
{
|
|
public class BinaryExchange
|
|
{
|
|
private const string defaultEncodingTypeUrl = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
|
|
|
|
public byte[] BinaryData { get; private set; }
|
|
public Uri EncodingType { get; private set; }
|
|
public Uri ValueType { get; private set; }
|
|
|
|
public BinaryExchange (byte[] binaryData, Uri valueType)
|
|
: this (binaryData, valueType, new Uri (defaultEncodingTypeUrl))
|
|
{ }
|
|
|
|
public BinaryExchange (byte[] binaryData, Uri valueType, Uri encodingType) {
|
|
BinaryData = binaryData;
|
|
ValueType = valueType;
|
|
EncodingType = encodingType;
|
|
}
|
|
}
|
|
} |