Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSSECParse (0.05 sec)

  1. internal/crypto/header_test.go

    			"X-Amz-Server-Side-Encryption-Customer-Key-Md5":   []string{".7PpPLAK26ONlVUGOWlusfg=="}, // wrong key MD5
    		},
    		ExpectedErr: ErrCustomerKeyMD5Mismatch, // 6
    	},
    }
    
    func TestSSECParse(t *testing.T) {
    	var zeroKey [32]byte
    	for i, test := range ssecParseTests {
    		key, err := SSEC.ParseHTTP(test.Header)
    		if err != test.ExpectedErr {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top