Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Crypto (0.06 sec)

  1. src/main/java/jcifs/util/Crypto.java

    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;
    
    import jcifs.CIFSUnsupportedCryptoException;
    
    /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

    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;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    
    /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            // Then
            assertSame(cause, exception.getCause(), "Crypto cause should be preserved");
            assertEquals(cause.toString(), exception.getMessage(), "Message should be cause.toString() when only cause is provided");
        }
    
        @Test
        @DisplayName("Message and cause constructor should preserve both crypto parameters")
        void testMessageAndCauseConstructor() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

         *
         */
        private static final long serialVersionUID = -6350312430383107348L;
    
        /**
         * Constructs a CIFS unsupported crypto exception with no detail message.
         */
        public CIFSUnsupportedCryptoException() {
        }
    
        /**
         * Constructs a CIFS unsupported crypto exception with the specified detail message and cause.
         *
         * @param message the detail message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

     */
    package jcifs.internal.smb2;
    
    import java.nio.charset.StandardCharsets;
    
    import org.bouncycastle.crypto.DerivationParameters;
    import org.bouncycastle.crypto.digests.SHA256Digest;
    import org.bouncycastle.crypto.generators.KDFCounterBytesGenerator;
    import org.bouncycastle.crypto.macs.HMac;
    import org.bouncycastle.crypto.params.KDFCounterParameters;
    
    /**
     * SMB3 SP800-108 Counter Mode Key Derivation
     *
     * @author mbechler
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/NoSuchPaddingRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import javax.crypto.NoSuchPaddingException;
    
    /**
     * Exception that wraps {@link NoSuchPaddingException}.
     *
     * @author shinsuke
     */
    public class NoSuchPaddingRuntimeException extends ClRuntimeException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import javax.crypto.BadPaddingException;
    
    /**
     * Signals that this exception has been thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
     * @author shinsuke
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import javax.crypto.IllegalBlockSizeException;
    
    /**
     * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import java.net.UnknownHostException;
    import java.security.GeneralSecurityException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import java.util.Collections;
    
    import javax.crypto.KeyGenerator;
    import javax.crypto.SecretKey;
    import javax.security.auth.kerberos.KerberosKey;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    import org.bouncycastle.asn1.ASN1Integer;
    import org.bouncycastle.asn1.BERTags;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.crypto;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top