Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 176 for encrypto (0.07 seconds)

  1. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Message constructor should handle crypto-specific error messages")
        @NullAndEmptySource
        @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128",
                "RC4 cipher not available in this JVM", "DES encryption is deprecated and not supported", "HMAC-SHA256 algorithm not found",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/PacMac.java

    import java.security.GeneralSecurityException;
    import java.security.Key;
    import java.security.MessageDigest;
    import java.util.Arrays;
    import java.util.Map;
    
    import javax.crypto.Cipher;
    import javax.crypto.Mac;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/util/RC4.java

                final byte t = s[i];
                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
    
        /**
         * Encrypts or decrypts data using the RC4 stream cipher.
         * Since RC4 is a stream cipher, the same operation is used for both encryption and decryption.
         *
         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

      ) {
        enum class Type {
          Handshake,
          Plaintext,
          Encrypted,
          Setup,
          Unknown,
        }
    
        val type: Type
          get() =
            when {
              message == "adding as trusted certificates" -> Type.Setup
              message == "Raw read" || message == "Raw write" -> Type.Encrypted
              message == "Plaintext before ENCRYPTION" || message == "Plaintext after DECRYPTION" -> Type.Plaintext
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. README.md

    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites
    - **Encryption Context**: Per-session encryption state management
    - **Key Derivation**: SMB3 KDF implementation with dialect-specific parameters
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            ByteBuffer buffer = ByteBuffer.allocate(34);
            buffer.order(ByteOrder.LITTLE_ENDIAN);
            buffer.putShort((short) 0); // dialectIndex
            buffer.put((byte) 0x0F); // securityMode (user, encrypted, sigs enabled, sigs required)
            buffer.putShort((short) 50); // maxMpxCount
            buffer.putShort((short) 10); // maxNumberVcs
            buffer.putInt(8192); // maxBufferSize
            buffer.putInt(65536); // maxRawSize
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/ServerData.java

        /**
         * Server's time zone offset in minutes from UTC.
         */
        public int serverTimeZone;
        /**
         * Length of the encryption key.
         */
        public int encryptionKeyLength;
        /**
         * Encryption key for password encryption.
         */
        public byte[] encryptionKey;
        /**
         * Server's globally unique identifier.
         */
        public byte[] guid;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmUtil.java

     */
    package jcifs.smb;
    
    import java.security.GeneralSecurityException;
    import java.security.MessageDigest;
    
    import javax.crypto.Cipher;
    import javax.crypto.ShortBufferException;
    
    import jcifs.CIFSContext;
    import jcifs.util.Crypto;
    import jcifs.util.Encdec;
    import jcifs.util.Strings;
    
    /**
     * Internal use only
     *
     * @author mbechler
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

     */
    package jcifs.internal.smb2;
    
    import java.nio.charset.StandardCharsets;
    
    import org.bouncycastle.crypto.DerivationParameters;
    import org.bouncycastle.crypto.digests.SHA256Digest;
    import org.bouncycastle.crypto.generators.KDFCounterBytesGenerator;
    import org.bouncycastle.crypto.macs.HMac;
    import org.bouncycastle.crypto.params.KDFCounterParameters;
    
    /**
     * SMB3 SP800-108 Counter Mode Key Derivation
     *
     * @author mbechler
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            Set<String> roleSet;
            boolean encrypted;
            String value;
    
            encrypted = false;
            value = "";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = false;
            value = "role1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top