Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for qsig (0.21 sec)

  1. internal/config/identity/openid/jwks_test.go

    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"encoding/json"
    	"testing"
    )
    
    func TestAzurePublicKey(t *testing.T) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 9.8K bytes
    - Viewed (0)
  2. cmd/notification.go

    func (sys *NotificationSys) SignalService(sig serviceSignal) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    		ng.Go(GlobalContext, func() error {
    			// force == true preserves the current behavior
    			return client.SignalService(sig, "", false)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    	return ErrNone
    }
    
    // doesSignatureMatch - Verify authorization header with calculated header in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
    //
    // returns ErrNone if signature matches.
    func doesSignatureMatch(hashedPayload string, r *http.Request, region string, stype serviceType) APIErrorCode {
    	// Copy request.
    	req := *r
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    	}
    	defer xhttp.DrainBody(respBody)
    	return nil
    }
    
    // SignalService - sends signal to peer nodes.
    func (client *peerRESTClient) SignalService(sig serviceSignal, subSys string, dryRun bool) error {
    	values := grid.NewMSS()
    	values.Set(peerRESTSignal, strconv.Itoa(int(sig)))
    	values.Set(peerRESTDryRun, strconv.FormatBool(dryRun))
    	values.Set(peerRESTSubSys, subSys)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "sig":
    			z.Signature, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "Signature")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 125.6K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    		valueBuffer.Write([]byte{'\n'})
    	}
    	sig = sig[len("x-amz-trailer-signature:"):]
    	sig = bytes.TrimSpace(sig)
    	cr.chunkSHA256Writer.Write(valueBuffer.Bytes())
    	wantSig := cr.getTrailerChunkSignature()
    	if !compareSignatureV4(string(sig), wantSig) {
    		if cr.debug {
    			fmt.Printf("signature, want: %q, got %q\nSignature buffer: %q\n", wantSig, string(sig), valueBuffer.String())
    		}
    		return errSignatureMismatch
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    //
    // CanonicalizedProtocolHeaders = <described below>
    
    // doesSignV2Match - Verify authorization header with calculated header in accordance with
    //     - http://docs.aws.amazon.com/AmazonS3/latest/dev/auth-request-sig-v2.html
    // returns true if matches, false otherwise. if error is not nil then it is always false
    
    func validateV2AuthHeader(r *http.Request) (auth.Credentials, APIErrorCode) {
    	var cred auth.Credentials
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    	Volume   string `msg:"v"`
    	FilePath string `msg:"fp"`
    	Buf      []byte `msg:"b"`
    }
    
    // RenameDataResp - RenameData()'s response.
    type RenameDataResp struct {
    	Signature uint64 `msg:"sig"`
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string
    }
    
    // ListDirResult - ListDir()'s response.
    type ListDirResult struct {
    	Entries []string `msg:"e"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:41:27 GMT 2024
    - 14.8K bytes
    - Viewed (0)
Back to top