Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for oids (0.05 sec)

  1. src/crypto/x509/parser.go

    			return nil, errors.New("x509: invalid certificate policies")
    		}
    		oid, ok := newOIDFromDER(OIDBytes)
    		if !ok {
    			return nil, errors.New("x509: invalid certificate policies")
    		}
    		oids = append(oids, oid)
    	}
    	return oids, nil
    }
    
    // isValidIPMask reports whether mask consists of zero or more 1 bits, followed by zero bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. doc/godebug.md

    field, [`Policies`](/pkg/crypto/x509/#Certificate.Policies), which supports
    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    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. src/crypto/x509/oid.go

    func OIDFromInts(oid []uint64) (OID, error) {
    	if len(oid) < 2 || oid[0] > 2 || (oid[0] < 2 && oid[1] >= 40) {
    		return OID{}, errInvalidOID
    	}
    
    	length := base128IntLength(oid[0]*40 + oid[1])
    	for _, v := range oid[2:] {
    		length += base128IntLength(v)
    	}
    
    	der := make([]byte, 0, length)
    	der = appendBase128Int(der, oid[0]*40+oid[1])
    	for _, v := range oid[2:] {
    		der = appendBase128Int(der, v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/crypto/x509/x509.go

    	ext := pkix.Extension{Id: oidExtensionExtendedKeyUsage}
    
    	oids := make([]asn1.ObjectIdentifier, len(extUsages)+len(unknownUsages))
    	for i, u := range extUsages {
    		if oid, ok := oidFromExtKeyUsage(u); ok {
    			oids[i] = oid
    		} else {
    			return ext, errors.New("x509: unknown extended key usage")
    		}
    	}
    
    	copy(oids[len(extUsages):], unknownUsages)
    
    	var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    // allowlist of signing algorithms to ensure users don't mistakenly pass something goofy.
    var allowedSigningAlgs = map[string]bool{
    	oidc.RS256: true,
    	oidc.RS384: true,
    	oidc.RS512: true,
    	oidc.ES256: true,
    	oidc.ES384: true,
    	oidc.ES512: true,
    	oidc.PS256: true,
    	oidc.PS384: true,
    	oidc.PS512: true,
    }
    
    type AuthenticatorTokenWithHealthCheck interface {
    	authenticator.Token
    	HealthCheck() error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. security/pkg/server/ca/authenticate/oidc.go

    	// Based on https://pkg.go.dev/github.com/coreos/go-oidc/v3/oidc#NewRemoteKeySet
    	// the oidc library handles caching and cache invalidation. Thus, the verifier
    	// is only created once in the constructor.
    	var verifier *oidc.IDTokenVerifier
    	if len(jwksURL) == 0 {
    		// OIDC discovery is used if jwksURL is not set.
    		provider, err := oidc.NewProvider(context.Background(), issuer)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/crypto/x509/oid_test.go

    		{oid: mustNewOIDFromInts(t, []uint64{2, 33, 22}), oid2: mustNewOIDFromInts(t, []uint64{2, 33, 23}), eq: false},
    		{oid: OID{}, oid2: OID{}, eq: true},
    		{oid: OID{}, oid2: mustNewOIDFromInts(t, []uint64{2, 33, 23}), eq: false},
    	}
    
    	for _, tt := range cases {
    		if eq := tt.oid.Equal(tt.oid2); eq != tt.eq {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-oidc.sh

    fi
    
    ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json
    sleep 5
    
    # Generate STS credential with STS call to minio1
    STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go)
    
    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/crypto/x509/x509_test.go

    	block, _ := pem.Decode([]byte(certISOOID))
    	if cert, err := ParseCertificate(block.Bytes); err != nil {
    		t.Errorf("certificate with ISO OID failed to parse: %s", err)
    	} else if cert.SignatureAlgorithm == UnknownSignatureAlgorithm {
    		t.Errorf("ISO OID not recognised in certificate")
    	}
    }
    
    // certMultipleRDN contains a RelativeDistinguishedName with two elements (the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/testdata/http/extended-allow-full-rule-out.yaml

                              regex: .*/ns/.*/.*
                - orIds:
                    ids:
                    - remoteIp:
                        addressPrefix: 1.2.3.4
                        prefixLen: 32
                    - remoteIp:
                        addressPrefix: 5.6.0.0
                        prefixLen: 16
                - notId:
                    orIds:
                      ids:
                      - remoteIp:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top