SecurityUtils Methods |
The SecurityUtils type exposes the following members.
| Name | Description | |
|---|---|---|
| AesCreateKey |
Creates an 256-bit AES key.
| |
| AesCreateKeyString |
Creates an 256-bit AES key.
| |
| AesDecrypt(Byte, Byte) |
Decrypts data using the 256-bit AES algorithm.
| |
| AesDecrypt(Byte, String) |
Decrypts data using the 256-bit AES algorithm.
| |
| AesDecrypt(String, String) |
Decrypts data using the 256-bit AES algorithm.
| |
| AesDecrypt(Byte, SecurityUtilsBase64Variant, String) |
Decrypts data using the 256-bit AES algorithm.
| |
| AesDecrypt(String, SecurityUtilsBase64Variant, String) |
Decrypts data using the 256-bit AES algorithm.
| |
| AesEncrypt(Byte, Byte) |
Encrypts data using the 256-bit AES algorithm.
| |
| AesEncrypt(Byte, String) |
Encrypts data using the 256-bit AES algorithm.
| |
| AesEncrypt(String, String) |
Encrypts data using the 256-bit AES algorithm.
| |
| AesEncrypt(Byte, SecurityUtilsBase64Variant, String) |
Encrypts data using the 256-bit AES algorithm.
| |
| AesEncrypt(String, SecurityUtilsBase64Variant, String) |
Encrypts data using the 256-bit AES algorithm.
| |
| AesSign | Obsolete.
Signs data using the 256-bit AES algorithm.
| |
| AesVerify | Obsolete.
Verifies a signature using the 256-bit AES algorithm.
| |
| ComputeSha1Hash(Byte) |
Computes the SHA1 hash of a binary value.
| |
| ComputeSha1Hash(Stream) |
Computes the SHA1 hash of an input stream.
| |
| ComputeSha256Hash |
Computes the SHA256 hash of a binary value.
| |
| ConfigureNetSecurity |
Reads ServicePointManager.SecurityProtocol settings from configuration
and applies them to the runtime.
| |
| GetLicenseServerKey |
Retrieves the server key of the local machine.
| |
| HashPassword |
Hashes the password and produces a random salt value.
| |
| HmacCreateKey |
Creates an 256-bit HMAC key.
| |
| HmacCreateKeyString |
Creates an 256-bit HMAC key.
| |
| HmacEncryptAndSign(Byte, Byte) |
Encrypts and signs data with AES/HMACSHA-256.
| |
| HmacEncryptAndSign(Byte, String) |
Encrypts and signs data with AES/HMACSHA-256.
| |
| HmacEncryptAndSign(String, String) |
Encrypts and signs data with AES/HMACSHA-256.
| |
| HmacEncryptAndSign(Byte, SecurityUtilsBase64Variant, String) |
Encrypts and signs data with AES/HMACSHA-256.
| |
| HmacEncryptAndSign(String, SecurityUtilsBase64Variant, String) |
Encrypts and signs data with AES/HMACSHA-256.
| |
| HmacTryVerifyAndDecrypt(Byte, Byte, Byte) |
Verifies a HMACSHA-256 signature and decrypts data.
| |
| HmacTryVerifyAndDecrypt(Byte, String, String) |
Verifies a HMACSHA-256 signature and decrypts data.
| |
| HmacTryVerifyAndDecrypt(String, String, String) |
Verifies a HMACSHA-256 signature and decrypts data.
| |
| HmacTryVerifyAndDecrypt(Byte, SecurityUtilsBase64Variant, String, String) |
Verifies a HMACSHA-256 signature and decrypts data.
| |
| HmacTryVerifyAndDecrypt(String, SecurityUtilsBase64Variant, String, String) |
Verifies a HMACSHA-256 signature and decrypts data.
| |
| Log(String) |
Adds a message to the security audit log. The message will appear with INFO priority.
| |
| Log(String, Object) |
Adds a message to the security audit log. The message will appear with INFO priority.
| |
| LogCritical(String) |
Adds a critical message to the security audit log. The message will appear with WARN priority.
| |
| LogCritical(String, Object) |
Adds a critical message to the security audit log. The message will appear with WARN priority.
| |
| MatchLicenseServerKey |
Matches a server key against a key from a license (file). Throws
a LicenseException is the key does not match.
| |
| RsaCreateDigitalSignature(String, Byte) |
Creates a digital signature.
| |
| RsaCreateDigitalSignature(String, XmlElement) |
Creates a digital signature of an XML element.
| |
| RsaCreateDigitalSignature(String, SecurityUtilsRsaSigningHash, Byte) |
Creates a digital signature.
| |
| RsaCreateDigitalSignature(String, SecurityUtilsRsaSigningHash, XmlElement) |
Creates a digital signature of an XML element.
| |
| RsaCreateDigitalSignature(String, SecurityUtilsRsaSigningHash, SecurityUtilsRsaPadding, Byte) |
Creates a digital signature.
| |
| RsaCreatePrivateKey(Boolean) |
Creates a 2048-bit RSA key pair.
| |
| RsaCreatePrivateKey(Int32, Boolean) |
Creates a RSA key pair.
| |
| RsaGetPublicKey |
Retrieves a public RSA key out of a private RSA key pair.
| |
| RsaVerifyDigitalSignature(String, Byte, String) |
Verifies the digital signature.
| |
| RsaVerifyDigitalSignature(String, XmlElement, String) |
Verifies the digital signature of an XML element.
| |
| RsaVerifyDigitalSignature(String, SecurityUtilsRsaSigningHash, Byte, String) |
Verifies the digital signature.
| |
| RsaVerifyDigitalSignature(String, SecurityUtilsRsaSigningHash, XmlElement, String) |
Verifies the digital signature of an XML element.
| |
| RsaVerifyDigitalSignature(String, SecurityUtilsRsaSigningHash, SecurityUtilsRsaPadding, Byte, String) |
Verifies the digital signature.
| |
| ValidatePassword |
Validates the password.
|