Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 179 for x509 (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/registry/certificates/certificates/storage/metrics_test.go

    	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()
    	tmpl := &x509.Certificate{Subject: pkix.Name{CommonName: "panda"}, SerialNumber: big.NewInt(1234), NotBefore: now, NotAfter: now.Add(duration)}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. security/pkg/server/ca/server_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ca
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"fmt"
    	"net"
    	"strings"
    	"testing"
    	"time"
    
    	"google.golang.org/grpc/codes"
    	"google.golang.org/grpc/credentials"
    	"google.golang.org/grpc/metadata"
    	"google.golang.org/grpc/peer"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/crypto/tls/handshake_server.go

    	}
    
    	if c.config.ClientAuth >= VerifyClientCertIfGiven && len(certs) > 0 {
    		opts := x509.VerifyOptions{
    			Roots:         c.config.ClientCAs,
    			CurrentTime:   c.config.time(),
    			Intermediates: x509.NewCertPool(),
    			KeyUsages:     []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
    		}
    
    		for _, cert := range certs[1:] {
    			opts.Intermediates.AddCert(cert)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. docs/debugging/inspect/main.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bufio"
    	crand "crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"encoding/json"
    	"encoding/pem"
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/klauspost/filepathx"
    )
    
    var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/certcontroller.go

    	if err != nil {
    		return fmt.Errorf("istiod loading x509 key pairs failed: %v", err)
    	}
    	for _, c := range keyPair.Certificate {
    		x509Cert, err := x509.ParseCertificates(c)
    		if err != nil {
    			// This can rarely happen, just in case.
    			return fmt.Errorf("x509 cert - ParseCertificates() error: %v", err)
    		}
    		for _, c := range x509Cert {
    			log.Infof("x509 cert - Issuer: %q, Subject: %q, SN: %x, NotBefore: %q, NotAfter: %q",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top