Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 111 for x509 (0.05 sec)

  1. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    func writeTestKubeconfig(t *testing.T, dir, name string, caCert *x509.Certificate, caKey crypto.Signer, notBefore, notAfter time.Time) *x509.Certificate {
    
    	cfg := &pkiutil.CertConfig{
    		Config: certutil.Config{
    			CommonName:   "test-common-name",
    			Organization: testCertOrganization,
    			Usages:       []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
    			AltNames: certutil.AltNames{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. doc/godebug.md

    Go 1.23 changed the behavior of
    [crypto/x509.ParseCertificate](/pkg/crypto/x509/#ParseCertificate) to reject
    serial numbers that are negative. This change can be reverted with
    the [`x509negativeserial` setting](/pkg/crypto/x509/#ParseCertificate).
    
    Go 1.23 changed the behavior of
    [crypto/x509.ParseCertificate](/pkg/crypto/x509/#ParseCertificate) to reject
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/kubelet.go

    	if kc.config.Authentication.X509.ClientCAFile == "" {
    		kc.config.Authentication.X509.ClientCAFile = clientCAFile
    	} else if kc.config.Authentication.X509.ClientCAFile != clientCAFile {
    		warnDefaultComponentConfigValue(kind, "authentication.x509.clientCAFile", clientCAFile, kc.config.Authentication.X509.ClientCAFile)
    	}
    
    	if kc.config.Authentication.Anonymous.Enabled == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/crypto/tls/key_agreement.go

    	// This method may not be called if the server doesn't send a
    	// ServerKeyExchange message.
    	processServerKeyExchange(*Config, *clientHelloMsg, *serverHelloMsg, *x509.Certificate, *serverKeyExchangeMsg) error
    	generateClientKeyExchange(*Config, *clientHelloMsg, *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error)
    }
    
    var errClientKeyExchange = errors.New("tls: invalid ClientKeyExchange message")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. security/pkg/pki/util/crypto_test.go

    		errMsg        string
    		pem           string
    		publicKeyAlgo x509.PublicKeyAlgorithm
    	}{
    		"Invalid PEM string": {
    			errMsg: "invalid PEM encoded certificate",
    			pem:    "invalid pem string",
    		},
    		"Invalid certificate string": {
    			errMsg: "failed to parse X.509 certificate",
    			pem:    keyECDSA,
    		},
    		"Parse RSA certificate": {
    			publicKeyAlgo: x509.RSA,
    			pem:           certRSA,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. pkg/kubelet/certificate/kubelet.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package certificate
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"fmt"
    	"math"
    	"net"
    	"sort"
    	"sync/atomic"
    	"time"
    
    	certificates "k8s.io/api/certificates/v1"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	*/
    
    	if len(serverCertFile) != 0 || len(serverKeyFile) != 0 {
    		var err error
    		c.Cert, err = dynamiccertificates.NewDynamicServingContentFromFiles("serving-cert", serverCertFile, serverKeyFile)
    		if err != nil {
    			return err
    		}
    	} else if s.ServerCert.GeneratedCert != nil {
    		c.Cert = s.ServerCert.GeneratedCert
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. api/go1.23.txt

    pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691
    pkg crypto/x509, func ParseOID(string) (OID, error) #66249
    pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249
    pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
    pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
    pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    // We allow five minutes of slack for NotAfter comparisons
    func filterExpiredCerts(certs ...*x509.Certificate) []*x509.Certificate {
    	fiveMinutesAgo := time.Now().Add(-5 * time.Minute)
    
    	var validCerts []*x509.Certificate
    	for _, c := range certs {
    		if c.NotAfter.After(fiveMinutesAgo) {
    			validCerts = append(validCerts, c)
    		}
    	}
    
    	return validCerts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    // signed itself with RSA-PSS, mostly to check that crypto/x509 chain validation
    // works.
    func TestHandshakeClientCertRSAPSS(t *testing.T) {
    	cert, err := x509.ParseCertificate(testRSAPSSCertificate)
    	if err != nil {
    		panic(err)
    	}
    	rootCAs := x509.NewCertPool()
    	rootCAs.AddCert(cert)
    
    	config := testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top