# SecurityAlgorithms Class

**.NET Framework 4.6 and 4.5**

Defines constants for the URIs that represent the cryptographic algorithms that are used to encrypt XML and compute digital signatures for SOAP messages.

**Namespace:**System.IdentityModel.Tokens

**Assembly:**System.IdentityModel (in System.IdentityModel.dll)

The SecurityAlgorithms type exposes the following members.

Name | Description | |
---|---|---|

Aes128Encryption | Specifies a URI that points to the 128-bit AES cryptographic algorithm for encrypting XML. This field is constant. | |

Aes128KeyWrap | Specifies a URI that points to the 128-bit AES cryptographic algorithm for encrypting and decrypting symmetric keys (key wrap). This field is constant. | |

Aes192Encryption | Specifies a URI that points to the 192-bit AES cryptographic algorithm for encrypting XML. This field is constant. | |

Aes192KeyWrap | Specifies a URI that points to the 192-bit AES cryptographic algorithm for encrypting and decrypting symmetric keys (key wrap). This field is constant. | |

Aes256Encryption | Specifies a URI that points to the 256-bit AES cryptographic algorithm for encrypting XML. This field is constant. | |

Aes256KeyWrap | Specifies a URI that points to the 256-bit AES cryptographic algorithm for encrypting and decrypting symmetric keys (key wrap). This field is constant. | |

DesEncryption | Specifies a URI that points to the DES cryptographic algorithm for encrypting XML. This field is constant. | |

DsaSha1Signature | Specifies a URI that points to the DSA cryptographic algorithm for digitally signing XML. This field is constant. | |

ExclusiveC14n | Represents the Exclusive XML Without Comments Canonicalization algorithm. This field is constant. | |

ExclusiveC14nWithComments | Represents the Exclusive XML With Comments Canonicalization algorithm. This field is constant. | |

HmacSha1Signature | Specifies a URI that points to the HMAC cryptographic algorithm for digitally signing XML. This field is constant. | |

HmacSha256Signature | Specifies a URI that points to the 256-bit HMAC cryptographic algorithm for digitally signing XML. This field is constant. | |

Psha1KeyDerivation | Represents the P-SHA1 key generation algorithm. This field is constant. | |

Psha1KeyDerivationDec2005 | Represents the December 2007 version of the P-SHA1 key generation algorithm. This field is constant. | |

Ripemd160Digest | Specifies a URI that points to the RIPEMD-160 cryptographic digest algorithm. This field is constant. | |

RsaOaepKeyWrap | Specifies a URI that points to the RSAES-OAEP-ENCRYPT cryptographic algorithm for encrypting and decrypting asymmetric keys (key wrap). This field is constant. | |

RsaSha1Signature | Specifies a URI that points to the RSA-SHA1 cryptographic algorithm for digitally signing XML. This field is constant. | |

RsaSha256Signature | Specifies a URI that points to the RSA-SHA256 cryptographic algorithm for digitally signing XML. This field is constant. | |

RsaV15KeyWrap | Specifies a URI that points to the RSAES-PKCS1-v1_5 cryptographic algorithm for encrypting and decrypting asymmetric keys (key wrap). This field is constant. | |

Sha1Digest | Specifies a URI that points to the 160-bit SHA-1 digest algorithm. This field is constant. | |

Sha256Digest | Specifies a URI that points to the 256-bit SHA-256 digest algorithm. This field is constant. | |

Sha512Digest | Specifies a URI that points to the 512-bit SHA-512 digest algorithm. This field is constant. | |

StrTransform | Represents the Security Token Reference-Transform (STR-Transform) algorithm. This field is constant. | |

TlsSspiKeyWrap | Specifies a URI that points to the Transport Layer Security (TLS) algorithm for encrypting and decrypting symmetric keys (key wrap). This field is constant. | |

TripleDesEncryption | Specifies a URI that points to the Triple DES cryptographic algorithm for encrypting XML. This field is constant. | |

TripleDesKeyWrap | Specifies a URI that points to the Triple DES cryptographic algorithm for encrypting and decrypting symmetric keys (key wrap). This field is constant. | |

WindowsSspiKeyWrap | Specifies a URI that points to the GSS-API cryptographic algorithm for encrypting and decrypting Kerberos ticket session keys (key wrap). This field is constant. |

Show: