Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for signature (0.23 sec)

  1. cmd/api-router.go

    		Queries("events", "{events:.*}")
    
    	// ListBuckets
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// S3 browser with signature v4 adds '//' for ListBuckets request, so rather
    	// than failing with UnknownAPIRequest we simply handle it for now.
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt.go

    func (r *Config) PopulatePublicKey(arn arn.ARN) error {
    	pCfg := r.arnProviderCfgsMap[arn]
    	if pCfg.JWKS.URL == nil || pCfg.JWKS.URL.String() == "" {
    		return nil
    	}
    
    	// Add client secret for the client ID for HMAC based signature.
    	r.pubKeys.add(pCfg.ClientID, []byte(pCfg.ClientSecret))
    
    	client := &http.Client{
    		Transport: r.transport,
    	}
    
    	resp, err := client.Get(pCfg.JWKS.URL.String())
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  3. internal/rest/client.go

    func (c *Client) dumpHTTP(req *http.Request, resp *http.Response) {
    	// Starts http dump.
    	_, err := fmt.Fprintln(c.TraceOutput, "---------START-HTTP---------")
    	if err != nil {
    		return
    	}
    
    	// Filter out Signature field from Authorization header.
    	origAuth := req.Header.Get("Authorization")
    	if origAuth != "" {
    		req.Header.Set("Authorization", "**REDACTED**")
    	}
    
    	// Only display request header.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1.go

    		VersionID:   m.VersionID,
    		DataDir:     m.DataDir,
    		XLV1:        true,
    		NumVersions: 1,
    	}
    
    	return fi, nil
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (m *xlMetaV1Object) Signature() [4]byte {
    	// Shallow copy
    	c := *m
    	// Zero unimportant fields
    	c.Erasure.Index = 0
    	c.Minio.Release = ""
    	crc := hashDeterministicString(c.Meta)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	sig := f.Type().(*types.Signature)
    	if sig.Recv() != nil {
    		panic("method considered a regular function: " + f.String())
    	}
    	if w.isDeprecated(f) {
    		w.emitf("func %s //deprecated", f.Name())
    	}
    	w.emitf("func %s%s", f.Name(), w.signatureString(sig))
    }
    
    func (w *Walker) emitMethod(m *types.Selection) {
    	sig := m.Type().(*types.Signature)
    	recv := sig.Recv().Type()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. cmd/metacache-entries_test.go

    					VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(30 * time.Minute).UnixNano(),
    					Signature: [4]byte{1, 1, 1, 1},
    					Type:      ObjectType,
    					Flags:     0,
    				}},
    			},
    		},
    		// Mismatches Modtime+Signature and older...
    		1: {
    			versions: []xlMetaV2ShallowVersion{
    				{header: xlMetaV2VersionHeader{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  7. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2-legacy.go

    		return
    	}
    	z.ModTime, bts, err = msgp.ReadInt64Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (z.Signature)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "Signature")
    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Type")
    			return
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. cmd/globals.go

    	// can reach that size according to https://aws.amazon.com/articles/1434
    	maxFormFieldSize = int64(1 * humanize.MiByte)
    
    	// The maximum allowed time difference between the incoming request
    	// date and server date during signature verification.
    	globalMaxSkewTime = 15 * time.Minute // 15 minutes skew allowed.
    
    	// GlobalStaleUploadsExpiry - Expiry duration after which the uploads in multipart,
    	// tmp directory are deemed stale.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    }
    
    // signatureErr is a signature returned when an error occurs.
    var signatureErr = [4]byte{'e', 'r', 'r', 0}
    
    // getSignature will return a signature that is expected to be the same across all disks.
    func (j xlMetaV2Version) getSignature() [4]byte {
    	switch j.Type {
    	case ObjectType:
    		return j.ObjectV2.Signature()
    	case DeleteType:
    		return j.DeleteMarker.Signature()
    	case LegacyType:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top