| | | 1 | | // Licensed to the .NET Foundation under one or more agreements. |
| | | 2 | | // The .NET Foundation licenses this file to you under the MIT license. |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | |
| | | 6 | | namespace CoreWCF.IdentityModel |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// Defines constants used in WS-SecureConversation standard schema. |
| | | 10 | | /// </summary> |
| | | 11 | | internal static class WSSecureConversation13Constants |
| | | 12 | | { |
| | | 13 | | public const string Namespace = "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512"; |
| | 0 | 14 | | public static readonly Uri NamespaceUri = new Uri( Namespace ); |
| | | 15 | | public const string Prefix = "sc"; |
| | | 16 | | public const string TokenTypeURI = "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512/sct"; |
| | | 17 | | public const int DefaultDerivedKeyLength = 32; |
| | | 18 | | |
| | | 19 | | public static class ElementNames |
| | | 20 | | { |
| | | 21 | | public const string Name = "SecurityContextToken"; |
| | | 22 | | public const string Identifier = "Identifier"; |
| | | 23 | | public const string Instance = "Instance"; |
| | | 24 | | } |
| | | 25 | | |
| | | 26 | | public static class Attributes |
| | | 27 | | { |
| | | 28 | | public const string Length = "Length"; |
| | | 29 | | public const string Nonce = "Nonce"; |
| | | 30 | | public const string Instance = "Instance"; |
| | | 31 | | } |
| | | 32 | | } |
| | | 33 | | } |