1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
|
//-----------------------------------------------------------------------
// <copyright file="WSTrustFeb2005ConstantsAdapter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace System.IdentityModel.Protocols.WSTrust
{
internal class WSTrustFeb2005ConstantsAdapter : WSTrustConstantsAdapter
{
private static WSTrustFeb2005ConstantsAdapter instance;
private static WSTrustFeb2005Actions trustFeb2005Actions;
private static WSTrustFeb2005ComputedKeyAlgorithm trustFeb2005ComputedKeyAlgorithm;
private static WSTrustFeb2005KeyTypes trustFeb2005KeyTypes;
private static WSTrustFeb2005RequestTypes trustFeb2005RequestTypes;
protected WSTrustFeb2005ConstantsAdapter()
{
NamespaceURI = WSTrustFeb2005Constants.NamespaceURI;
Prefix = WSTrustFeb2005Constants.Prefix;
}
internal static WSTrustFeb2005ConstantsAdapter Instance
{
get
{
if (instance == null)
{
instance = new WSTrustFeb2005ConstantsAdapter();
}
return instance;
}
}
internal override WSTrustActions Actions
{
get
{
if (trustFeb2005Actions == null)
{
trustFeb2005Actions = new WSTrustFeb2005Actions();
}
return trustFeb2005Actions;
}
}
internal override WSTrustComputedKeyAlgorithm ComputedKeyAlgorithm
{
get
{
if (trustFeb2005ComputedKeyAlgorithm == null)
{
trustFeb2005ComputedKeyAlgorithm = new WSTrustFeb2005ComputedKeyAlgorithm();
}
return trustFeb2005ComputedKeyAlgorithm;
}
}
internal override WSTrustKeyTypes KeyTypes
{
get
{
if (trustFeb2005KeyTypes == null)
{
trustFeb2005KeyTypes = new WSTrustFeb2005KeyTypes();
}
return trustFeb2005KeyTypes;
}
}
internal override WSTrustRequestTypes RequestTypes
{
get
{
if (trustFeb2005RequestTypes == null)
{
trustFeb2005RequestTypes = new WSTrustFeb2005RequestTypes();
}
return trustFeb2005RequestTypes;
}
}
internal class WSTrustFeb2005Actions : WSTrustActions
{
internal WSTrustFeb2005Actions()
{
this.Cancel = WSTrustFeb2005Constants.Actions.Cancel;
this.CancelResponse = WSTrustFeb2005Constants.Actions.CancelResponse;
this.Issue = WSTrustFeb2005Constants.Actions.Issue;
this.IssueResponse = WSTrustFeb2005Constants.Actions.IssueResponse;
this.Renew = WSTrustFeb2005Constants.Actions.Renew;
this.RenewResponse = WSTrustFeb2005Constants.Actions.RenewResponse;
this.RequestSecurityContextToken = WSTrustFeb2005Constants.Actions.RequestSecurityContextToken;
this.RequestSecurityContextTokenCancel = WSTrustFeb2005Constants.Actions.RequestSecurityContextTokenCancel;
this.RequestSecurityContextTokenResponse = WSTrustFeb2005Constants.Actions.RequestSecurityContextTokenResponse;
this.RequestSecurityContextTokenResponseCancel = WSTrustFeb2005Constants.Actions.RequestSecurityContextTokenResponseCancel;
this.Validate = WSTrustFeb2005Constants.Actions.Validate;
this.ValidateResponse = WSTrustFeb2005Constants.Actions.ValidateResponse;
}
}
internal class WSTrustFeb2005ComputedKeyAlgorithm : WSTrustComputedKeyAlgorithm
{
internal WSTrustFeb2005ComputedKeyAlgorithm()
{
this.Psha1 = WSTrustFeb2005Constants.ComputedKeyAlgorithms.PSHA1;
}
}
internal class WSTrustFeb2005KeyTypes : WSTrustKeyTypes
{
internal WSTrustFeb2005KeyTypes()
{
this.Asymmetric = WSTrustFeb2005Constants.KeyTypes.Asymmetric;
this.Bearer = WSTrustFeb2005Constants.KeyTypes.Bearer;
this.Symmetric = WSTrustFeb2005Constants.KeyTypes.Symmetric;
}
}
internal class WSTrustFeb2005RequestTypes : WSTrustRequestTypes
{
internal WSTrustFeb2005RequestTypes()
{
this.Cancel = WSTrustFeb2005Constants.RequestTypes.Cancel;
this.Issue = WSTrustFeb2005Constants.RequestTypes.Issue;
this.Renew = WSTrustFeb2005Constants.RequestTypes.Renew;
this.Validate = WSTrustFeb2005Constants.RequestTypes.Validate;
}
}
}
}
|