Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for trustedGet (0.17 sec)

  1. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

      }
    
      @Override
      @CheckForNull
      public <T extends B> T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CheckForNull
      public <T extends B> T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

          // certificate in the chain is itself a self-signed and trusted CA certificate.)
          val trustedCert = trustRootIndex.findByIssuerAndSignature(toVerify)
          if (trustedCert != null) {
            if (result.size > 1 || toVerify != trustedCert) {
              result.add(trustedCert)
            }
            if (verifySignature(trustedCert, trustedCert, result.size - 2)) {
              return result // The self-signed cert is a root CA. We're done.
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

          return try {
            val trustAnchor =
              findByIssuerAndSignatureMethod.invoke(
                trustManager,
                cert,
              ) as TrustAnchor
            trustAnchor.trustedCert
          } catch (e: IllegalAccessException) {
            throw AssertionError("unable to get issues and signature", e)
          } catch (_: InvocationTargetException) {
            null
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top