PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

You are developing a server application that will transmit sensitive information on a network. You create an X509Certificate object named certificate and a TcpClient object named client. You need to create an SslStream to communicate by using the Transport Layer
Security 1.0 protocol. Which code segment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Dim objSSL As New SslStream(client.GetStream)objSSL.AuthenticateAsServer(certificate, False, _ SslProtocols.None, True)

B.
Dim objSSL As New SslStream(client.GetStream)objSSL.AuthenticateAsServer(certificate, False, _ SslProtocols.Ssl3, True)

C.
Dim objSSL As New SslStream(client.GetStream)objSSL.AuthenticateAsServer(certificate, False, _ SslProtocols.Ssl2, True)

D.
Dim objSSL As New SslStream(client.GetStream)objSSL.AuthenticateAsServer(certificate, False, _ SslProtocols.Tls, True)


Leave a Reply