Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toX509Certificate (0.12 sec)

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

        return Signature.getInstance(tbsCertificate.signatureAlgorithmName).run {
          initVerify(issuer)
          update(signedData.toByteArray())
          verify(signatureValue.byteString.toByteArray())
        }
      }
    
      fun toX509Certificate(): X509Certificate {
        val data = CertificateAdapters.certificate.toDer(this)
        try {
          val certificateFactory = CertificateFactory.getInstance("X.509")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              signatureValue =
                BitString(
                  byteString = signature,
                  unusedBitsCount = 0,
                ),
            )
    
          return HeldCertificate(subjectKeyPair, certificate.toX509Certificate())
        }
    
        private fun subject(): List<List<AttributeTypeAndValue>> {
          val result = mutableListOf<List<AttributeTypeAndValue>>()
    
          if (organizationalUnit != null) {
            result +=
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top