Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for kroeder (0.17 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val adapter = Adapters.INTEGER_AS_LONG.asSequenceOf()
        assertThat(adapter.fromDer(bytes)).isEqualTo(sequenceOf)
        assertThat(adapter.toDer(sequenceOf)).isEqualTo(bytes)
      }
    
      @Test fun `point with only x set`() {
        val bytes = "3003800109".decodeHex()
        val point = Point(9L, null)
        assertThat(Point.ADAPTER.fromDer(bytes)).isEqualTo(point)
        assertThat(Point.ADAPTER.toDer(point)).isEqualTo(bytes)
      }
    
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

          CertificateAdapters.certificate
            .fromDer(certificateByteString)
    
        assertThat(okHttpCertificate.tbsCertificate.subjectPublicKeyInfo.subjectPublicKey)
          .isEqualTo(BitString(publicKeyBytes, 0))
      }
    
      @Test fun `time before 2050 uses UTC_TIME`() {
        val utcTimeDer = "170d3439313233313233353935395a".decodeHex()
    
        val decoded = CertificateAdapters.time.fromDer(utcTimeDer)
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
        val reader = DerReader(buffer)
        return fromDer(reader)
      }
    
      /**
       * Writes [value] to this adapter, unless it is the default value and can be safely omitted.
       *
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              else -> writer.writeOctetString(value as ByteString)
            }
          }
    
          override fun fromDer(reader: DerReader): Any? {
            val adapter = chooser(reader.typeHint) as DerAdapter<Any?>?
            return when {
              adapter != null -> adapter.fromDer(reader)
              else -> reader.readUnknown()
            }
          }
        }
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          }
    
          override fun fromDer(reader: DerReader): Long {
            val peekHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected time but was exhausted at $reader")
    
            return when {
              peekHeader.tagClass == Adapters.UTC_TIME.tagClass &&
                peekHeader.tag == Adapters.UTC_TIME.tag -> {
                Adapters.UTC_TIME.fromDer(reader)
              }
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          encodeBase64Lines(pkcs1Bytes())
          append("-----END RSA PRIVATE KEY-----\n")
        }
      }
    
      private fun pkcs1Bytes(): ByteString {
        val decoded = CertificateAdapters.privateKeyInfo.fromDer(keyPair.private.encoded.toByteString())
        return decoded.privateKey
      }
    
      /** Build a held certificate with reasonable defaults. */
      class Builder {
        private var notBefore = -1L
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

    ) : DerAdapter<T> {
      init {
        require(tagClass >= 0)
        require(tag >= 0)
      }
    
      override fun matches(header: DerHeader): Boolean = header.tagClass == tagClass && header.tag == tag
    
      override fun fromDer(reader: DerReader): T {
        val peekedHeader = reader.peekHeader()
        if (peekedHeader == null || peekedHeader.tagClass != tagClass || peekedHeader.tag != tag) {
          if (isOptional) return defaultValue as T
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. manifests/charts/UPDATING-CHARTS.md

    to allow arbitrary customizations.
    
    If the change truly is generally purpose, it is generally preferred to have broader APIs. For example, instead of providing
    direct access to each of the complex fields in [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/), just providing
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jul 27 18:28:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            if (!ignoredArtifacts.contains(artifact)) {
                logger.warn("\n\tArtifact " + artifact + " retains local artifactScope '" + artifact.getScope()
                        + "' overriding broader artifactScope '" + ignoredScope + "'\n"
                        + "\tgiven by a dependency. If this is not intended, modify or remove the local artifactScope.\n");
                ignoredArtifacts.add(artifact);
            }
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    ### Fixing sanity check failures after public API changes
    
    If your PR includes any changes to the Gradle Public API, it will cause the binary compatibility check to fail.
    The binary compatibility check runs as a part of the broader sanity check.
    The latter runs on every PR and is a prerequisite for merging.
    
    If you run the sanity check locally with the `./gradlew sanityCheck`, you can see the binary compatibility error in the output.
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Feb 09 15:30:53 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top