Skip to content

Commit 141b049

Browse files
committed
System.DirectoryServices docs
1 parent 92e84fa commit 141b049

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

xml/System.DirectoryServices.Protocols/LdapSessionOptions.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,10 @@
614614
</ReturnValue>
615615
<Parameters />
616616
<Docs>
617-
<summary>To be added.</summary>
617+
<summary>
618+
<para>Create a new TLS library context.</para>
619+
<para>Calling this is necessary after setting TLS-based options, such as <c>TrustedCertificatesDirectory</c>.</para>
620+
</summary>
618621
<remarks>To be added.</remarks>
619622
</Docs>
620623
</Member>
@@ -718,9 +721,16 @@
718721
<ReturnType>System.String</ReturnType>
719722
</ReturnValue>
720723
<Docs>
721-
<summary>To be added.</summary>
724+
<summary>
725+
<para>Specifies the path of the directory containing CA certificates in the PEM format.</para>
726+
<para>Multiple directories may be specified by separating with a semi-colon.</para>
727+
</summary>
722728
<value>To be added.</value>
723-
<remarks>To be added.</remarks>
729+
<remarks>
730+
<para>The certificate files are looked up by the CA subject name hash value where that hash can be obtained by using, for example, <code>openssl x509 -hash -noout -in CA.crt</code>.</para>
731+
<para>It is a common practice to have the certificate file be a symbolic link to the actual certificate file which can be done by using <code>openssl rehash .</code> or <code>c_rehash .</code> in the directory containing the certificate files.</para>
732+
</remarks>
733+
<exception cref="T:System.IO.DirectoryNotFoundException">The directory does not exist.</exception>
724734
</Docs>
725735
</Member>
726736
<Member MemberName="VerifyServerCertificate">

0 commit comments

Comments
 (0)