Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CheckSignature (0.22 sec)

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

              ),
          )
        assertThat(okHttpCertificateWithBadSignature.checkSignature(root.keyPair.public)).isFalse()
    
        // Wrong public key.
        assertThat(okHttpCertificate.checkSignature(certificate.keyPair.public)).isFalse()
      }
    
      @Test
      fun `EC issuer and signature`() {
        val root =
          HeldCertificate.Builder()
    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/Certificate.kt

            it.id == ObjectIdentifiers.BASIC_CONSTRAINTS
          }
        }
    
      /** Returns true if the certificate was signed by [issuer]. */
      @Throws(SignatureException::class)
      fun checkSignature(issuer: PublicKey): Boolean {
        val signedData = CertificateAdapters.tbsCertificate.toDer(tbsCertificate)
    
        return Signature.getInstance(tbsCertificate.signatureAlgorithmName).run {
          initVerify(issuer)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg crypto/tls, type ConnectionState struct, OCSPResponse []uint8
    pkg crypto/tls, type ConnectionState struct, SignedCertificateTimestamps [][]uint8
    pkg crypto/x509, method (*CertificateRequest) CheckSignature() error
    pkg crypto/x509, type Certificate struct, UnhandledCriticalExtensions []asn1.ObjectIdentifier
    pkg crypto/x509/pkix, type Name struct, ExtraNames []AttributeTypeAndValue
    pkg database/sql, method (*DB) Stats() DBStats
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg crypto/x509, method (*CertPool) Subjects() [][]uint8
    pkg crypto/x509, method (*Certificate) CheckCRLSignature(*pkix.CertificateList) error
    pkg crypto/x509, method (*Certificate) CheckSignature(SignatureAlgorithm, []uint8, []uint8) error
    pkg crypto/x509, method (*Certificate) CheckSignatureFrom(*Certificate) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top