Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestS3ParseMetadata (0.13 sec)

  1. internal/crypto/metadata_test.go

    		},
    		DataKey: make([]byte, 48), KeyID: "key-1", SealedKey: SealedKey{Algorithm: SealAlgorithm, Key: [64]byte{1}, IV: [32]byte{1}},
    	}, // 10
    }
    
    func TestS3ParseMetadata(t *testing.T) {
    	for i, test := range s3ParseMetadataTests {
    		keyID, dataKey, sealedKey, err := S3.ParseMetadata(test.Metadata)
    		if err != nil && test.ExpectedErr == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top