mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
27 lines
729 B
C#
27 lines
729 B
C#
using System;
|
|
using System.IdentityModel.Tokens;
|
|
|
|
namespace System.IdentityModel.Protocols.WSTrust
|
|
{
|
|
public class RequestedProofToken
|
|
{
|
|
public string ComputedKeyAlgorithm { get; private set; }
|
|
public ProtectedKey ProtectedKey { get; private set; }
|
|
|
|
public RequestedProofToken (ProtectedKey protectedKey) {
|
|
ProtectedKey = protectedKey;
|
|
}
|
|
|
|
public RequestedProofToken (Byte[] secret) {
|
|
ProtectedKey = new ProtectedKey (secret);
|
|
}
|
|
|
|
public RequestedProofToken (string computedKeyAlgorithm) {
|
|
ComputedKeyAlgorithm = computedKeyAlgorithm;
|
|
}
|
|
|
|
public RequestedProofToken (Byte[] secret, EncryptingCredentials wrappingCredentials) {
|
|
ProtectedKey = new ProtectedKey (secret, wrappingCredentials);
|
|
}
|
|
}
|
|
} |