Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for san1 (0.08 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go

    					Addresses: []string{"1.2.3.4"},
    					Hosts:     []string{"a.example.com", "b.example.com"},
    					Ports: []*networking.ServicePort{{
    						Number: 80,
    						Name:   "http",
    					}},
    					SubjectAltNames: []string{"san1"},
    					Resolution:      networking.ServiceEntry_DNS,
    				},
    			},
    			result: []*workloadapi.Service{
    				{
    					Name:      "name",
    					Namespace: "ns",
    					Hostname:  "a.example.com",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    package cryptobyte
    
    import (
    	encoding_asn1 "encoding/asn1"
    	"fmt"
    	"math/big"
    	"reflect"
    	"time"
    
    	"golang.org/x/crypto/cryptobyte/asn1"
    )
    
    // This file contains ASN.1-related methods for String and Builder.
    
    // Builder
    
    // AddASN1Int64 appends a DER-encoded ASN.1 INTEGER.
    func (b *Builder) AddASN1Int64(v int64) {
    	b.addASN1Signed(asn1.INTEGER, v)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/cryptobyte/asn1/asn1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package asn1 contains supporting types for parsing and building ASN.1
    // messages with the cryptobyte package.
    package asn1 // import "golang.org/x/crypto/cryptobyte/asn1"
    
    // Tag represents an ASN.1 identifier octet, consisting of a tag number
    // (indicating a type) and class (such as context-specific or constructed).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 20:28:54 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  4. security/pkg/pki/util/san.go

    		return nil, fmt.Errorf("the input is not a SAN extension")
    	}
    
    	var sequence asn1.RawValue
    	if rest, err := asn1.Unmarshal(sanExt.Value, &sequence); err != nil {
    		return nil, err
    	} else if len(rest) != 0 {
    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	// Check the rawValue is a sequence.
    	if !sequence.IsCompound || sequence.Tag != asn1.TagSequence || sequence.Class != asn1.ClassUniversal {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  5. src/encoding/asn1/asn1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package asn1 implements parsing of DER-encoded ASN.1 data structures,
    // as defined in ITU-T Rec X.690.
    //
    // See also “A Layman's Guide to a Subset of ASN.1, BER, and DER,”
    // http://luca.ntop.org/Teaching/Appunti/asn1.html.
    package asn1
    
    // ASN.1 is a syntax for specifying abstract objects and BER, DER, PER, XER etc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  6. security/pkg/pki/util/san_test.go

    			expectedIDs:    nil,
    			expectedErrMsg: "the SAN extension does not exist",
    		},
    		"Extensions without SAN": {
    			exts: []pkix.Extension{
    				{Id: asn1.ObjectIdentifier{1, 2, 3, 4}},
    				{Id: asn1.ObjectIdentifier{3, 2, 1}},
    			},
    			expectedIDs:    nil,
    			expectedErrMsg: "the SAN extension does not exist",
    		},
    		"Extensions with bad SAN": {
    			exts: []pkix.Extension{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/crypto/x509/name_constraints_test.go

    				{},
    			},
    		},
    		leaf: leafSpec{
    			sans: []string{"dns:example.com"},
    			ekus: []string{"msSGC"},
    		},
    		requestedEKUs: []ExtKeyUsage{ExtKeyUsageServerAuth},
    		expectedError: "incompatible key usage",
    	},
    
    	// An invalid DNS SAN should be detected only at validation time so
    	// that we can process CA certificates in the wild that have invalid SANs.
    	// See https://github.com/golang/go/issues/23995
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. pkg/test/cert/ca/intermediate.go

    subjectAltName=@san
    [ san ]
    DNS.1 = istiod.{{ .SystemNamespace }}
    DNS.2 = istiod.{{ .SystemNamespace }}.svc
    DNS.3 = istio-pilot.{{ .SystemNamespace }}
    DNS.4 = istio-pilot.{{ .SystemNamespace }}.svc
    [ req_dn ]
    O = Istio
    CN = Intermediate CA
    `
    )
    
    // NewIstioConfig creates an extensions configuration for Istio, using the given system namespace in
    // the DNS SANs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/init/certs.go

    	sans := []string{}
    
    	for _, dnsName := range certConfig.AltNames.DNSNames {
    		if dnsName != "" {
    			sans = append(sans, dnsName)
    		}
    	}
    
    	for _, ip := range certConfig.AltNames.IPs {
    		sans = append(sans, ip.String())
    	}
    	return fmt.Sprintf("\n\nDefault SANs are %s", strings.Join(sans, ", "))
    }
    
    func runCertsSa(c workflow.RunData) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_tls_test.go

    							},
    						},
    					},
    					Sni: "some-sni.com",
    				},
    				err: nil,
    			},
    		},
    		{
    			name: "tls mode SIMPLE, with SANs specified in service entries",
    			opts: &buildClusterOpts{
    				mutable:         newTestCluster(),
    				serviceAccounts: []string{"se-san.com"},
    				serviceRegistry: provider.External,
    			},
    			tls: &networking.ClientTLSSettings{
    				Mode:           networking.ClientTLSSettings_SIMPLE,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top