Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for GeneralSecurityException (0.25 sec)

  1. src/main/java/jcifs/smb/NtlmUtil.java

         * @param serverChallenge
         * @param clientChallenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
        public static byte[] getNTLM2Response ( byte[] passwordHash, byte[] serverChallenge, byte[] clientChallenge ) throws GeneralSecurityException {
            byte[] sessionHash = new byte[8];
    
            MessageDigest md5 = Crypto.getMD5();;
            md5.update(serverChallenge);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

         * @param key
         * @throws GeneralSecurityException
         */
        private static void verifyAESMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
            verifyAESHMAC(usage, expect, key, Hex.decode(data));
        }
    
    
        private static void verifyArcfourHMAC ( int usage, String expect, String data, String key ) throws GeneralSecurityException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                decrypt = decryptRC4(data, key);
                break;
            default:
                throw new GeneralSecurityException("Unsupported encryption type " + type);
            }
            return decrypt;
        }
    
    
        /**
         * @param data
         * @param key
         * @return
         * @throws GeneralSecurityException
         * @throws NoSuchAlgorithmException
         * @throws NoSuchPaddingException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type3Message.java

         *            taking place.
         * @param flags
         * @throws GeneralSecurityException
         * @throws CIFSException
         */
        public Type3Message ( CIFSContext tc, Type2Message type2, String targetName, String password, String domain, String user, String workstation,
                int flags ) throws GeneralSecurityException, CIFSException {
            // keep old behavior of anonymous auth when no password is provided
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K 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;
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

            }
        }
    
    
        /**
         * @param msg2
         * @return
         * @throws GeneralSecurityException
         * @throws CIFSException
         */
        protected Type3Message createType3Message ( Type2Message msg2 ) throws GeneralSecurityException, CIFSException {
            if ( this.auth instanceof NtlmNtHashAuthenticator ) {
                return new Type3Message(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    
    import java.nio.charset.StandardCharsets;
    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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         * 
         * @param tc
         * @param chlng
         * @return the hash for the given challenge
         * @throws GeneralSecurityException
         */
        public byte[] getAnsiHash ( CIFSContext tc, byte[] chlng ) throws GeneralSecurityException {
            switch ( tc.getConfig().getLanManCompatibility() ) {
            case 0:
            case 1:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

         * @param negotiated
         * @param andx
         * @param cred
         * @throws SmbException
         * @throws GeneralSecurityException
         */
        public SmbComSessionSetupAndX ( CIFSContext tc, SmbComNegotiateResponse negotiated, ServerMessageBlock andx, Object cred )
                throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
            this.negotiated = negotiated;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  10. 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.List;
    import java.util.TooManyListenersException;
    import java.util.concurrent.BrokenBarrierException;
    import java.util.concurrent.ExecutionException;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
Back to top