Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GeneralSecurityException (3.52 sec)

  1. src/main/java/jcifs/pac/PacMac.java

         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
         * @throws GeneralSecurityException if cryptographic operations fail
         */
        public static byte[] calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data) throws GeneralSecurityException {
            int ms_usage = mapArcfourMD5KeyUsage(keyusage);
            Mac mac = Mac.getInstance("HmacMD5");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacMacTest.java

        /**
         * Test method for
         * {@link jcifs.pac.PacMac#calculateMacArcfourHMACMD5(int, java.security.Key, byte[])}.
         *
         * @throws GeneralSecurityException
         */
        @Test
        void testCalculateMacArcfourHMACMD5() throws GeneralSecurityException {
            // Using a key with a known value for reproducibility
            SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top