Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 100 for Crypto (0.06 seconds)

  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;
    
    /**
    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)
  2. src/test/java/jcifs/util/HMACT64Test.java

        void setUp() throws NoSuchAlgorithmException {
            // Mock Crypto.getMD5() to return our mockMd5 instance
            // This requires Mockito 3.4.0+ for MockedStatic
            // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
            // If it's not static, we'd need to inject it or mock the class that provides it.
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
    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)
  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
    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. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/CryptoTest.java

    import java.security.SecureRandom;
    
    import javax.crypto.Cipher;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.SecretKeySpec;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    
    /**
     * Test class for Crypto utility functionality
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. docs/security/security_providers.md

    
    [BoringSSL]: https://boringssl.googlesource.com/boringssl/
    [Bouncy Castle]: https://www.bouncycastle.org/java.html
    [Conscrypt]: https://www.conscrypt.org/
    [Corretto]: https://github.com/corretto/amazon-corretto-crypto-provider
    [GraalVM]: https://www.graalvm.org/
    [OpenJDK]: https://openjdk.java.net/groups/security/
    [OpenJSSE]: https://github.com/openjsse/openjsse
    [OpenSSL]: https://www.openssl.org/
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  7. CLAUDE.md

    ├── collection/  # Enhanced collections (LruHashMap, CaseInsensitiveMap)
    ├── concurrent/  # Concurrency utilities
    ├── convert/     # Type conversion (*ConversionUtil)
    ├── crypto/      # Cipher & encryption (CachedCipher)
    ├── exception/   # Runtime exception wrappers
    ├── io/          # I/O & resource utilities
    ├── jar/         # JAR file utilities
    ├── lang/        # Reflection & language utilities
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  8. tests/go.mod

    	github.com/mattn/go-sqlite3 v1.14.32 // indirect
    	github.com/microsoft/go-mssqldb v1.9.3 // indirect
    	github.com/pmezard/go-difflib v1.0.0 // indirect
    	github.com/tjfoc/gmsm v1.4.1 // indirect
    	golang.org/x/crypto v0.43.0 // indirect
    	golang.org/x/sync v0.17.0 // indirect
    	golang.org/x/text v0.30.0 // indirect
    	gopkg.in/yaml.v3 v3.0.1 // indirect
    )
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. schema/naming.go

    package schema
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"regexp"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    )
    
    // Namer namer interface
    type Namer interface {
    	TableName(table string) string
    	SchemaName(table string) string
    	ColumnName(table, column string) string
    	JoinTableName(joinTable string) string
    	RelationshipFKName(Relationship) string
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 03:46:59 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty("jcifs.smb1.smb.lmCompatibility", "0");
            Config.setProperty("jcifs.smb1.smb.client.useExtendedSecurity", "false");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top