Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/kms/kms.go

    	})
    	if err != nil {
    		if errors.Is(err, kms.ErrKeyNotFound) {
    			return nil, ErrKeyNotFound
    		}
    		if errors.Is(err, kms.ErrPermission) {
    			return nil, ErrPermission
    		}
    		return nil, errDecryptionFailed(err)
    	}
    	return resp.Plaintext, nil
    }
    
    // MAC generates the checksum of the given req.Message using the key
    // with the req.Name at the KMS.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top