- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for Larsen (0.19 sec)
-
cmd/signature-v4-parser.go
} // preSignValues data type represents structured form of AWS Signature V4 query string. type preSignValues struct { signValues Date time.Time Expires time.Duration } // Parses signature version '4' query string of the following form. // // querystring = X-Amz-Algorithm=algorithm // querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope) // querystring += &X-Amz-Date=date
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.4K bytes - Viewed (0) -
internal/jwt/parser_test.go
package jwt // This file is a re-implementation of the original code here with some // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1 // original file https://github.com/golang-jwt/jwt/blob/main/parser.go // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE import ( "fmt" "testing" "time" "github.com/golang-jwt/jwt/v4" ) var (
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Nov 05 19:20:08 GMT 2021 - 6K bytes - Viewed (0) -
internal/jwt/parser.go
package jwt // This file is a re-implementation of the original code here with some // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1 // original file https://github.com/golang-jwt/jwt/blob/main/parser.go // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE import ( "bytes" "crypto" "crypto/hmac" "encoding/base64" "errors" "fmt" "hash" "sync" "time"
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue May 09 07:53:08 GMT 2023 - 13.9K bytes - Viewed (0) -
internal/kms/single-key.go
"github.com/minio/kms-go/kes" "github.com/minio/minio/internal/hash/sha256" ) // Parse parses s as single-key KMS. The given string // is expected to have the following format: // // <key-id>:<base64-key> // // The returned KMS implementation uses the parsed // key ID and key to derive new DEKs and decrypt ciphertext. func Parse(s string) (KMS, error) { v := strings.SplitN(s, ":", 2) if len(v) != 2 {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
docs/sts/web-identity.go
buf.WriteByte('?') } buf.WriteString(v.Encode()) return buf.String() } func main() { flag.Parse() if clientID == "" { flag.PrintDefaults() return } ddoc, err := parseDiscoveryDoc(configEndpoint) if err != nil { log.Println(fmt.Errorf("Failed to parse OIDC discovery document %s", err)) fmt.Println(err) return } scopes := ddoc.ScopesSupported
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Viewed (3) -
internal/crypto/sse-kms.go
// Return only true if the SSE header is specified and does not contain the SSE-S3 value return strings.ToUpper(h.Get(xhttp.AmzServerSideEncryption)) != xhttp.AmzEncryptionAES } return false } // ParseHTTP parses the SSE-KMS headers and returns the SSE-KMS key ID // and the KMS context on success. func (ssekms) ParseHTTP(h http.Header) (string, kms.Context, error) { if h == nil { return "", nil, ErrInvalidEncryptionMethod }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 8.4K bytes - Viewed (0) -
cmd/encryption-v1.go
k, err := crypto.SSECopy.ParseHTTP(h) return k[:], err } // ParseSSECustomerRequest parses the SSE-C header fields of the provided request. // It returns the client provided key on success. func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) { return ParseSSECustomerHeader(r.Header) } // ParseSSECustomerHeader parses the SSE-C header fields and returns // the client provided key on success.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 36.5K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
return true } return false // in progress or completed but expired } // parseRestoreObjStatus parses restoreHdr from AmzRestore header. If the value is valid it returns a // restoreObjStatus value with the status and expiry (if any). Otherwise returns // the empty value and an error indicating the parse failure. func parseRestoreObjStatus(restoreHdr string) (restoreObjStatus, error) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Apr 17 05:09:58 GMT 2024 - 33.1K bytes - Viewed (0) -
docs/debugging/inspect/main.go
// convert CRLF to LF *keyHex = strings.ReplaceAll(text, "\n", "") *keyHex = strings.TrimSpace(*keyHex) } } var inputFileName, outputFileName string // Parse parameters switch { case *stdin: // Parse 'mc support inspect --json' output input := struct { File string `json:"file"` Key string `json:"key"` }{} got, err := io.ReadAll(os.Stdin) if err != nil { fatalErr(err)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
if dateStr = req.Header.Get("x-amz-date"); dateStr == "" { if dateStr = r.Header.Get("Date"); dateStr == "" { return cred, "", "", time.Time{}, ErrMissingDateHeader } } // Parse date header. var err error date, err = time.Parse(iso8601Format, dateStr) if err != nil { return cred, "", "", time.Time{}, ErrMalformedDate } // Query string. queryStr := req.Form.Encode() // Get canonical request.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 18.2K bytes - Viewed (0)