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