IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Classes | |
class | ConstCrypto |
Contains constants for cryptographic operations from shell functions. More... | |
class | CryptoManager |
Performs high level cryptographic opereratins, such ass reading command-line parameters and performing high-level tasks that can be directly used in application commands (i.e. those commands that are installed on applicaition interpreters). More... | |
class | CryptoParameters |
This class contains key parameters of the cryptographic operations performed on some item. More... | |
class | PasswordAlgorithmBase |
Base class for algorithms that generate passwords, encryption initialization vectors, and salts from the specified keys/passwords and salts. More... | |
class | PasswordAlgorithmDeriveBytes |
Key generation algorithm that uses a Rfc2898DeriveBytes object (PBKDF2 algorithm). More... | |
class | PasswordAlgorithmNone |
Key generation "algorithm" that generates key as an (eventually padded and truncated) copy of its original bytes. More... | |
class | PasswordAlgorithmRfc2898 |
Key generation algorithm that uses a Rfc2898DeriveBytes object (PBKDF2 algorithm). More... | |
class | UtilCrypto |
Basic Cryptographic utilities. More... | |
enum IG.Crypto.HashType : int |
Enumeration for selecting the hashing algorithm.
All names must be at most 20 characters in length (constant ConstCrypto.MaxTypeStringLength).
Names can only contain ASCII characters and may not change once they are defined (as many functionality will rely on string representation of flag values rather than integer codes).
Integer numbers of flags should not change once they are defined. New numbers must be defined sych that they can be combined by bitwise or (i.e. as flags). The "Default" value may eventually be changed (for which there must be very strong reasons) but must always point to some other value that is not "None".
$A Igor Apr10;
enum IG.Crypto.PasswordAlgorithmType : int |
Enumeration for selecting the algorithm for generation of secret keys, initialization vectors, etc., on basis of provided passwords, keys, and salts.
The algorithm must be of type System.Security.Cryptography.DeriveBytes
All names must be at most 20 characters in length (constant ConstCrypto.MaxTypeStringLength).
Names can only contain ASCII characters and may not change once they are defined (as many functionality will rely on string representation of flag values rather than integer codes).
Integer numbers of flags should not change once they are defined. New numbers must be defined sych that they can be combined by bitwise or (i.e. as flags). The "Default" value may eventually be changed (for which there must be very strong reasons) but must always point to some other value that is not "None".
$A Igor Apr10;
enum IG.Crypto.SymmetricAlgorithmType : int |
Enumeration for selecting the symmetric encryption algorithm.
All names must be at most 20 characters in length (constant ConstCrypto.MaxTypeStringLength).
Names can only contain ASCII characters and may not change once they are defined (as many functionality will rely on string representation of flag values rather than integer codes).
Integer numbers of flags should not change once they are defined. New numbers must be defined sych that they can be combined by bitwise or (i.e. as flags). The "Default" value may eventually be changed (for which there must be very strong reasons) but must always point to some other value that is not "None".
$A Igor Apr10;
enum IG.Crypto.AsymmetricAlgorithmType : int |
Enumeration for selecting the asymmetric cryptographic algorithm.
All names must be at most 20 characters in length (constant ConstCrypto.MaxTypeStringLength).
Names can only contain ASCII characters and may not change once they are defined (as many functionality will rely on string representation of flag values rather than integer codes).
Integer numbers of flags should not change once they are defined. New numbers must be defined sych that they can be combined by bitwise or (i.e. as flags). The "Default" value may eventually be changed (for which there must be very strong reasons) but must always point to some other value that is not "None".
$A Igor Apr10;
Enumerator | |
---|---|
None |
No asymmetric algorithm specified. |
Default |
Default asymmetric algorithm. |
RSA |
Specifies the RSA asymmetric algorithms. |
DSA |
Specifies the DSA asymmetric algorithm. |
enum IG.Crypto.CryptoFlags : int |
Flags for cryptographic operations.
These flags describe which cryptographic operations has been performed and some other details.
The flags are written e.g. to headers of encrypted data in order to know what data should be expected further in the header. Sizes of further data are then specified by further information such as types of algorithms used, key sizes, salt and initialization vecor lengths, etc.
$A Igor May15;
Enumerator | |
---|---|
None | |
EncryptionError | |
DecryptionError | |
Error | |
Hashing | |
KeyGeneration | |
SymmetricEncryption | |
AsymmetricEncryption | |
Signing | |
Public | |
Private |