Skip to content

Supported Algorithms

George Krechar edited this page May 9, 2019 · 13 revisions

RSA

IdentityModel Target /
Algorithm name
.NET 4.5 .NET 4.5.1 .NET 4.6.1 .NET Standard 1.4 .NET Standard 2.0
RsaSha256
(RS256)
RsaSha384
(RS384)
RsaSha512
(RS512)
RsaSha256Signature
(http://www.w3.org/2001/04/xmldsig-more#rsa-sha256)
RsaSha384Signature
(http://www.w3.org/2001/04/xmldsig-more#rsa-sha384)
RsaSha512Signature
(http://www.w3.org/2001/04/xmldsig-more#rsa-sha512)
RsaOAEP
(RS-OAEP)
RsaPKCS1
(RSA1_5)
RsaOaepKeyWrap
(http://www.w3.org/2001/04/xmlenc#rsa-oaep)
RsaSsaPssSha256
(PS256)
(supported only by Windows CNG) (supported only by Windows CNG) (supported only by Windows CNG)
RsaSsaPssSha384
(PS384)
(supported only by Windows CNG) (supported only by Windows CNG) (supported only by Windows CNG)
RsaSsaPssSha512
(PS512)
(supported only by Windows CNG) (supported only by Windows CNG) (supported only by Windows CNG)
RsaSsaPssSha256Signature
(http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1)
(supported only by Windows CNG) (supported only by Windows CNG) (supported only by Windows CNG)
RsaSsaPssSha384Signature
(http://www.w3.org/2007/05/xmldsig-more#sha384rsa-MGF1)
(supported only by Windows CNG) (supported only by Windows CNG) (supported only by Windows CNG)
RsaSsaPssSha512Signature
(http://www.w3.org/2007/05/xmldsig-more#sha512-rsa-MGF1)
(supported only by Windows CNG) (supported only by Windows CNG) (supported only by Windows CNG)

ECDsa

IdentityModel Target /
Algorithm name
.NET 4.5 .NET 4.5.1 .NET 4.6.1 .NET Standard 1.4 .NET Standard 2.0
EcdsaSha256
(ES256)
(not supported on non-Windows systems)
EcdsaSha384
(ES384)
(not supported on non-Windows systems)
EcdsaSha512
(ES512)
(not supported on non-Windows systems)
EcdsaSha256Signature
(http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256)
(not supported on non-Windows systems)
EcdsaSha384Signature
(http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384)
(not supported on non-Windows systems)
EcdsaSha512Signature
(http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512)
(not supported on non-Windows systems)

Hash

IdentityModel Target /
Algorithm name
.NET 4.5 .NET 4.5.1 .NET 4.6.1 .NET Standard 1.4 .NET Standard 2.0
Sha256
(SHA256)
Sha384
(SHA384)
Sha512
(SHA512)
Sha256Digest
(http://www.w3.org/2001/04/xmlenc#sha256)
Sha384Digest
(http://www.w3.org/2001/04/xmldsig-more#sha384)
Sha512Digest
(http://www.w3.org/2001/04/xmlenc#sha512)

Symmetric

IdentityModel Target /
Algorithm name
.NET 4.5 .NET 4.5.1 .NET 4.6.1 .NET Standard 1.4 .NET Standard 2.0
Aes128CbcHmacSha256
(A128CBC-HS256)
Aes192CbcHmacSha384
(A192CBC-HS384)
Aes256CbcHmacSha512
(A256CBC-HS512)
Aes128KW
(A128KW)
Aes256KW
(A256KW)
HmacSha256
(HS256)
HmacSha384
(HS384)
HmacSha512
(HS512)
HmacSha256Signature
(http://www.w3.org/2001/04/xmldsig-more#hmac-sha256)
HmacSha384Signature
(http://www.w3.org/2001/04/xmldsig-more#hmac-sha384)
HmacSha512Signature
(http://www.w3.org/2001/04/xmldsig-more#hmac-sha512)
Clone this wiki locally