Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for GeneralSecurityException (0.15 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test decrypt with RC4 encryption.
         *
         * @throws GeneralSecurityException if a security error occurs
         */
        @Test
        void testDecryptRc4() throws GeneralSecurityException {
            // This is a simplified test and does not use real encrypted data from Kerberos
            // It mainly tests the decryption logic path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type3Message.java

         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws CIFSException if a CIFS protocol error occurs
         */
        public Type3Message(final CIFSContext tc, final Type2Message type2, final String targetName, final String password, final String domain,
                final String user, final String workstation, final int flags) throws GeneralSecurityException, CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

         * @param context key derivation context
         * @param length desired key length in bytes
         * @return derived key
         * @throws GeneralSecurityException if key derivation fails
         */
        public byte[] deriveKey(byte[] baseKey, String label, byte[] context, int length) throws GeneralSecurityException {
            checkNotClosed();
    
            // Simple KDF implementation (should be replaced with proper KDF like HKDF)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

         * @throws SmbException if an SMB protocol error occurs
         * @throws GeneralSecurityException if a security error occurs during authentication
         */
        public SmbComSessionSetupAndX(final CIFSContext tc, final SmbComNegotiateResponse negotiated, final ServerMessageBlock andx,
                final Object cred) throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import java.security.GeneralSecurityException;
    import java.util.Arrays;
    
    import javax.crypto.ShortBufferException;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * @return the hash for the given challenge
         * @throws GeneralSecurityException if a security error occurs
         * @deprecated NTLMv1 is insecure. Use NTLMv2 (LM compatibility level 3 or higher)
         */
        @Deprecated
        public byte[] getAnsiHash(CIFSContext tc, byte[] chlng) throws GeneralSecurityException {
            int compatibility = tc.getConfig().getLanManCompatibility();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

    package okhttp3.sample;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.security.GeneralSecurityException;
    import java.security.KeyStore;
    import java.security.SecureRandom;
    import javax.net.ssl.KeyManagerFactory;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.TrustManagerFactory;
    import okhttp3.mockwebserver.Dispatcher;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SecureKeyManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.security.GeneralSecurityException;
    import java.security.SecureRandom;
    import java.util.Arrays;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.GeneralSecurityException
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import java.util.ArrayDeque
    import java.util.Deque
    import javax.net.ssl.SSLPeerUnverifiedException
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.util.concurrent.FuturesGetChecked.GetCheckedTypeValidator;
    import java.io.IOException;
    import java.net.URISyntaxException;
    import java.security.GeneralSecurityException;
    import java.security.KeyException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.TooManyListenersException;
    import java.util.concurrent.BrokenBarrierException;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top