Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for checkSignature (0.3 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                    }
                }
    
                tasks.register('checkSignature') {
                    doLast {
                        def signedClass = org.bouncycastle.jce.provider.BouncyCastleProvider.class
                        assert signedClass.signers != null
                    }
                }
            """
    
            when:
            succeeds 'checkSignature'
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. pkg/apis/certificates/validation/validation.go

    func validateCSR(obj *certificates.CertificateSigningRequest) error {
    	csr, err := certificates.ParseCSR(obj.Spec.Request)
    	if err != nil {
    		return err
    	}
    	// check that the signature is valid
    	return csr.CheckSignature()
    }
    
    func validateCertificate(pemData []byte) error {
    	if len(pemData) == 0 {
    		return nil
    	}
    
    	blocks := 0
    	for {
    		block, remainingData := pem.Decode(pemData)
    		if block == nil {
    			break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. security/pkg/pki/ca/ca.go

    	}
    
    	csr, err := util.ParsePemEncodedCSR(csrPEM)
    	if err != nil {
    		return nil, caerror.NewError(caerror.CSRError, err)
    	}
    
    	if err := csr.CheckSignature(); err != nil {
    		return nil, caerror.NewError(caerror.CSRError, err)
    	}
    
    	lifetime := requestedLifetime
    	// If the requested requestedLifetime is non-positive, apply the default TTL.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top