Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseHTTP (2.4 sec)

  1. internal/crypto/sse-c.go

    func (ssec) IsEncrypted(metadata map[string]string) bool {
    	if _, ok := metadata[MetaSealedKeySSEC]; ok {
    		return true
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-C headers and returns the SSE-C client key
    // on success. SSE-C copy headers are ignored.
    func (ssec) ParseHTTP(h http.Header) (key [32]byte, err error) {
    	if h.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm) != xhttp.AmzEncryptionAES {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top