ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
DaneStream Constructor
The underlying stream on which the encrypted stream should work
A DNSSEC resolver to get the TLSA records
If true, the use of TLSA records is enforced
If true, the underlying stream will not be closed when this instance is closed
A callback to select client certificates to authenticate the client to the server
Creates a new instance of the TlsaStream class
Syntax
public DaneStream( 
   System.IO.Stream innerStream,
   IDnsSecResolver resolver,
   System.bool enforceTlsaValidation,
   System.bool leaveInnerStreamOpen,
   System.Net.Security.LocalCertificateSelectionCallback userCertificateSelectionCallback
)

Parameters

innerStream
The underlying stream on which the encrypted stream should work
resolver
A DNSSEC resolver to get the TLSA records
enforceTlsaValidation
If true, the use of TLSA records is enforced
leaveInnerStreamOpen
If true, the underlying stream will not be closed when this instance is closed
userCertificateSelectionCallback
A callback to select client certificates to authenticate the client to the server
See Also

Reference

DaneStream Class
DaneStream Members

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X