Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SignatureAlgorithm (0.19 sec)

  1. internal/config/certsinfo.go

    func CertificateText(cert *x509.Certificate) string {
    	var buf strings.Builder
    
    	buf.WriteString(color.Blue("\nCertificate:\n"))
    	if cert.SignatureAlgorithm != x509.UnknownSignatureAlgorithm {
    		buf.WriteString(color.Blue("%4sSignature Algorithm: ", "") + color.Bold(fmt.Sprintf("%s\n", cert.SignatureAlgorithm)))
    	}
    
    	// Issuer information
    	buf.WriteString(color.Blue("%4sIssuer: ", ""))
    	printName(cert.Issuer.Names, &buf)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go

    	// check all received non-self-signed certificates for deprecated signing algorithms
    	for _, cert := range peerCertificates {
    		if cert.SignatureAlgorithm == x509.SHA1WithRSA || cert.SignatureAlgorithm == x509.ECDSAWithSHA1 {
    			// the SHA-1 deprecation does not involve self-signed root certificates
    			if !reflect.DeepEqual(cert.Issuer, cert.Subject) {
    				return true
    			}
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  3. api/go1.15.txt

    pkg crypto/x509, type RevocationList struct, Number *big.Int
    pkg crypto/x509, type RevocationList struct, RevokedCertificates []pkix.RevokedCertificate
    pkg crypto/x509, type RevocationList struct, SignatureAlgorithm SignatureAlgorithm
    pkg crypto/x509, type RevocationList struct, ThisUpdate time.Time
    pkg database/sql, method (*DB) SetConnMaxIdleTime(time.Duration)
    pkg database/sql, method (*Row) Err() error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  4. pkg/serviceaccount/openidmetadata.go

    	}
    
    	if !jwk.IsPublic() {
    		return nil, fmt.Errorf("JWK was not a public key! JWK: %v", jwk)
    	}
    
    	return jwk, nil
    }
    
    func algorithmFromPublicKey(publicKey crypto.PublicKey) (jose.SignatureAlgorithm, error) {
    	switch pk := publicKey.(type) {
    	case *rsa.PublicKey:
    		// IMPORTANT: If this function is updated to support additional key sizes,
    		// signerFromRSAPrivateKey in serviceaccount/jwt.go must also be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    import okio.Buffer
    import okio.ByteString
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    internal data class Certificate(
      val tbsCertificate: TbsCertificate,
      val signatureAlgorithm: AlgorithmIdentifier,
      val signatureValue: BitString,
    ) {
      val commonName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. security/pkg/server/ca/authenticate/oidc_test.go

    			}
    		})
    	}
    }
    
    func generateJWT(key *jose.JSONWebKey, claims []byte) (string, error) {
    	signer, err := jose.NewSigner(jose.SigningKey{
    		Algorithm: jose.SignatureAlgorithm(key.Algorithm),
    		Key:       key,
    	}, nil)
    	if err != nil {
    		return "", fmt.Errorf("failed to create a signer: %v", err)
    	}
    	signature, err := signer.Sign(claims)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. pkg/controller/certificates/authority/authority_test.go

    				t.Fatal(err)
    			}
    
    			cert, err := x509.ParseCertificate(certDER)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			opts := cmp.Options{
    				cmpopts.IgnoreFields(x509.Certificate{},
    					"SignatureAlgorithm",
    					"PublicKeyAlgorithm",
    					"Version",
    					"MaxPathLen",
    				),
    				diff.IgnoreUnset(),
    				cmp.Transformer("RoundTime", func(x time.Time) time.Time {
    					return x.Truncate(time.Second)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  8. src/crypto/x509/root_windows.go

    	// ones we parsed. (We don't support custom curves ourselves.)
    	for i, parent := range chain[1:] {
    		if parent.PublicKeyAlgorithm != ECDSA {
    			continue
    		}
    		if err := parent.CheckSignature(chain[i].SignatureAlgorithm,
    			chain[i].RawTBSCertificate, chain[i].Signature); err != nil {
    			return nil, err
    		}
    	}
    	return chain, nil
    }
    
    // systemVerify is like Verify, except that it uses CryptoAPI calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. src/crypto/x509/pkix/pkix.go

    // signature.
    //
    // Deprecated: x509.RevocationList should be used instead.
    type CertificateList struct {
    	TBSCertList        TBSCertificateList
    	SignatureAlgorithm AlgorithmIdentifier
    	SignatureValue     asn1.BitString
    }
    
    // HasExpired reports whether certList should have been updated by now.
    func (certList *CertificateList) HasExpired(now time.Time) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top