Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for SubjectPublicKeyInfo (0.25 seconds)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          rdnSequence,
        )
    
      /**
       * ```
       * SubjectPublicKeyInfo ::= SEQUENCE  {
       *   algorithm            AlgorithmIdentifier,
       *   subjectPublicKey     BIT STRING
       * }
       * ```
       */
      internal val subjectPublicKeyInfo: BasicDerAdapter<SubjectPublicKeyInfo> =
        Adapters.sequence(
          "SubjectPublicKeyInfo",
          algorithmIdentifier,
          Adapters.BIT_STRING,
          decompose = {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

            keySize = 2048
          }
    
        fun build(): HeldCertificate {
          // Subject keys & identity.
          val subjectKeyPair = keyPair ?: generateKeyPair()
          val subjectPublicKeyInfo =
            CertificateAdapters.subjectPublicKeyInfo.fromDer(
              subjectKeyPair.public.encoded.toByteString(),
            )
          val subject: List<List<AttributeTypeAndValue>> = subject()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 21.6K bytes
    - Click Count (0)
Back to Top