Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setType (0.16 sec)

  1. cmd/auth-handler.go

    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    		return doesSignatureMatch(sha256sum, r, region, stype)
    	case isRequestPresignedSignatureV4(r):
    		return doesPresignedSignatureMatch(sha256sum, r, region, stype)
    	default:
    		return ErrAccessDenied
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    const (
    	noneType  CompressionType = "none"
    	gzipType  CompressionType = "GZIP"
    	bzip2Type CompressionType = "BZIP2"
    
    	zstdType   CompressionType = "ZSTD"
    	lz4Type    CompressionType = "LZ4"
    	s2Type     CompressionType = "S2"
    	snappyType CompressionType = "SNAPPY"
    )
    
    const (
    	maxRecordSize = 1 << 20 // 1 MiB
    )
    
    var parquetSupport bool
    
    func init() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    }
    
    // getSigningKey hmac seed to calculate final signature.
    func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte {
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top