- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for IsEncrypted (0.08 seconds)
-
internal/crypto/metadata.go
return true } return false } // IsEncrypted returns true if the object metadata indicates // that it was uploaded using some form of server-side-encryption. // // IsEncrypted only checks whether the metadata contains at least // one entry indicating SSE-C or SSE-S3. func IsEncrypted(metadata map[string]string) (Type, bool) { if S3KMS.IsEncrypted(metadata) { return S3KMS, true }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 10 17:40:33 GMT 2024 - 6.4K bytes - Click Count (0) -
internal/crypto/sse-c.go
return true } if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKeyMD5]; ok { return true } return false } // IsEncrypted returns true if the metadata contains an SSE-C // entry indicating that the object has been encrypted using // SSE-C. func (ssec) IsEncrypted(metadata map[string]string) bool { if _, ok := metadata[MetaSealedKeySSEC]; ok { return true } return false }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/crypto/sse-s3.go
if h.Get(xhttp.AmzServerSideEncryption) != xhttp.AmzEncryptionAES { return ErrInvalidEncryptionMethod } return nil } // IsEncrypted returns true if the object metadata indicates // that the object was uploaded using SSE-S3. func (sses3) IsEncrypted(metadata map[string]string) bool { if _, ok := metadata[MetaSealedKeyS3]; ok { return true } return false }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 7.6K bytes - Click Count (0) -
internal/crypto/sse-kms.go
if spaces { return "", nil, ErrInvalidEncryptionKeyID } return strings.TrimPrefix(keyID, ARNPrefix), ctx, nil } // IsEncrypted returns true if the object metadata indicates // that the object was uploaded using SSE-KMS. func (ssekms) IsEncrypted(metadata map[string]string) bool { if _, ok := metadata[MetaSealedKeyKMS]; ok { return true } return false }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
internal/crypto/sse.go
InsecureSealAlgorithm = "DARE-SHA256" ) // Type represents an AWS SSE type: // - SSE-C // - SSE-S3 // - SSE-KMS type Type interface { fmt.Stringer IsRequested(http.Header) bool IsEncrypted(map[string]string) bool } // IsRequested returns true and the SSE Type if the HTTP headers // indicate that some form server-side encryption is requested. //Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.3K bytes - Click Count (0)