Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unsealObjectKey (0.09 sec)

  1. cmd/encryption-v1.go

    			return nil, errKMSNotConfigured
    		}
    		objectKey, err := crypto.S3.UnsealObjectKey(GlobalKMS, metadata, bucket, object)
    		if err != nil {
    			return nil, err
    		}
    		return objectKey[:], nil
    	case crypto.S3KMS:
    		if GlobalKMS == nil {
    			return nil, errKMSNotConfigured
    		}
    		objectKey, err := crypto.S3KMS.UnsealObjectKey(GlobalKMS, metadata, bucket, object)
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    		}
    	case crypto.SSEC:
    		// Validate the SSE-C Key set in the header.
    		if _, err = crypto.SSEC.UnsealObjectKey(r.Header, objInfo.UserDefined, bucket, object); err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top