diff options
Diffstat (limited to 'src/DotNetOpenAuth/Messaging/MessageProtections.cs')
-rw-r--r-- | src/DotNetOpenAuth/Messaging/MessageProtections.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/Messaging/MessageProtections.cs b/src/DotNetOpenAuth/Messaging/MessageProtections.cs index c78c92f..e3633f0 100644 --- a/src/DotNetOpenAuth/Messaging/MessageProtections.cs +++ b/src/DotNetOpenAuth/Messaging/MessageProtections.cs @@ -43,4 +43,26 @@ namespace DotNetOpenAuth.Messaging { /// </summary> All = TamperProtection | Expiration | ReplayProtection, } + +#if SILVERLIGHT + /// <summary> + /// Indicates the security services requested for an authenticated stream. + /// </summary> + public enum ProtectionLevel { + /// <summary> + /// No protection required. + /// </summary> + None, + + /// <summary> + /// Message (part) should be signed. + /// </summary> + Sign, + + /// <summary> + /// Message (part) should be encrypted and signed. + /// </summary> + EncryptAndSign, + } +#endif }
\ No newline at end of file |