Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KeyType (0.14 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          val keyType =
            when (certificate.publicKey) {
              is ECPublicKey -> "EC"
              is RSAPublicKey -> "RSA"
              else -> throw IllegalArgumentException("unexpected key type: ${certificate.publicKey}")
            }
    
          val privateKey = decodePkcs8(pkcs8Bytes, keyType)
    
          val keyPair = KeyPair(certificate.publicKey, privateKey)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                };
            }
    
            private <Q> Supplier<Q> getMapSupplier(Key<Q> key) {
                Key<?> keyType = key.getTypeParameter(0);
                Key<Object> valueType = key.getTypeParameter(1);
                if (keyType.getRawType() != String.class) {
                    throw new DIException("Only String keys are supported for maps: " + key);
                }
                return () -> {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(bimap3, emptyBimap);
      }
    
      @GwtIncompatible // keyType
      public void testKeyType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top