a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
81 lines
3.5 KiB
C#
81 lines
3.5 KiB
C#
//
|
|
// SecurityAlgorithms.cs
|
|
//
|
|
// Author:
|
|
// Atsushi Enomoto <atsushi@ximian.com>
|
|
//
|
|
// Copyright (C) 2005 Novell, Inc. http://www.novell.com
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
// a copy of this software and associated documentation files (the
|
|
// "Software"), to deal in the Software without restriction, including
|
|
// without limitation the rights to use, copy, modify, merge, publish,
|
|
// distribute, sublicense, and/or sell copies of the Software, and to
|
|
// permit persons to whom the Software is furnished to do so, subject to
|
|
// the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be
|
|
// included in all copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
//
|
|
|
|
namespace System.IdentityModel.Tokens
|
|
{
|
|
public static class SecurityAlgorithms
|
|
{
|
|
public const string Aes128Encryption = "http://www.w3.org/2001/04/xmlenc#aes128-cbc";
|
|
|
|
public const string Aes128KeyWrap = "http://www.w3.org/2001/04/xmlenc#kw-aes128";
|
|
|
|
public const string Aes192Encryption = "http://www.w3.org/2001/04/xmlenc#aes192-cbc";
|
|
|
|
public const string Aes192KeyWrap = "http://www.w3.org/2001/04/xmlenc#kw-aes192";
|
|
|
|
public const string Aes256Encryption = "http://www.w3.org/2001/04/xmlenc#aes256-cbc";
|
|
|
|
public const string Aes256KeyWrap = "http://www.w3.org/2001/04/xmlenc#kw-aes256";
|
|
|
|
public const string DesEncryption = "http://www.w3.org/2001/04/xmlenc#des-cbc";
|
|
|
|
public const string DsaSha1Signature = "http://www.w3.org/2000/09/xmldsig#dsa-sha1";
|
|
|
|
public const string ExclusiveC14n = "http://www.w3.org/2001/10/xml-exc-c14n#";
|
|
|
|
public const string ExclusiveC14nWithComments = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments";
|
|
|
|
public const string HmacSha1Signature = "http://www.w3.org/2000/09/xmldsig#hmac-sha1";
|
|
|
|
public const string Psha1KeyDerivation = "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1";
|
|
|
|
public const string Ripemd160Digest = "http://www.w3.org/2001/04/xmlenc#ripemd160";
|
|
|
|
public const string RsaOaepKeyWrap = "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p";
|
|
|
|
public const string RsaSha1Signature = "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
|
|
|
|
public const string RsaV15KeyWrap = "http://www.w3.org/2001/04/xmlenc#rsa-1_5";
|
|
|
|
public const string Sha1Digest = "http://www.w3.org/2000/09/xmldsig#sha1";
|
|
|
|
public const string Sha256Digest = "http://www.w3.org/2001/04/xmlenc#sha256";
|
|
|
|
public const string Sha512Digest = "http://www.w3.org/2001/04/xmlenc#sha512";
|
|
|
|
public const string TripleDesEncryption = "http://www.w3.org/2001/04/xmlenc#tripledes-cbc";
|
|
|
|
public const string TripleDesKeyWrap = "http://www.w3.org/2001/04/xmlenc#kw-tripledes";
|
|
|
|
public const string HmacSha256Signature = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha256";
|
|
public const string RsaSha256Signature = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
|
|
public const string TlsSspiKeyWrap = "http://schemas.xmlsoap.org/2005/02/trust/tlsnego#TLS_Wrap";
|
|
public const string WindowsSspiKeyWrap = "http://schemas.xmlsoap.org/2005/02/trust/spnego#GSS_Wrap";
|
|
}
|
|
}
|