Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for GeneralSecurityException (0.17 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

     */
    package jcifs.pac.kerberos;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.security.GeneralSecurityException;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.login.LoginException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testConstructorSmb202() throws GeneralSecurityException {
                Smb2SigningDigest digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null);
                assertNotNull(digest);
            }
    
            @Test
            @DisplayName("Should create digest for SMB 2.1 with HmacSHA256")
            void testConstructorSmb210() throws GeneralSecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.math.BigInteger;
    import java.security.GeneralSecurityException;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    import org.bouncycastle.asn1.ASN1Integer;
    import org.bouncycastle.asn1.BERTags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            encrypted[encrypted.length - 1] ^= 0xFF;
    
            // Should throw exception due to authentication tag failure
            assertThrows(GeneralSecurityException.class, () -> {
                storage.decryptCredentials(encrypted);
            }, "Should throw GeneralSecurityException when decrypting tampered data");
    
            // Clean up
            Arrays.fill(plaintext, '\0');
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.Socket;
    import java.security.GeneralSecurityException;
    import java.security.KeyManagementException;
    import java.security.KeyStore;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    import java.io.UnsupportedEncodingException;
    import java.security.GeneralSecurityException;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

    import java.net.Authenticator;
    import java.net.HttpURLConnection;
    import java.net.PasswordAuthentication;
    import java.net.ProtocolException;
    import java.net.URL;
    import java.net.URLDecoder;
    import java.security.GeneralSecurityException;
    import java.security.Permission;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.GeneralSecurityException
    import java.security.KeyStore
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ssl.ExtendedSSLSession
    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SSLContext
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    import java.security.GeneralSecurityException;
    import java.util.Arrays;
    
    import jcifs.CIFSContext;
    
    /**
     * This class stores and encrypts NTLM user credentials. The default
     * credentials are retrieved from the {@code jcifs.smb.client.domain},
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import java.io.IOException
    import java.net.SocketException
    import java.security.GeneralSecurityException
    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import java.util.Arrays
    import javax.net.ssl.KeyManager
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLException
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top