Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for fromKey (0.09 sec)

  1. 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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. 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()
            }
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. .github/CONTRIBUTING.md

    Before your code can be accepted into the project you must also sign the
    [Individual Contributor License Agreement (CLA)][1].
    
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  4. 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)
              }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    Committer's Guides
    ------------------
    
     * [Concurrency][concurrency]
     * [Debug Logging][debug_logging]
     * [Releasing][releasing]
    
     [cla]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1
     [concurrency]: https://square.github.io/okhttp/concurrency/
     [debug_logging]: https://square.github.io/okhttp/debug_logging/
     [releasing]: https://square.github.io/okhttp/releasing/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. docs/contribute/contributing.md

    Committer's Guides
    ------------------
    
     * [Concurrency][concurrency]
     * [Debug Logging][debug_logging]
     * [Releasing][releasing]
    
     [cla]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1
     [concurrency]: https://square.github.io/okhttp/concurrency/
     [debug_logging]: https://square.github.io/okhttp/debug_logging/
     [releasing]: https://square.github.io/okhttp/releasing/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            buildInitParamMap(viewHelper.getInitGeoParamMap(), Constants.GEO_QUERY, Constants.GEO_FORM);
        }
    
        protected void buildInitParamMap(final Map<String, String> paramMap, final String queryKey, final String formKey) {
            if (!paramMap.isEmpty()) {
                final StringBuilder queryBuf = new StringBuilder(100);
                final StringBuilder formBuf = new StringBuilder(100);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/moment-with-locales.min.js

    fset(this,!0),this},yt.format=function(e){e=e||(this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var a=A(this,e);return this.localeData().postformat(a)},yt.from=function(e,a){return this.isValid()&&(D(e)&&e.isValid()||Ha(e).isValid())?Ga({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},yt.fromNow=function(e){return this.from(Ha(),e)},yt.to=function(e,a){return this.isValid()&&(D(e)&&e.isValid()||Ha(e).isValid())?Ga({from:this,to:e}).locale(this.locale()).huma...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 360.5K bytes
    - Viewed (1)
Back to top