- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for oids (0.15 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/kubeapiserver/options/authentication_test.go
}, }, { name: "groups claim exists", args: []string{ "--oidc-issuer-url=https://testIssuerURL", "--oidc-client-id=testClientID", "--oidc-username-claim=sub", "--oidc-username-prefix=-", "--oidc-groups-claim=groups", "--oidc-groups-prefix=oidc:", "--oidc-signing-algs=RS256", "--oidc-required-claim=foo=bar", }, expectConfig: kubeauthenticator.Config{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 36.5K bytes - Viewed (0)