@@ -837,7 +837,7 @@ public CompressionMethod CompressionMethod {
837837 /// Returns same value as CompressionMethod except when AES encrypting, which
838838 /// places 99 in the method and places the real method in the extra data.
839839 /// </summary>
840- public CompressionMethod CompressionMethodForHeader {
840+ internal CompressionMethod CompressionMethodForHeader {
841841 get {
842842 return ( AESKeySize > 0 ) ? CompressionMethod . WinZipAES : method ;
843843 }
@@ -906,7 +906,7 @@ public int AESKeySize {
906906 /// AES Encryption strength for storage in extra data in entry header.
907907 /// 1 is 128 bit, 2 is 192 bit, 3 is 256 bit.
908908 /// </summary>
909- public byte AESEncryptionStrength {
909+ internal byte AESEncryptionStrength {
910910 get {
911911 return ( byte ) _aesEncryptionStrength ;
912912 }
@@ -915,13 +915,13 @@ public byte AESEncryptionStrength {
915915 /// <summary>
916916 /// AES unsupported prior to .NET 2.0
917917 /// </summary>
918- public int AESKeySize ;
918+ internal int AESKeySize ;
919919#endif
920920
921921 /// <summary>
922922 /// Returns the length of the salt, in bytes
923923 /// </summary>
924- public int AESSaltLen {
924+ internal int AESSaltLen {
925925 get {
926926 // Key size -> Salt length: 128 bits = 8 bytes, 192 bits = 12 bytes, 256 bits = 16 bytes.
927927 return AESKeySize / 16 ;
@@ -931,7 +931,7 @@ public int AESSaltLen {
931931 /// <summary>
932932 /// Number of extra bytes required to hold the AES Header fields (Salt, Pwd verify, AuthCode)
933933 /// </summary>
934- public int AESOverheadSize {
934+ internal int AESOverheadSize {
935935 get {
936936 // File format:
937937 // Bytes Content
0 commit comments