Click or drag to resize
SecurityUtils Class
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.UtilsSecurityUtils

Namespace: PDTec.IceNet.Sdk.Utils
Assembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
public static class SecurityUtils

The SecurityUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberComputeSha1Hash(Byte)
Computes the SHA1 hash of a binary value.
Public methodStatic memberComputeSha1Hash(Stream)
Computes the SHA1 hash of an input stream.
Public methodStatic memberComputeSha256Hash
Computes the SHA256 hash of a binary value.
Public methodStatic memberCreateAesKey
Creates an 256-bit AES key.
Public methodStatic memberCreateDigitalSignature(String, Byte)
Creates a digital signature.
Public methodStatic memberCreateDigitalSignature(String, XmlElement)
Creates a digital signature.
Public methodStatic memberCreateDigitalSignature(Int32, String, Byte)
Creates a digital signature.
Public methodStatic memberCreateDigitalSignature(Int32, String, XmlElement)
Creates a digital signature.
Public methodStatic memberCreatePrivateKey(Boolean)
Creates a 1024-bit RSA key pair.
Public methodStatic memberCreatePrivateKey(Int32, Boolean)
Creates a RSA key pair.
Public methodStatic memberDecryptAes
Decrypts data using the 256-bit AES algorithm.
Public methodStatic memberEncryptAes
Encrypts data using the 256-bit AES algorithm.
Public methodStatic memberGetLicenseServerKey
Retrieves the server key of the local machine.
Public methodStatic memberGetPublicKey(String)
Retrieves a public RSA key out of a private RSA key pair.
Public methodStatic memberGetPublicKey(Int32, String)
Retrieves a public RSA key out of a private RSA key pair.
Public methodStatic memberHashPassword
Hashes the password and produces a random salt value.
Public methodStatic memberLog(String)
Adds a message to the security audit log. The message will appear with INFO priority.
Public methodStatic memberLog(String, Object)
Adds a message to the security audit log. The message will appear with INFO priority.
Public methodStatic memberLogCritical(String)
Adds a critical message to the security audit log. The message will appear with WARN priority.
Public methodStatic memberLogCritical(String, Object)
Adds a critical message to the security audit log. The message will appear with WARN priority.
Public methodStatic memberMatchLicenseServerKey
Matches a server key against a key from a license (file). Throws a LicenseException is the key does not match.
Public methodStatic memberSignAes
Signs data using the 256-bit AES algorithm.
Public methodStatic memberValidatePassword
Validates the password.
Public methodStatic memberVerifyAes
Verifies a signature using the 256-bit AES algorithm.
Public methodStatic memberVerifyDigitalSignature(String, Byte, String)
Verifies the digital signature.
Public methodStatic memberVerifyDigitalSignature(String, XmlElement, String)
Verifies the digital signature.
Public methodStatic memberVerifyDigitalSignature(Int32, String, Byte, String)
Verifies the digital signature.
Public methodStatic memberVerifyDigitalSignature(Int32, String, XmlElement, String)
Verifies the digital signature.
Top
See Also