by Meriamon [meriamon at gmx dot net] posted on 2003/08/22 |
|
Hi,
I tried to start an indirect TLS connection with the sample client. Until STARTTLS everything is fine, then MAIL FROM appears, then the certificate, and after that I always get this exception:
An error occurred [Byte array is too large. The maximum size byte array that can be encrypted by this public key implementation is 16 bytes.]
System.Security.Cryptography.CryptographicException: Byte array is too large. The maximum size byte array that can be encrypted by this public key implementation is 16 bytes.
at Org.Mentalis.Security.Ssl.SecureSocket.EndSend(IAsyncResult asyncResult)
at Org.Mentalis.Security.Ssl.SecureSocket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Org.Mentalis.Security.Ssl.SecureSocket.Send(Byte[] buffer)
at SmtpClient.Send(String data)
at SmtpClient.Start()
|