Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for NoSuchAlgorithmException (0.22 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/HMACT64Test.java

    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.DigestException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.Arrays;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/Crypto.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    
    import java.security.InvalidKeyException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.security.Provider;
    
    import javax.crypto.Cipher;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.spec.SecretKeySpec;
    
    import org.bouncycastle.jce.provider.BouncyCastleProvider;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        }
    
        @Test
        @DisplayName("Cause constructor should create exception with cryptographic cause")
        void testCauseConstructor() {
            // Given
            NoSuchAlgorithmException cause = new NoSuchAlgorithmException("AES-GCM algorithm not available");
    
            // When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(cause);
    
            // Then
    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)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/UpdateShasTask.java

    import java.io.File;
    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.StandardOpenOption;
    import java.security.NoSuchAlgorithmException;
    import java.util.Set;
    
    /**
     * A task to update shas used by {@code DependencyLicensesCheck}
     */
    public class UpdateShasTask extends DefaultTask {
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/exception/NoSuchAlgorithmRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.security.NoSuchAlgorithmException;
    
    /**
     * Exception that wraps {@link NoSuchAlgorithmException}.
     *
     * @author higa
     */
    public class NoSuchAlgorithmRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3176447530746274091L;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         * @throws RuntimeException
         *             If a {@link NoSuchAlgorithmException} occurs
         */
        public static MessageDigest getInstance(final String algorithm) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            try {
                return MessageDigest.getInstance(algorithm);
            } catch (final NoSuchAlgorithmException e) {
                throw new NoSuchAlgorithmRuntimeException(e);
            }
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

    import java.io.File;
    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     */
    package org.codelibs.core.crypto;
    
    import java.io.UnsupportedEncodingException;
    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        /**
         * Test decrypt with DES encryption.
         *
         * @throws GeneralSecurityException if a security error occurs
         * @throws NoSuchAlgorithmException if the algorithm is not available
         */
        @Test
        void testDecryptDes() throws GeneralSecurityException, NoSuchAlgorithmException {
            KeyGenerator keyGen = KeyGenerator.getInstance("DES");
            keyGen.init(56);
            SecretKey secretKey = keyGen.generateKey();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. src/main/resources/CLMessages.properties

    ECL0063=RollbackException occurred, because {0}
    ECL0064=Constructor({1}) of class({0}) not found
    ECL0065=Property({1}) of class({0}) not found
    ECL0066=NamingException occurred, because {0}
    ECL0067=NoSuchAlgorithmException occurred, because {0}
    ECL0068=InvalidKeyException occurred, because {0}
    ECL0069=NoSuchPaddingException occurred, because {0}
    ECL0070=Field({1}) of class({0}) not found
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 07 01:58:02 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top