Skip to content

Supported Algorithms

George Krechar edited this page May 10, 2019 · 10 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)
RsaSsaPssSha384
(PS384)
RsaSsaPssSha512
(PS512)
RsaSsaPssSha384Signature
(http://www.w3.org/2007/05/xmldsig-more#sha384rsa-MGF1)
RsaSsaPssSha512Signature
(http://www.w3.org/2007/05/xmldsig-more#sha512-rsa-MGF1)

❓ - Supported only by Windows CNG. RSACryptoServiceProvider doesn't support PSS.

❔ - Not available on Unix systems running .NET Core < 2.1.


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)
EcdsaSha384
(ES384)
EcdsaSha512
(ES512)
EcdsaSha256Signature
(http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256)
EcdsaSha384Signature
(http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384)
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)
You can’t perform that action at this time.