@@ -837,7 +837,7 @@ public CompressionMethod CompressionMethod {
837
837
/// Returns same value as CompressionMethod except when AES encrypting, which
838
838
/// places 99 in the method and places the real method in the extra data.
839
839
/// </summary>
840
- public CompressionMethod CompressionMethodForHeader {
840
+ internal CompressionMethod CompressionMethodForHeader {
841
841
get {
842
842
return ( AESKeySize > 0 ) ? CompressionMethod . WinZipAES : method ;
843
843
}
@@ -906,7 +906,7 @@ public int AESKeySize {
906
906
/// AES Encryption strength for storage in extra data in entry header.
907
907
/// 1 is 128 bit, 2 is 192 bit, 3 is 256 bit.
908
908
/// </summary>
909
- public byte AESEncryptionStrength {
909
+ internal byte AESEncryptionStrength {
910
910
get {
911
911
return ( byte ) _aesEncryptionStrength ;
912
912
}
@@ -915,13 +915,13 @@ public byte AESEncryptionStrength {
915
915
/// <summary>
916
916
/// AES unsupported prior to .NET 2.0
917
917
/// </summary>
918
- public int AESKeySize ;
918
+ internal int AESKeySize ;
919
919
#endif
920
920
921
921
/// <summary>
922
922
/// Returns the length of the salt, in bytes
923
923
/// </summary>
924
- public int AESSaltLen {
924
+ internal int AESSaltLen {
925
925
get {
926
926
// Key size -> Salt length: 128 bits = 8 bytes, 192 bits = 12 bytes, 256 bits = 16 bytes.
927
927
return AESKeySize / 16 ;
@@ -931,7 +931,7 @@ public int AESSaltLen {
931
931
/// <summary>
932
932
/// Number of extra bytes required to hold the AES Header fields (Salt, Pwd verify, AuthCode)
933
933
/// </summary>
934
- public int AESOverheadSize {
934
+ internal int AESOverheadSize {
935
935
get {
936
936
// File format:
937
937
// Bytes Content
0 commit comments