Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 415 for publicKey (0.29 sec)

  1. src/crypto/tls/common.go

    				return errors.New("client doesn't support certificate curve")
    			}
    			ecdsaCipherSuite = true
    		case ed25519.PublicKey:
    			if vers < VersionTLS12 || len(chi.SignatureSchemes) == 0 {
    				return errors.New("connection doesn't support Ed25519")
    			}
    			ecdsaCipherSuite = true
    		case *rsa.PublicKey:
    		default:
    			return supportsRSAFallback(unsupportedCertificateError(c))
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/certs/util.go

    		case *x509.Certificate:
    			if err := certutil.WriteCert(filepath.Join(dir, filename), pkiutil.EncodeCertPEM(body)); err != nil {
    				t.Errorf("unable to write certificate to file %q: [%v]", dir, err)
    			}
    		case *rsa.PublicKey:
    			publicKeyBytes, err := pkiutil.EncodePublicKeyPEM(body)
    			if err != nil {
    				t.Errorf("unable to write public key to file %q: [%v]", filename, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. pkg/registry/certificates/certificates/storage/metrics_test.go

    			}
    		})
    	}
    }
    
    func createCert(t *testing.T, duration time.Duration, caPrivateKey *ecdsa.PrivateKey, caCert *x509.Certificate) []byte {
    	t.Helper()
    
    	crPublicKey := &caPrivateKey.PublicKey // this is supposed to be public key of the signee but it does not matter for this test
    
    	now := time.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    			optsCopy.Intermediates.AddCert(intermediate)
    		}
    	}
    
    	/*
    			kubernetes mutual (2-way) x509 between client and apiserver:
    
    				1. apiserver sending its apiserver certificate along with its publickey to client
    				2. client verifies the apiserver certificate sent against its cluster certificate authority data
    				3. client sending its client certificate along with its public key to the apiserver
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. api/go1.4.txt

    pkg crypto, type Signer interface { Public, Sign }
    pkg crypto, type Signer interface, Public() PublicKey
    pkg crypto, type Signer interface, Sign(io.Reader, []uint8, SignerOpts) ([]uint8, error)
    pkg crypto, type SignerOpts interface { HashFunc }
    pkg crypto, type SignerOpts interface, HashFunc() Hash
    pkg crypto/ecdsa, method (*PrivateKey) Public() crypto.PublicKey
    pkg crypto/ecdsa, method (*PrivateKey) Sign(io.Reader, []uint8, crypto.SignerOpts) ([]uint8, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  6. cluster/images/etcd/migrate/integration_test.go

    	template.IPAddresses = append(template.IPAddresses, alternateIPs...)
    	template.DNSNames = append(template.DNSNames, alternateDNS...)
    
    	derBytes, err := x509.CreateCertificate(cryptorand.Reader, &template, &template, &priv.PublicKey, priv)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	// Generate cert
    	certBuffer := bytes.Buffer{}
    	if err := pem.Encode(&certBuffer, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		return
    	}
    
    	var publicKey *rsa.PublicKey
    
    	publicKeyB64 := r.Form.Get("public-key")
    	if publicKeyB64 != "" {
    		publicKeyBytes, err := base64.StdEncoding.DecodeString(publicKeyB64)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		publicKey, err = bytesToPublicKey(publicKeyBytes)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. src/encoding/asn1/asn1_test.go

    			RelativeDistinguishedNameSET{AttributeTypeAndValue{Type: ObjectIdentifier{1, 2, 840, 113549, 1, 9, 1}, Value: "******@****.***"}},
    		},
    		PublicKey: PublicKeyInfo{
    			Algorithm: AlgorithmIdentifier{Algorithm: ObjectIdentifier{1, 2, 840, 113549, 1, 1, 1}},
    			PublicKey: BitString{
    				Bytes: []uint8{
    					0x30, 0x48, 0x2, 0x41, 0x0, 0xcd, 0xb7,
    					0x63, 0x9c, 0x32, 0x78, 0xf0, 0x6, 0xaa, 0x27, 0x7f, 0x6e, 0xaf, 0x42,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(PublicKey).Params", Method, 0},
    		{"(PublicKey).ScalarBaseMult", Method, 0},
    		{"(PublicKey).ScalarMult", Method, 0},
    		{"GenerateKey", Func, 0},
    		{"PrivateKey", Type, 0},
    		{"PrivateKey.D", Field, 0},
    		{"PrivateKey.PublicKey", Field, 0},
    		{"PublicKey", Type, 0},
    		{"PublicKey.Curve", Field, 0},
    		{"PublicKey.X", Field, 0},
    		{"PublicKey.Y", Field, 0},
    		{"Sign", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	}
    }
    
    func getPublicKeySizeInBits(keyPem []byte) int {
    	privateKey, _ := util.ParsePemEncodedKey(keyPem)
    	k := privateKey.(*rsa.PrivateKey)
    	return k.PublicKey.Size() * 8
    }
    
    // TestKeyCertBundleReloadInRootCertRotatorForSigningCitadel verifies that
    // rotator reloads root cert into KeyCertBundle if the root cert in key cert bundle is
    // different from istio-ca-secret.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
Back to top