Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsSourceEncrypted (0.1 sec)

  1. internal/crypto/metadata.go

    	delete(metadata, MetaSealedKeyKMS)
    	delete(metadata, MetaKeyID)
    	delete(metadata, MetaDataEncryptionKey)
    	delete(metadata, MetaSsecCRC)
    }
    
    // IsSourceEncrypted returns true if the source is encrypted
    func IsSourceEncrypted(metadata map[string]string) bool {
    	if _, ok := metadata[xhttp.AmzServerSideEncryptionCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := metadata[xhttp.AmzServerSideEncryption]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top