| SecurityUtils Class | 
Namespace: PDTec.IceNet.Sdk.Utils
public static class SecurityUtils
The SecurityUtils type exposes the following members.
| Name | Description | |
|---|---|---|
| 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.
              | |
| CreateAesKey | 
            Creates an 256-bit AES key.
              | |
| CreateDigitalSignature(String, Byte) | 
            Creates a digital signature.
              | |
| CreateDigitalSignature(String, XmlElement) | 
            Creates a digital signature.
              | |
| CreateDigitalSignature(Int32, String, Byte) | 
            Creates a digital signature.
              | |
| CreateDigitalSignature(Int32, String, XmlElement) | 
            Creates a digital signature.
              | |
| CreatePrivateKey(Boolean) | 
            Creates a 1024-bit RSA key pair.
              | |
| CreatePrivateKey(Int32, Boolean) | 
            Creates a RSA key pair.
              | |
| DecryptAes | 
            Decrypts data using the 256-bit AES algorithm.
              | |
| EncryptAes | 
            Encrypts data using the 256-bit AES algorithm.
              | |
| GetLicenseServerKey | 
            Retrieves the server key of the local machine.
              | |
| GetPublicKey(String) | 
            Retrieves a public RSA key out of a private RSA key pair.
              | |
| GetPublicKey(Int32, String) | 
            Retrieves a public RSA key out of a private RSA key pair.
              | |
| HashPassword | 
            Hashes the password and produces a random salt value.
              | |
| 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.
              | |
| SignAes | 
            Signs data using the 256-bit AES algorithm.
              | |
| ValidatePassword | 
            Validates the password.
              | |
| VerifyAes | 
            Verifies a signature using the 256-bit AES algorithm.
              | |
| VerifyDigitalSignature(String, Byte, String) | 
            Verifies the digital signature.
              | |
| VerifyDigitalSignature(String, XmlElement, String) | 
            Verifies the digital signature.
              | |
| VerifyDigitalSignature(Int32, String, Byte, String) | 
            Verifies the digital signature.
              | |
| VerifyDigitalSignature(Int32, String, XmlElement, String) | 
            Verifies the digital signature.
              |