|
string | GetEncryptedText (string PlainStringToEncrypt, string DigitalCertificateName) |
| Constructor Author : Ranajit Biswal Date : 24th May 2007 Pupose : Used to Encrypt and Decrypt string using Digital certificate which has a Private Key. Requirement : WSE 2.0 and .Net Framework 2.0 More...
|
|
string | GetDecryptedText (string EncryptedStringToDecrypt, string DigitalCertificateName) |
| To Decrypt clear text using RSACryptoServer Provider and Digital Certificate having Private Key. More...
|
|
|
static X509Certificate2 | LoadCertificate (StoreName storeName, StoreLocation storeLocation, string certificateName) |
|
static byte[] | DecryptByCert (byte[] encryptedData, bool fOAEP, X509Certificate2 certificate) |
|
static byte[] | EncryptByCert (byte[] plainData, bool fOAEP, X509Certificate2 certificate) |
|
static string | GetXmlKeyPair (X509Certificate2 certificate) |
|
static string | GetPublicKey (X509Certificate2 certificate) |
|
static void | UseCertificateDemo () |
|
static string | DecryptEncryptedData (string Base64EncryptedData, string PathToPrivateKeyFile) |
|
|
static byte[] | Sign (string text, string certSubject) |
|
static bool | Verify (string text, byte[] signature, string certPath) |
|
static void | CertSignTest () |
|
static X509Certificate2 IG.Crypt.pfx_certificates.LoadCertificate |
( |
StoreName |
storeName, |
|
|
StoreLocation |
storeLocation, |
|
|
string |
certificateName |
|
) |
| |
|
inlinestatic |
static byte [] IG.Crypt.pfx_certificates.DecryptByCert |
( |
byte[] |
encryptedData, |
|
|
bool |
fOAEP, |
|
|
X509Certificate2 |
certificate |
|
) |
| |
|
inlinestatic |
static byte [] IG.Crypt.pfx_certificates.EncryptByCert |
( |
byte[] |
plainData, |
|
|
bool |
fOAEP, |
|
|
X509Certificate2 |
certificate |
|
) |
| |
|
inlinestatic |
static string IG.Crypt.pfx_certificates.GetXmlKeyPair |
( |
X509Certificate2 |
certificate | ) |
|
|
inlinestatic |
static string IG.Crypt.pfx_certificates.GetPublicKey |
( |
X509Certificate2 |
certificate | ) |
|
|
inlinestatic |
static void IG.Crypt.pfx_certificates.UseCertificateDemo |
( |
| ) |
|
|
inlinestatic |
string IG.Crypt.pfx_certificates.GetEncryptedText |
( |
string |
PlainStringToEncrypt, |
|
|
string |
DigitalCertificateName |
|
) |
| |
|
inline |
Constructor Author : Ranajit Biswal Date : 24th May 2007 Pupose : Used to Encrypt and Decrypt string using Digital certificate which has a Private Key. Requirement : WSE 2.0 and .Net Framework 2.0
string IG.Crypt.pfx_certificates.GetDecryptedText |
( |
string |
EncryptedStringToDecrypt, |
|
|
string |
DigitalCertificateName |
|
) |
| |
|
inline |
To Decrypt clear text using RSACryptoServer Provider and Digital Certificate having Private Key.
- Parameters
-
- Returns
static string IG.Crypt.pfx_certificates.DecryptEncryptedData |
( |
string |
Base64EncryptedData, |
|
|
string |
PathToPrivateKeyFile |
|
) |
| |
|
inlinestatic |
static byte [] IG.Crypt.pfx_certificates.Sign |
( |
string |
text, |
|
|
string |
certSubject |
|
) |
| |
|
inlinestaticprivate |
static bool IG.Crypt.pfx_certificates.Verify |
( |
string |
text, |
|
|
byte[] |
signature, |
|
|
string |
certPath |
|
) |
| |
|
inlinestaticprivate |
static void IG.Crypt.pfx_certificates.CertSignTest |
( |
| ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: