Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sseKMS (0.05 sec)

  1. cmd/batch-rotate.go

    func (e BatchJobKeyRotateEncryption) Validate() error {
    	if e.Type != sses3 && e.Type != ssekms {
    		return errInvalidArgument
    	}
    	spaces := strings.HasPrefix(e.Key, " ") || strings.HasSuffix(e.Key, " ")
    	if e.Type == ssekms && spaces {
    		return crypto.ErrInvalidEncryptionKeyID
    	}
    
    	if e.Type == ssekms && GlobalKMS != nil {
    		ctx := kms.Context{}
    		if e.Context != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    		keyID, context, err := crypto.S3KMS.ParseHTTP(hdr)
    		if err != nil {
    			return ObjectOptions{}, err
    		}
    		sseKms, err := encrypt.NewSSEKMS(keyID, context)
    		if err != nil {
    			return ObjectOptions{}, err
    		}
    		return ObjectOptions{
    			ServerSideEncryption: sseKms,
    			UserDefined:          metadata,
    			MTime:                mtime,
    			WantChecksum:         wantCRC,
    			PreserveETag:         etag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top