Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

cetificates expired

$
0
0

Dear all,

We're using vb .net framework 2.0 and cryptography API (System.Security.Cryptography.X509Certificates)
and recently we found that the cetificates will expire soon. If we haven't set any expiry date in our program can it still encrypt and decrypt without problem? Any config paramemters in API we need to set? thx a lot.


Dim RSA As RSACryptoServiceProvider = CType(cX509Cert.PublicKey.Key, RSACryptoServiceProvider)
Dim cInBytes As Byte() = StringToBytes(sInData, TextType.eASCII)

cOutData = RSA.Encrypt(cInBytes, False)

Best regards,
Wallace


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>