|
static X509Certificate2 | LoadCertificate (string certificateName, StoreName storeName, StoreLocation storeLocation, bool validOnly) |
| Loads a certificate from a certificate store. More...
|
|
static X509Certificate2 | LoadCertificate (string certificateName) |
|
static void | CertSetDefault () |
|
static void | CertCreate () |
|
static void | CreateTestCertificate (string CertificateName, string StorageName, bool UserStore, string ContainerName, string CommandPath, bool ReportConsole, bool ReportForm, string OutputFile, string ValidFrom, string ValidTo) |
|
static void | CreateTestCertificate (string CertificateName, string StorageName, bool UserStore, string ContainerName, string CommandPath, bool ReportConsole, bool ReportForm, string OutputFile) |
|
static void | CreateTestCertificate (string CertificateName, string StorageName, bool UserStore, string ContainerName, string CommandPath) |
|
static void | CreateTestCertificate (string CertificateName, string StorageName, bool UserStore, string ContainerName) |
|
static void | CreateTestCertificate (string CertificateName) |
|
static void | CreateTestCertificate () |
|
static void | LoadKeys (string containername) |
|
static void | DeleteKeys (string containername) |
|
static void | AssignParameter (string ContainerName) |
|
static void | AssignNewKey (string ContainterName, string PrivateKeyFileName, string PublicKeyFileName) |
|
static string | EncryptData (string ContainterName, string data2Encrypt, string XMLPublicKeyFileName) |
|
static string | DecryptData (string ContainterName, string data2Decrypt, string PrivateKeyFilename) |
|
static void | SignXml (XmlDocument Doc, RSA Key) |
|
static Boolean | VerifyXml (XmlDocument Doc, RSA Key) |
|
static void | TestXML (String[] args) |
|
static void | TestEncrypt (string message) |
|
static void IG.Crypt.Asym.CreateTestCertificate |
( |
string |
CertificateName, |
|
|
string |
StorageName, |
|
|
bool |
UserStore, |
|
|
string |
ContainerName, |
|
|
string |
CommandPath, |
|
|
bool |
ReportConsole, |
|
|
bool |
ReportForm, |
|
|
string |
OutputFile, |
|
|
string |
ValidFrom, |
|
|
string |
ValidTo |
|
) |
| |
|
inlinestatic |
Creates a new certificate named CertificateName, with keys stored in the container named ContainerName, and stored in the storage denoted by StorageName. If UserStore==true then the certificate is stored in the current user's store, otherwise it is stored in the machine store. If command path is a string of non-zero length then it specified the path of the makecert system command. If ReportConsole==true then reporting is performed on standard console. If ReportForm is true then reporting is performed to IGForm.Console. OutputFile ia the name of the .cer file where the X.509 certificate will be written.
References IG.Forms.UtilForms.AppConsole, IG.Forms.UtilForms.Reporter, IG.Crypt.Asym.TestCertificateName, IG.Crypt.Asym.TestContainerName, and IG.Forms.ConsoleForm.WriteLine().