| 123456789101112131415161718192021222324252627 |
- 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);
- }
- }
- }
|