Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 267 for setInstance (0.06 sec)

  1. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        /**
         * Get the singleton instance
         *
         * @return SecurityAuditLogger instance
         */
        public static SecurityAuditLogger getInstance() {
            return SingletonHolder.INSTANCE;
        }
    
        private SecurityAuditLogger() {
            // Initialize event counters
            for (EventType type : EventType.values()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

          ).decodeBase64()!!
    
        val x509PublicKey =
          encodeKey(
            algorithm = RSA_ENCRYPTION,
            publicKeyBytes = publicKeyBytes,
          )
        val keyFactory = KeyFactory.getInstance("RSA")
        val publicKey = keyFactory.generatePublic(X509EncodedKeySpec(x509PublicKey.toByteArray()))
        val privateKey = keyFactory.generatePrivate(PKCS8EncodedKeySpec(privateKeyBytes.toByteArray()))
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                }
    
                // Create cipher with the copy - algorithm is just "AES" for SecretKeySpec
                final SecretKeySpec keySpec = new SecretKeySpec(keyCopy, "AES");
                final Cipher cipher = Cipher.getInstance(transformation);
                final GCMParameterSpec gcmSpec = new GCMParameterSpec(getAuthTagLength() * 8, nonce);
    
                cipher.init(encrypt ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE, keySpec, gcmSpec);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

     */
    public class NetworkExplorer extends HttpServlet {
    
        /**
         * Default constructor.
         */
        public NetworkExplorer() {
            super();
        }
    
        private static LogStream log = LogStream.getInstance();
    
        /** The MIME type mapping */
        private MimeMap mimeMap;
        /** The CSS style for HTML rendering */
        private String style;
        /** The NTLM SSP handler */
        private NtlmSsp ntlmSsp;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

            }
    
            // Use SHA-256 for derivation (placeholder)
            try {
                java.security.MessageDigest md = java.security.MessageDigest.getInstance("SHA-256");
                byte[] hash = md.digest(input);
                System.arraycopy(hash, 0, derived, 0, Math.min(length, hash.length));
    
                // If we need more bytes, hash again with counter
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. docs/smb3-features/02-persistent-handles-design.md

    ```java
    public class SecureHandleStorage {
        private final SecretKey encryptionKey;
        
        public void saveEncrypted(HandleInfo handle, Path file) throws Exception {
            Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, encryptionKey);
            
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/UserDbm.java

        //                                                                           =========
        private static final UserDbm _instance = new UserDbm();
    
        private UserDbm() {
        }
    
        public static UserDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
        //                                                                       Current DBDef
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
    
          var socketClass: String? = null
    
          val trustManager =
            TrustManagerFactory
              .getInstance(TrustManagerFactory.getDefaultAlgorithm())
              .apply {
                init(null as KeyStore?)
              }.trustManagers
              .first() as X509TrustManager
    
          val sslContext =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          val length = readInt(source)
          if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null.
    
          try {
            val certificateFactory = CertificateFactory.getInstance("X.509")
            val result = ArrayList<Certificate>(length)
            for (i in 0 until length) {
              val line = source.readUtf8LineStrict()
              val bytes = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

    public class SmbTransport extends Transport implements SmbConstants {
    
        static final byte[] BUF = new byte[0xFFFF];
        static final SmbComNegotiate NEGOTIATE_REQUEST = new SmbComNegotiate();
        static LogStream log = LogStream.getInstance();
        static HashMap dfsRoots = null;
    
        static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port) {
            return getSmbTransport(address, port, LADDR, LPORT, null);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top