Skip to content

Commit 126586a

Browse files
MSDN-WhiteKnightRon Petrusha
authored andcommitted
Add missing property details for AesManaged (#2214)
* Update AesManaged.xml added missing property details * Update AesManaged.xml * Update AesManaged.xml
1 parent 441b6bf commit 126586a

File tree

1 file changed

+32
-12
lines changed

1 file changed

+32
-12
lines changed

xml/System.Security.Cryptography/AesManaged.xml

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,13 @@
108108
<ReturnType>System.Int32</ReturnType>
109109
</ReturnValue>
110110
<Docs>
111-
<summary>To be added.</summary>
112-
<value>To be added.</value>
113-
<remarks>To be added.</remarks>
111+
<summary>Gets or sets the block size, in bits, of the cryptographic operation.</summary>
112+
<value>The block size, in bits, of the cryptographic operation. The default is 128 bits.</value>
113+
<remarks><format type="text/markdown"><![CDATA[
114+
115+
## Remarks
116+
For AES, the only valid block size is 128 bits. See the <xref:System.Security.Cryptography.SymmetricAlgorithm.BlockSize> for more information about block size.
117+
]]></format></remarks>
114118
</Docs>
115119
</Member>
116120
<MemberGroup MemberName="CreateDecryptor">
@@ -502,7 +506,11 @@
502506
<Docs>
503507
<summary>Gets or sets the initialization vector (IV) to use for the symmetric algorithm.</summary>
504508
<value>The initialization vector to use for the symmetric algorithm</value>
505-
<remarks>To be added.</remarks>
509+
<remarks><format type="text/markdown"><![CDATA[
510+
511+
## Remarks
512+
See the <xref:System.Security.Cryptography.SymmetricAlgorithm.IV> for more information about initialization vector.
513+
]]></format></remarks>
506514
</Docs>
507515
</Member>
508516
<Member MemberName="Key">
@@ -602,9 +610,13 @@
602610
<ReturnType>System.Security.Cryptography.KeySizes[]</ReturnType>
603611
</ReturnValue>
604612
<Docs>
605-
<summary>To be added.</summary>
606-
<value>To be added.</value>
607-
<remarks>To be added.</remarks>
613+
<summary>Gets the block sizes, in bits, that are supported by the symmetric algorithm.</summary>
614+
<value>The block sizes, in bits, that are supported by the symmetric algorithm.</value>
615+
<remarks><format type="text/markdown"><![CDATA[
616+
617+
## Remarks
618+
The only valid block size for AES is 128 bits.
619+
]]></format></remarks>
608620
</Docs>
609621
</Member>
610622
<Member MemberName="LegalKeySizes">
@@ -631,9 +643,13 @@
631643
<ReturnType>System.Security.Cryptography.KeySizes[]</ReturnType>
632644
</ReturnValue>
633645
<Docs>
634-
<summary>To be added.</summary>
635-
<value>To be added.</value>
636-
<remarks>To be added.</remarks>
646+
<summary>Gets the key sizes, in bits, that are supported by the symmetric algorithm.</summary>
647+
<value>The key sizes, in bits, that are supported by the symmetric algorithm.</value>
648+
<remarks><format type="text/markdown"><![CDATA[
649+
650+
## Remarks
651+
The valid key sizes for AES are 128, 192 and 256 bits.
652+
]]></format></remarks>
637653
</Docs>
638654
</Member>
639655
<Member MemberName="Mode">
@@ -708,8 +724,12 @@
708724
<Docs>
709725
<summary>Gets or sets the padding mode used in the symmetric algorithm.</summary>
710726
<value>One of the enumeration values that specifies the type of padding to apply. The default is <see cref="F:System.Security.Cryptography.PaddingMode.PKCS7" />.</value>
711-
<remarks>To be added.</remarks>
727+
<remarks><format type="text/markdown"><![CDATA[
728+
729+
## Remarks
730+
See the <xref:System.Security.Cryptography.SymmetricAlgorithm.Padding> for more information about padding.
731+
]]></format></remarks>
712732
</Docs>
713733
</Member>
714734
</Members>
715-
</Type>
735+
</Type>

0 commit comments

Comments
 (0)